Re: [beacon] Random comments

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.

HTH.
-- 
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