[Webkit-unassigned] [Bug 145692] Scripts with protocol-relative URLs fail to load in about:blank

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 06:49:10 PDT 2015


--- Comment #2 from Jon <x at jx0.co> ---
My understanding is that about:blank is not a valid "fallback base URL", and the behavior described by the HTML spec involves tracing back through parent browsing contexts until a non-about base URL is found.


Since the address of the inner iframe is "about:blank", to find the fallback base URL, we take the document base URL of its creator browsing context (the outer iframe).

The document base URL of the outer iframe is just its fallback base URL, which likewise, is the document base URL of the top browsing context.

So when parsing the protocol-relative URL of the script tag inside the inner iframe, we should be using the base URL of the top window in this case (and therefore deriving the proper scheme from there).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150612/c7a1dff5/attachment.html>

More information about the webkit-unassigned mailing list