DescriptionDrop [NotEnumerable] from various toString() operations
Web IDL does not support non-enumerable stringifiers:
http://heycam.github.io/webidl/#es-stringifier
It does support unforgeable stringifiers, but that doesn't affect
enumerability, only configurability and writability.
DOM 4 defines DOMTokenList's stringifier without any extended attributes:
http://w3c.github.io/dom/#interface-domtokenlist
URL defines URLUtils's (and URLUtilsReadOnly's) stringifier without any
extended attributes:
http://url.spec.whatwg.org/#urlutils
And since it's defined as "stringifier attribute DOMString href;" adding
[NotEnumerable] is ambigious and, depending on interpretation, incorrect,
since the 'href' attribute should certainly be enumerable.
Firefox Nightly has enumerable 'toString' properties on all of Selection,
DOMTokenList and URLUtils.
Given all of this, there also doesn't appear to be a strong reason to have
WebKitCSSMatrix's 'toString' non-enumerable.
Remaining stringifiers not affected by this patch: DOMException, Window
and Location. DOMException is an exception, and thus can't have a
stringifier according to Web IDL, and Window and Location are pretty much
just special.
BUG=306606
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|