Bug 209388 - Web Inspector: Uncaught Exception: Right side of assignment cannot be destructured (at QuickConsole.js:358:30)
Summary: Web Inspector: Uncaught Exception: Right side of assignment cannot be destruc...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-21 19:48 PDT by Devin Rousso
Modified: 2020-03-22 00:43 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.83 KB, patch)
2020-03-21 19:57 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 2020-03-21 19:48:20 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. inspect any page with more than one frame or execution context
2. reload the page

Uncaught Exceptions:
-----------------------
 - Right side of assignment cannot be destructured (at QuickConsole.js:358:30)
    _handleFramePageExecutionContextChanged @ QuickConsole.js:358:30
    dispatch @ Object.js:165:30
    dispatchEventToListeners @ Object.js:180:21
    addExecutionContext @ Frame.js:231:42
    executionContextCreated @ NetworkManager.js:989:34
    executionContextCreated @ RuntimeObserver.js:32:50
    _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:219:52
    ? @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while handling event: Runtime.executionContextCreated
-----------------------

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

Protocol Event:
{"method":"Runtime.executionContextCreated","params":{"context":{"id":3,"type":"normal","name":"","frameId":"0.1"}}}
Comment 1 Devin Rousso 2020-03-21 19:57:56 PDT
Created attachment 394192 [details]
Patch
Comment 2 Joseph Pecoraro 2020-03-22 00:39:00 PDT
Comment on attachment 394192 [details]
Patch

r=me
Comment 3 EWS 2020-03-22 00:42:23 PDT
Committed r258818: <https://trac.webkit.org/changeset/258818>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 394192 [details].
Comment 4 Radar WebKit Bug Importer 2020-03-22 00:43:12 PDT
<rdar://problem/60736790>