WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
194280
Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'classes.includes')
https://bugs.webkit.org/show_bug.cgi?id=194280
Summary
Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'cl...
Devin Rousso
Reported
2019-02-04 23:11:19 PST
------- Inspected URL: file:///Volumes/DATA/Build/Release/WebInspectorUI.framework/Resources/Main.html Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Dispatch Source: Protocol Event Protocol Event: {"method":"DOM.attributeRemoved","params":{"nodeId":342,"name":"class"}} Uncaught Exceptions: - undefined is not an object (evaluating 'classes.includes') (at GeneralStyleDetailsSidebarPanel.js:373:37) _populateClassToggles @ GeneralStyleDetailsSidebarPanel.js:373:37 _handleNodeAttributeRemoved @ GeneralStyleDetailsSidebarPanel.js:309:39 dispatch @ Object.js:165:30 dispatchEventToListeners @ Object.js:172:17 _attributeRemoved @ DOMManager.js:225:38 attributeRemoved @ DOMObserver.js:52:40 dispatchEvent @ InspectorBackend.js:340:42 _dispatchEvent @ Connection.js:195:32 dispatch @ Connection.js:72:32 dispatchMessageFromTarget @ TargetManager.js:101:35 dispatchMessageFromTarget @ TargetObserver.js:42:51 dispatchEvent @ InspectorBackend.js:340:42 _dispatchEvent @ Connection.js:195:32 dispatch @ Connection.js:72:32 dispatch @ InspectorBackend.js:178:52 dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34 Additional Details: cause --> An uncaught exception was thrown while handling event: DOM.attributeRemoved ------- * STEPS TO REPRODUCE 1. open inspector2 2. right click on the "class" attribute of <body> in the DOM tree 3. select Delete > Attribute
Attachments
Patch
(1.91 KB, patch)
2019-02-04 23:13 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-02-04 23:11:57 PST
<
rdar://problem/47811159
>
Devin Rousso
Comment 2
2019-02-04 23:13:57 PST
Created
attachment 361162
[details]
Patch
Matt Baker
Comment 3
2019-02-04 23:23:25 PST
Comment on
attachment 361162
[details]
Patch rs=me
WebKit Commit Bot
Comment 4
2019-02-04 23:48:16 PST
Comment on
attachment 361162
[details]
Patch Clearing flags on attachment: 361162 Committed
r240967
: <
https://trac.webkit.org/changeset/240967
>
WebKit Commit Bot
Comment 5
2019-02-04 23:48:17 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug