Bug 217992

Summary: Web Inspector: REGRESSION(r266074): Uncaught Exception: undefined is not an object (evaluating 'this._allListenersBreakpoint.disabled')
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, joepeck, nvasilyev, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://devinrousso.com/demo/WebKit/test.html
Bug Depends on: 215362    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Devin Rousso 2020-10-20 15:05:00 PDT
# STEPS TO REPRODUCE
1. inspect any page
2. add any global event breakpoint
3. trigger that breakpoint

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'this._allListenersBreakpoint.disabled') (at DOMDebuggerManager.js:357:97)
    listenerBreakpointForEventName @ DOMDebuggerManager.js:357:97
    _updatePauseReasonSection @ SourcesNavigationSidebarPanel.js:1700:87
    _handleDebuggerPaused @ SourcesNavigationSidebarPanel.js:2307:36
    dispatch @ Object.js:165:30
    dispatchEventToListeners @ Object.js:172:17
    debuggerDidPause @ DebuggerManager.js:955:42
    paused @ DebuggerObserver.js:60:44
    _dispatchEvent @ Connection.js:210:26
    dispatch @ Connection.js:79:32
    dispatchMessageFromTarget @ TargetManager.js:176:39
    dispatchMessageFromTarget @ TargetObserver.js:47:51
    _dispatchEvent @ Connection.js:210:26
    dispatch @ Connection.js:79:32
    dispatch @ InspectorBackend.js:232:52
    ? @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while handling event: Debugger.paused
-----------------------

Notes:
Inspected URL:        https://devinrousso.com/demo/WebKit/test.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Dispatch Source:      Protocol Event

Protocol Event:
{"method":"Debugger.paused","params":{"callFrames":[{"callFrameId":"{\"ordinal\":0,\"injectedScriptId\":12}","functionName":"handleClick","location":{"scriptId":"21","lineNumber":20,"columnNumber":4},"scopeChain":[{"object":{"type":"object","objectId":"{\"injectedScriptId\":12,\"id\":9}","className":"JSLexicalEnvironment","description":"JSLexicalEnvironment"},"type":"closure","name":"handleClick","location":{"scriptId":"21","lineNumber":20,"columnNumber":21}},{"object":{"type":"object","objectId…
Comment 1 Devin Rousso 2020-10-20 15:08:59 PDT
Created attachment 411923 [details]
Patch
Comment 2 Nikita Vasilyev 2020-10-20 15:11:29 PDT
This is a dupe of Bug 217631 - Uncaught Exception: undefined is not an object (evaluating 'this._allListenersBreakpoint.disabled'), isn't it?
Comment 3 Nikita Vasilyev 2020-10-20 15:11:47 PDT
*** Bug 217631 has been marked as a duplicate of this bug. ***
Comment 4 EWS 2020-10-20 23:25:43 PDT
Committed r268786: <https://trac.webkit.org/changeset/268786>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411923 [details].
Comment 5 Radar WebKit Bug Importer 2020-10-20 23:26:20 PDT
<rdar://problem/70517898>