First parameter to indexed property getters should be mandatory
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2016 20:51:41 +0000 (20:51 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2016 20:51:41 +0000 (20:51 +0000)
commitfacc752140e12ab436fc97084fddf4fdce1a0e20
treec37d79e5dc97b1646d4e70517c34206afc769a75
parent04ea04dced409d5f7baa4fc26ba306c407a17fab
First parameter to indexed property getters should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160259

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

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

Source/WebCore:

First parameter to indexed property getters should be mandatory:
- https://heycam.github.io/webidl/#idl-indexed-properties

No new tests, rebaselined existing tests.

* Modules/gamepad/deprecated/GamepadList.idl:
* bindings/js/JSHTMLAllCollectionCustom.cpp:
(WebCore::JSHTMLAllCollection::item):
* css/CSSRuleList.idl:
* css/CSSValueList.idl:
* css/StyleSheetList.idl:
* css/WebKitCSSFilterValue.idl:
* css/WebKitCSSTransformValue.idl:
* dom/ClientRectList.idl:
* dom/DOMStringList.idl:
* dom/DataTransferItemList.idl:
* html/HTMLAllCollection.idl:
* plugins/DOMMimeTypeArray.idl:
* plugins/DOMPlugin.idl:
* plugins/DOMPluginArray.idl:

LayoutTests:

Update existing tests to reflect behavior change.

* fast/css/webkit-keyframes-crash.html:
* fast/dom/non-numeric-values-numeric-parameters-expected.txt:
* fast/dom/script-tests/non-numeric-values-numeric-parameters.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css/webkit-keyframes-crash.html
LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt
LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/Modules/gamepad/deprecated/GamepadList.idl
Source/WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp
Source/WebCore/css/CSSRuleList.idl
Source/WebCore/css/CSSValueList.idl
Source/WebCore/css/StyleSheetList.idl
Source/WebCore/css/WebKitCSSFilterValue.idl
Source/WebCore/css/WebKitCSSTransformValue.idl
Source/WebCore/dom/ClientRectList.idl
Source/WebCore/dom/DOMStringList.idl
Source/WebCore/dom/DataTransferItemList.idl
Source/WebCore/html/HTMLAllCollection.idl
Source/WebCore/plugins/DOMMimeTypeArray.idl
Source/WebCore/plugins/DOMPlugin.idl
Source/WebCore/plugins/DOMPluginArray.idl