W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

Re: [whatwg] Document referrer and script entry point

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 22 Oct 2012 18:04:13 +0000 (UTC)
To: Bobby Holley <bobbyholley@gmail.com>, Adam Barth <w3c@adambarth.com>
cc: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org
Message-ID: <Pine.LNX.4.64.1210221802470.2471@ps20323.dreamhostps.com>

(Please don't cross-post to WHATWG and another list, it fragments the 
thread. As indeed it seems to have done in this case... I can't figure out 
where the head of this thread is. I've moved this just to 
public-script-coord@w3.org to avoid further fragmentation with replies.)

On Mon, 22 Oct 2012, Bobby Holley wrote:
>
> Any WebKit folks want to weigh in on this one? Ian, what do you think 
> from a spec perspective?
> 
> On Tue, Oct 9, 2012 at 4:59 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> > On 10/9/12 9:45 AM, Bobby Holley wrote:
> >
> >> I'd like to change Gecko to implement the alternate behavior - that 
> >> is to say, making document.referrer refer to the script entry point 
> >> at the time of navigation.
> >
> > Specifically for navigation via the "location" object.
> >
> > It's not quite clear to me what should happen for navigation via 
> > click() on an anchor or .submit() on a form, and those are a somewhat 
> > separate discussion from this one.

I don't really understand the question. Surely document.referrer should 
just return whatever was used in the Referer HTTP header, no?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 22 October 2012 18:04:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC