W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2014

Re: [beacon] Random comments

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 12 Feb 2014 23:45:25 +0000 (UTC)
To: Arvind Jain <arvind@google.com>
cc: Boris Zbarsky <bzbarsky@mit.edu>, Jonas Sicking <jonas@sicking.cc>, public-web-perf <public-web-perf@w3.org>
Message-ID: <alpine.DEB.2.00.1402122336090.31525@ps20323.dreamhostps.com>
On Wed, 12 Feb 2014, Arvind Jain wrote:
> So which definition should we link to? Is there a link?

Which do you want? A, B, C, or D?

FWIW, window.open, history.replaceState et al, location.assign et al, 
showModalDialog, registerProtocolHandler et al, external.AddSearchProvider 
et al, EventSource, Worker, and document.load all use A.

XMLHttpRequest uses either C or D (fixed at object construction time), I 
can't quite work out which based on step 1 of the constructor.

APIs inside workers always use E, the worker script URL. URLs found in 
attributes on elements use F, the element's base URL.

I can't find anyone who uses B, which surprises me.

I guess that means you should use A, for consistency; in which case you'd 
want text like:

   _Resolve_ /url/ relative to the _API base URL_ specified by the _entry 
   settings object_.

You can find many examples of this in the HTML spec (http://whatwg.org/c), 
if you just need something to copy and paste.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 12 February 2014 23:45:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:38 UTC