[Webkit-unassigned] [Bug 181912] New: Uncaught Exception: TypeError: this._textEditor.toggleUnexecutedCodeHighlights().then is not a function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 20 17:41:57 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=181912
Bug ID: 181912
Summary: Uncaught Exception: TypeError:
this._textEditor.toggleUnexecutedCodeHighlights().then
is not a function
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nvasilyev at apple.com
CC: inspector-bugzilla-changes at group.apple.com,
webkit-bug-importer at group.apple.com
-------
Inspected URL: file:///tmp/slow-console.html
Loading completed: true
Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/605.1.16+ (KHTML, like Gecko)
Uncaught Exceptions:
- TypeError: this._textEditor.toggleUnexecutedCodeHighlights().then is not a function. (In 'this._textEditor.toggleUnexecutedCodeHighlights().then(() => {
this._codeCoverageButtonNavigationItem.enabled = true;
})', 'this._textEditor.toggleUnexecutedCodeHighlights().then' is undefined) (at TextResourceContentView.js:238:63)
_toggleUnexecutedCodeHighlights @ TextResourceContentView.js:238:63
dispatch @ Object.js:170:30
dispatchEventToListeners @ Object.js:177:17
_mouseClicked @ ButtonNavigationItem.js:138:38
_mouseClicked @ [native code]
-------
* STEPS TO REPRODUCE
1. Save http://nv.github.io/webkit-inspector-bugs/slow-console/ locally so its JS can be edited in Web Inspector.
2. Open the saved HTML page using the file scheme.
3. Edit index.js (e.g. add a comment)
4. Press on the [c] icon to enable code coverage profiler.
Expected:
It's fine if [c] gets grayed out after editing a script so it can't be enabled.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180121/6850824a/attachment.html>
More information about the webkit-unassigned
mailing list