Bug 294183
| Summary: | Web Inspector: Uncaught Exception: TypeError: undefined is not an object (evaluating 'node.endPosition.isBefore') | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> |
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Devin Rousso
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Devin Rousso
Pull request: https://github.com/WebKit/WebKit/pull/46479
EWS
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
<rdar://problem/153024534>