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:10:35 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
cc: Jonas Sicking <jonas@sicking.cc>, Arvind Jain <arvind@google.com>, public-web-perf <public-web-perf@w3.org>
Message-ID: <alpine.DEB.2.00.1402122309111.31525@ps20323.dreamhostps.com>
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

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