RESOLVED FIXED294183
Web Inspector: Uncaught Exception: TypeError: undefined is not an object (evaluating 'node.endPosition.isBefore')
https://bugs.webkit.org/show_bug.cgi?id=294183
Summary Web Inspector: Uncaught Exception: TypeError: undefined is not an object (eva...
Devin Rousso
Reported 2025-06-08 12:03:59 PDT
i think this has something to do with when there's multiple optional chaining operators in a row (e.g. `x?.y?.z`) Uncaught Exceptions: ----------------------- - TypeError: undefined is not an object (evaluating 'node.endPosition.isBefore') (at ScriptSyntaxTree.js:117:33) filterForNodesInRange @ ScriptSyntaxTree.js:117:33 _recurse @ ScriptSyntaxTree.js:308:17 _recurse @ ScriptSyntaxTree.js:385:26 _recurseArray @ ScriptSyntaxTree.js:547:26 _recurse @ ScriptSyntaxTree.js:328:31 _recurse @ ScriptSyntaxTree.js:382:26 _recurseArray @ ScriptSyntaxTree.js:547:26 _recurse @ ScriptSyntaxTree.js:343:31 _recurse @ ScriptSyntaxTree.js:363:26 _recurseArray @ ScriptSyntaxTree.js:547:26 _recurse @ ScriptSyntaxTree.js:328:31 _recurse @ ScriptSyntaxTree.js:382:26 _recurse @ ScriptSyntaxTree.js:342:26 _recurse @ ScriptSyntaxTree.js:363:26 _recurseArray @ ScriptSyntaxTree.js:547:26 _recurse @ ScriptSyntaxTree.js:414:31 forEachNode @ ScriptSyntaxTree.js:59:22 filterByRange @ ScriptSyntaxTree.js:135:25 insertAnnotations @ TypeTokenAnnotator.js:61:61 resume @ Annotator.js:62:31 ? @ SourceCodeTextEditor.js:2356:52 -----------------------
Attachments
Devin Rousso
Comment 1 2025-06-08 12:08:13 PDT
EWS
Comment 2 2025-06-10 18:38:02 PDT
Committed 296072@main (c8f955b60752): <https://commits.webkit.org/296072@main> Reviewed commits have been landed. Closing PR #46479 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-10 18:54:24 PDT
Note You need to log in before you can comment on or make changes to this bug.