[Bug 17283] Consider making `null` for reflecting IDL attributes remove the content attribute

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

--- Comment #6 from Ms2ger <Ms2ger@gmail.com> 2012-07-10 16:56:56 UTC ---
(In reply to comment #4)
> Is there an IDL attribute I can use to make "null" stringify to empty on
> setting for a DOMString IDL attribute, or does it have to be prose?

[TreatNullAs=EmptyString]; however, I think that what Simon proposes makes more
sense. I filed <https://bugzilla.mozilla.org/show_bug.cgi?id=772526>.

(Another question is what to do with non-DOMString reflecting attributes; I'm
not sure if we'd want to make the same change there in the same time frame,
because that's somewhat hard with our current bindings.)

(In reply to comment #5)
> (is there a corresponding bug on WebIDL about changing the behaviour for all
> attributes?)

We agreed not to do that; I think we can and should stay with that decision.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 10 July 2012 16:57:01 UTC