Re: [agenda] Web Performance WG Teleconference #125 Agenda 2014-02-12

On Thu, Feb 13, 2014 at 7:37 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> I think even better is
>
> boolean sendBeacon(DOMString url, optional (ArrayBufferView or Blob or
> DOMString or FormData)? data = null);
>
> That way passing <null> as body will not send any body. With the
> webidl in your proposal, explicitly passing <null> would send the
> string "null" I think.

That would match XMLHttpRequest. It too has the ability to send an
empty byte string body or no body at all.


-- 
http://annevankesteren.nl/

Received on Thursday, 13 February 2014 10:08:13 UTC