Bug 203208

Summary: Web Inspector: REGRESSION(r251227): Uncaught Exception: undefined is not an object (evaluating 'agent.enable')
Product: WebKit Reporter: Devin Rousso <drousso>
Component: Web InspectorAssignee: Devin Rousso <drousso>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, drousso, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 200384    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-10-21 13:28:03 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. attempt to inspect anything that uses extra domains

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'agent.enable') (at AppController.js:84:27)
    activateExtraDomains @ AppController.js:84:27
    activateExtraDomains @ InspectorObserver.js:71:42
    _dispatchEvent @ Connection.js:195:26
    dispatch @ Connection.js:64:32
    dispatch @ InspectorBackend.js:219:52
    ? @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while handling event: Inspector.activateExtraDomains
-----------------------

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

Protocol Event:
{"method":"Inspector.activateExtraDomains","params":{"domains":["CSS","Page","Network","DOM","DOMStorage"]}}
Comment 1 Devin Rousso 2019-10-21 13:32:52 PDT
Created attachment 381440 [details]
Patch
Comment 2 Joseph Pecoraro 2019-10-21 13:33:37 PDT
Comment on attachment 381440 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2019-10-21 15:05:13 PDT
Comment on attachment 381440 [details]
Patch

Clearing flags on attachment: 381440

Committed r251386: <https://trac.webkit.org/changeset/251386>
Comment 4 WebKit Commit Bot 2019-10-21 15:05:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-10-21 15:08:12 PDT
<rdar://problem/56478513>