[Webkit-unassigned] [Bug 149474] New: Web IDL: DOM "onfoo" attributes should be configurable and enumerable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 22 14:28:30 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149474
Bug ID: 149474
Summary: Web IDL: DOM "onfoo" attributes should be configurable
and enumerable
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
URL: https://heycam.github.io/webidl/#es-attributes
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: cdumez at apple.com
Blocks: 122213, 142934
* SUMMARY
DOM "onfoo" attributes should be configurable and enumerable
https://heycam.github.io/webidl/#es-attributes
> 4.5.7. Attributes
>
> For each exposed attribute of the interface, whether it was declared on the interface itself
> or one of its consequential interfaces, there must exist a corresponding property.
> The characteristics of this property are as follows:
>
> â¢Â The property has attributes { [[Get]]: G, [[Set]]: S, [[Enumerable]]: true, [[Configurable]]: configurable }, where:
> - configurable is false if the attribute was declared with the [Unforgeable] extended attribute and true otherwise;
> - G is the attribute getter, defined below; and
> - S is the attribute setter, also defined below.
* TEST
var descriptor = Object.getOwnPropertyDescriptor(window, "onhashchange");
assert(descriptor.enumerable);
assert(descriptor.configurable);
* NOTES
WebKit : Enumerable(false) Configurable(false)
Firefox: Enumerable(true) Configurable(true)
Chrome : Enumerable(true) Configurable(true) // NOTE: window.__proto__ right now
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150922/26e25e94/attachment-0001.html>
More information about the webkit-unassigned
mailing list