[Webkit-unassigned] [Bug 272172] New: Web Inspector: Source editor misbehaves when browser navigates to or from about:blank

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 4 11:36:06 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272172

            Bug ID: 272172
           Summary: Web Inspector: Source editor misbehaves when browser
                    navigates to or from about:blank
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: qianlangchen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 470757

  --> https://bugs.webkit.org/attachment.cgi?id=470757&action=review

Video demo: I had to reopen inspector for it to go back to normal

In the source editor in the inspector's Sources tab, if there's currently a file selected and being viewed and you navigate the browser to a new webpage, the source editor becomes blank, which is understandable since the file that you were viewing is now gone with the old webpage.

However,
   - If you that new webpage is about:blank, then the source editor will show a loading icon that spins forever, instead of showing a gray "about:blank" watermark text as it normally does
   - If the old webpage was about:blank and you navigate into any other webpage, the source editor will show the red text "An error occurred trying to load the resource", and worse, that text won't disappear at all even if you select other files. You have to reopen the inspector for that source editor to behave normally again

See attached for a video demo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240404/4b00bc78/attachment.htm>


More information about the webkit-unassigned mailing list