W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Clarification on @srcdoc referrer and base URL

From: Justin Schuh <jschuh@chromium.org>
Date: Thu, 26 Aug 2010 12:13:44 -0700
Message-ID: <AANLkTikwpiQWTVL4owokp6MoOYQJYZtyybNLgpKVzm=0@mail.gmail.com>
What should the baseURL and referrer be for a @srcdoc nested browsing
context? If I follow the base URL behavior for about:blank it will
just be inherited from the creator document. That seems like the right
thing to do, so I think section 2.5.1 should be modified to read:

"If?fallback base url?is?about:blank or about:srcdoc, and the
Document's?browsing context?has a?creator browsing context, then let
fallback base url?be the document base URL?of the?creator?Document

The referrer seems trickier. I couldn't find the about:blank referrer
behavior specified anywhere, and in my testing it does not inherit the
creator document's referrer. However, it seems to me that maybe
about:srcdoc should, even if about:blank does not.

Received on Thursday, 26 August 2010 12:13:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC