W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] Feedback on Meta referrer

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 05 Jan 2012 12:37:05 -0500
Message-ID: <4F05DFC1.9010003@mit.edu>
On 1/2/12 1:55 AM, Simon Pieters wrote:
> What about:
>
> <head>
> <script src="foo.js"></script>
> <meta name="referrer" content="never">
> <link rel="stylesheet" href="a.css">
> </head>
>
> ...and the browser speculatively fetches the stylesheet before the
> <meta> element is in the DOM? Should the speculative parser have
> knowledge of <meta name=referrer>?

I would say it should handle this just like it handles <base> tags, 
whether that's through keeping track of it or through the speculation 
failing.

>> Yeah. Is there some precedent we should look to here? Perhaps the
>> <base> element?
>
> Perhaps this should even be an attribute on <base> -- <base referrer="...">

Note that when you have multiple <base> tags only the _first_ takes 
effect, which is not the proposed behavior for <meta referrer>...

-Boris
Received on Thursday, 5 January 2012 09:37:05 UTC

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