Bug 218254

Summary: Web Inspector: REGRESSION(r266669): Uncaught Exception: TypeError: node.nodeType is not a function. (In 'node.nodeType()', 'node.nodeType' is undefined)
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://www.partypoker.com/
Attachments:
Description Flags
Patch none

Description Devin Rousso 2020-10-27 12:29:27 PDT
not 100% sure about this, but I think this happened after setting a DOM breakpoint and reloading the page

Uncaught Exceptions:
-----------------------
 - TypeError: node.nodeType is not a function. (In 'node.nodeType()', 'node.nodeType' is undefined) (at DOMTreeOutline.js:247:42)
    findTreeElement @ DOMTreeOutline.js:247:42
    _updateBreakpointStatus @ DOMTreeContentView.js:783:63
    _domTreeElementAdded @ DOMTreeContentView.js:503:37
    dispatch @ Object.js:165:30
    dispatchEventToListeners @ Object.js:172:17
    insertChild @ TreeOutline.js:304:54
    insertChildElement @ DOMTreeElement.js:470:25
    _updateChildren @ DOMTreeElement.js:555:62
    _updateChildren @ [native code]
    getChildNodes @ DOMNode.js:572:25
    updateChildren @ DOMTreeElement.js:463:45
    _updateModifiedNodes @ DOMTreeUpdater.js:129:49
    ? @ DOMTreeUpdater.js:53:34
    _execute @ Debouncer.js:132:29
    ? @ Debouncer.js:86:26
-----------------------

Notes:
Inspected URL:        https://www.partypoker.com/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2020-10-27 13:51:51 PDT
Created attachment 412461 [details]
Patch
Comment 2 EWS 2020-10-27 14:38:19 PDT
Committed r269071: <https://trac.webkit.org/changeset/269071>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 412461 [details].
Comment 3 Radar WebKit Bug Importer 2020-10-27 14:39:17 PDT
<rdar://problem/70738923>