W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

[XHR] serializing Document (was: Re: XHR LC comments)

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 26 May 2008 12:51:35 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Simon Pieters" <simonp@opera.com>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.ubrcf9xo64w2qv@annevk-t60.oslo.opera.com>

On Mon, 19 May 2008 18:09:40 +0200, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> Simon Pieters wrote:
>> FWIW, this is defined for getting innerHTML in XML:  
>> http://www.whatwg.org/specs/web-apps/current-work/multipage/section-dynamic.html#innerhtml1
> That's more like what I was looking for, yes.  I would be happy if XHR  
> adopted that approach.

Ok, the data argument of send() is now serialized using data.innerHTML in  
case data is a Document object. The encoding and header provisions stay  
the same. If data.innerHTML raises an exception that exception is  
re-raised by the send() API (INVALID_STATE_ERR is the only one).

Anne van Kesteren
Received on Monday, 26 May 2008 10:52:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:27 UTC