Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1bcee9533845e029de24e14ff2699f42548e23c5
https://github.com/WebKit/WebKit/commit/1bcee9533845e029de24e14ff2699f42548e23c5
Author: Arno Renevier <[email protected]>
Date: 2025-09-29 (Mon, 29 Sep 2025)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js
Log Message:
-----------
Web Inspector: Check for node.{startPosition,endPosition} before
dereferencing them
https://bugs.webkit.org/show_bug.cgi?id=299715
rdar://161541799
Reviewed by Patrick Angle.
Some nodes (such as nodes of type ChainExpression) do not have a
startPosition or endPosition properties. So we check for their existence
(with option chaining) before calling methods on those properties.
* Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js:
(WI.SourceCodeTextEditor.prototype.textEditorExecutionHighlightRange):
Canonical link: https://commits.webkit.org/300698@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes