Re: [beacon] Random comments

On Wed, 12 Feb 2014, Boris Zbarsky wrote:
> On 2/12/14 5:52 PM, Jonas Sicking wrote:
> > I personally think C makes the most sense since it doesn't involve 
> > grabbing some omnious global state. Instead the behavior is determined 
> > by the more tangible answer to the question "which object did you call 
> > a function on".
> 
> What object, or what function?
> 
> Consider windowC.navigator.sendBeacon.apply(windowD.navigator, args)

Ah yeah, I missed one of the options!

Incidentally, I'm pretty sure that regardless of what option we pick here, 
it can be justified as consistent with some previously existing API.

-- 
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:11:04 UTC