[Bug 23460] Make innerHTML/outerHTML getter non-throwing?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23460

--- Comment #5 from Travis Leithead [MSFT] <travil@microsoft.com> ---
(In reply to Arkadiusz Michalski (Spirit) from comment #4)
> All browsers accept Attr object as argument for serializeToString() and not
> throw, but Firefox and Chrome return empty string, whene IE11 return attr's
> value. If this behaviour will not change then one of them should be
> standarized in P&S specyfication. Some telemetry could be useful here, maybe
> throwing is still possible.

I would expect the throwing/not throwing in this scenario to be tied to a
common flag used by the algorithm.

It is not possible to represent an attribute independently of an element in the
XML serialized form--so the Firefox/Chrome behavior seems much more correct
(unless throwing is a possibility).

+1 for adding this case to the spec.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.

Received on Wednesday, 30 September 2015 21:05:16 UTC