Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23078a83876e12697e89d1e41bd20c365de22024
      
https://github.com/WebKit/WebKit/commit/23078a83876e12697e89d1e41bd20c365de22024
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M 
LayoutTests/http/tests/site-isolation/inspector/runtime/evaluate-in-cross-origin-iframe-expected.txt
    M 
LayoutTests/http/tests/site-isolation/inspector/runtime/evaluate-in-cross-origin-iframe.html
    M LayoutTests/inspector/console/js-isLikelyStackTrace-expected.txt
    M LayoutTests/inspector/console/js-isLikelyStackTrace.html
    M Source/WebInspectorUI/UserInterface/Models/StackTrace.js

  Log Message:
  -----------
  Web Inspector: support URLs with ports and and `blob:` when parsing stack 
traces
https://bugs.webkit.org/show_bug.cgi?id=327353

Reviewed by Timothy Hatcher.

The Console stack string heuristic rejects `sourceURL` with an explicit server 
port or a `blob:` prefix.
Logging an actual `Error` stack from a local server (e.g. `localhost:3000`) or 
a `Worker` created from a `blob:` displays plain text instead of linked call 
frames.

Parse the function separator before the URL and accept a `blob:` prefix and 
numeric server port while preserving the required line and column suffix and 
invalid-string rejection.

* Source/WebInspectorUI/UserInterface/Models/StackTrace.js:
(WI.StackTrace.isLikelyStackTrace):

* LayoutTests/inspector/console/js-isLikelyStackTrace.html:
* LayoutTests/inspector/console/js-isLikelyStackTrace-expected.txt:
* 
LayoutTests/http/tests/site-isolation/inspector/runtime/evaluate-in-cross-origin-iframe.html:
* 
LayoutTests/http/tests/site-isolation/inspector/runtime/evaluate-in-cross-origin-iframe-expected.txt:

Canonical link: https://commits.webkit.org/323606@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to