Bug 204176 - Web Inspector: Uncaught Exception: Invalid type of argument 'eventName' for command 'DOMDebugger.setEventBreakpoint' call. It must be 'string' but it is 'object'.
Summary: Web Inspector: Uncaught Exception: Invalid type of argument 'eventName' for c...
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: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-11-13 16:06 PST by Devin Rousso
Modified: 2019-11-13 19:37 PST (History)
5 users (show)

See Also:


Attachments
Patch (6.39 KB, patch)
2019-11-13 16:34 PST, 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-11-13 16:06:48 PST
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. inspect any page
2. go to the Sources Tab
3. click the + in the Debugger section and select Event Breakpoint
4. leave the <input> empty and hit enter

Uncaught Exceptions:
-----------------------
 - Invalid type of argument 'eventName' for command 'DOMDebugger.setEventBreakpoint' call. It must be 'string' but it is 'object'. (at InspectorBackend.js:478:48)
    deliverFailure @ InspectorBackend.js:478:48
    invoke @ InspectorBackend.js:494:38
    _updateEventBreakpoint @ DOMDebuggerManager.js:701:62
    addEventBreakpoint @ DOMDebuggerManager.js:400:44
    _willDismissEventBreakpointPopover @ SourcesNavigationSidebarPanel.js:697:49
    willDismissPopover @ SourcesNavigationSidebarPanel.js:646:52
    dismiss @ Popover.js:166:45
    dismiss @ EventBreakpointPopover.js:110:22
    handleEvent @ Popover.js:176:29
-----------------------

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)
Comment 1 Devin Rousso 2019-11-13 16:34:04 PST
Created attachment 383516 [details]
Patch
Comment 2 WebKit Commit Bot 2019-11-13 19:37:00 PST
Comment on attachment 383516 [details]
Patch

Clearing flags on attachment: 383516

Committed r252447: <https://trac.webkit.org/changeset/252447>
Comment 3 WebKit Commit Bot 2019-11-13 19:37:02 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-11-13 19:37:17 PST
<rdar://problem/57178290>