Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a80cf05ba528f8bbb7a4a06d95215cf8618ed30c
      
https://github.com/WebKit/WebKit/commit/a80cf05ba528f8bbb7a4a06d95215cf8618ed30c
  Author: Qianlang Chen <[email protected]>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/SourceCodeTreeElement.js

  Log Message:
  -----------
  Web Inspector: REGRESSION STP Sources tabs fails to load when hitting a 
breakpoint
rdar://153666768
https://bugs.webkit.org/show_bug.cgi?id=294627

Reviewed by Devin Rousso.

A SourceCodeTreeElement is not a ResourceTreeElement so it doesn't have
a `resource` property. This is probably what caused the second uncaught
exception in the bug report, "undefined is not an object (evaluating 
'this.resource.sourceMaps')".

(The suspected regression point was 
https://github.com/WebKit/WebKit/pull/45103.)

* Source/WebInspectorUI/UserInterface/Views/SourceCodeTreeElement.js:
(WI.SourceCodeTreeElement.prototype.onpopulate):

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