Bug 203208 - Web Inspector: REGRESSION(r251227): Uncaught Exception: undefined is not an object (evaluating 'agent.enable')
Summary: Web Inspector: REGRESSION(r251227): Uncaught Exception: undefined is not an o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on: 200384
Blocks:
  Show dependency treegraph
 
Reported: 2019-10-21 13:28 PDT by Devin Rousso
Modified: 2019-10-21 15:08 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.21 KB, patch)
2019-10-21 13:32 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>