Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8f955b60752e247cca45fc17ebf4d2416cd6b19
      
https://github.com/WebKit/WebKit/commit/c8f955b60752e247cca45fc17ebf4d2416cd6b19
  Author: Devin Rousso <[email protected]>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js

  Log Message:
  -----------
  Web Inspector: Uncaught Exception: TypeError: undefined is not an object 
(evaluating 'node.endPosition.isBefore')
https://bugs.webkit.org/show_bug.cgi?id=294183

Reviewed by BJ Burg.

* Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js:
(WI.ScriptSyntaxTree.prototype.containersOfPosition):
(WI.ScriptSyntaxTree.prototype.filterByRange):
If it's possible for `node.endPosition` to not exist then don't assume it does.

Canonical link: https://commits.webkit.org/296072@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

Reply via email to