Re: [Beacon] Forbidding submitting Documents

Sounds fine to me.


On Thu, Dec 12, 2013 at 5:16 PM, Jonas Sicking <jonas@sicking.cc> wrote:

> Hi All,
>
> I'm wondering if we should forbid submitting Document objects with
> sendBeacon. It seems to me like submitting documents doesn't make a
> lot of sense for the use cases that we have in mind, and serializing a
> Document can be a non-trivially heavy operation.
>
> It mostly seems like it's there for compatibility with XHR, but given
> that this is a separate API, it doesn't seem like there's a lot of
> value to it. It basically just turns into extra code that UAs have to
> lug around and which likely will mostly go unused.
>
> Additionally pages can always use XMLSerializer to satisfy the same
> use case if they really want to.
>
> / Jonas
>

Received on Friday, 13 December 2013 01:17:57 UTC