W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: [XHR] What referrer to use when making requests

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 8 Jul 2012 11:33:48 +0100
Message-ID: <CADnb78i2fFU6VGBVGuAUAxfQLnREc5ERZ+uWf_BgY-s=ab2evg@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Webapps WG <public-webapps@w3.org>
On Sun, Jul 8, 2012 at 3:54 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> What is the reason for this? This seems less consistent than using the
> same document as we use for things like same-origin checks and
> resolving relative urls. In general, we've been trying to move away
> from using the "entry script" in Gecko for things since it basically
> amounts to using a global variable which tends to be a source of bugs
> and unexpected behavior.

Really? All new APIs still use the entry script to determine origin,
base URL, and such. The reason is that HTML fetch works this way and
provides no overrides and last time we discussed this nobody thought
it was important enough to create an override just for XMLHttpRequest.


-- 
http://annevankesteren.nl/
Received on Sunday, 8 July 2012 10:34:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:53 GMT