[Webkit-unassigned] [Bug 205148] New: Web Inspector: REGRESSION(r251227): Uncaught Exception: undefined is not an object (evaluating 'target.DOMAgent.setInspectModeEnabled')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 11 17:58:23 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=205148

            Bug ID: 205148
           Summary: Web Inspector: REGRESSION(r251227): Uncaught
                    Exception: undefined is not an object (evaluating
                    'target.DOMAgent.setInspectModeEnabled')
           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: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. inspect any page
2. Develop > Start Element Selection (⇧⌘C)
 => element selection doesn't turn on
3. open Web Inspector through some other method
 => uncaught exception shown
4. Develop > Start Element Selection (⇧⌘C)
 => element selection turns on as expected

I think this is a regression from r251227 because the connection to the actual `WebCore::Page` target hasn't been established yet, meaning that the `WI.mainTarget` is actually the `WI.MultiplexingBackendTarget`.

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'target.DOMAgent.setInspectModeEnabled') (at DOMManager.js:589:24)
    inspectModeEnabled @ DOMManager.js:589:24
    setElementSelectionEnabled @ InspectorFrontendAPI.js:74:22
    dispatch @ InspectorFrontendAPI.js:174:54
    loadCompleted @ InspectorFrontendAPI.js:182:42
    ? @ Main.js:533:43
    promiseReactionJob @ [native code]
-----------------------

Notes:
Inspected URL:        (unknown)
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko)

-- 
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/20191212/824114d0/attachment.htm>


More information about the webkit-unassigned mailing list