[Webkit-unassigned] [Bug 194280] New: Uncaught Exception: undefined is not an object (evaluating 'classes.includes')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 4 23:11:19 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194280

            Bug ID: 194280
           Summary: Uncaught Exception: undefined is not an object
                    (evaluating 'classes.includes')
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
               URL: file:///Volumes/DATA/Build/Release/WebInspectorUI.fram
                    ework/Resources/Main.html
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

-------
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190205/cba0defc/attachment.html>


More information about the webkit-unassigned mailing list