EventHandler IDL attributes should be enumerable
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jan 2016 20:35:19 +0000 (20:35 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jan 2016 20:35:19 +0000 (20:35 +0000)
commit82b936561997678b1df8bf4bfd319451b55bb691
treed87aabd0edd437da529ba7b81d6a00959460d7ff
parent7cb0f7ada2bd5540dd43560d2f874d722d27f6e2
EventHandler IDL attributes should be enumerable
https://bugs.webkit.org/show_bug.cgi?id=153595

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Rebaseline W3C HTML test now that EventHandler attributes are enumerable,
as per the specification.

* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

Most of our EventHandler IDL attributes were marked as [NotEnumerable]
but should not have been according to the specification:
- https://html.spec.whatwg.org/#globaleventhandlers
- https://html.spec.whatwg.org/#windoweventhandlers

Firefox and Chrome behave according to the specification.
This patch aligns our behavior.

No new tests, already covered by existing tests.

* dom/Document.idl:
* dom/GlobalEventHandlers.idl:
* page/WindowEventHandlers.idl:

LayoutTests:

Rebaseline test now that more EventHandler attributes are enumerable.

* js/dom/dom-static-property-for-in-iteration-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.idl
Source/WebCore/dom/GlobalEventHandlers.idl
Source/WebCore/page/WindowEventHandlers.idl