Drop support for non-standard document.all.tags()
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 02:37:42 +0000 (02:37 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 02:37:42 +0000 (02:37 +0000)
commit61cd0a7ca9cf96e3e2fb7f349fba9740d743bd68
treeafd79158dbdb7db78cddde071439ae77f0a17338
parentbc82d48ef04bc1ffd972024b781994172bf187a4
Drop support for non-standard document.all.tags()
https://bugs.webkit.org/show_bug.cgi?id=169337

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Rebaseline web platform test now that one more check is passing.

* web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection-expected.txt:

Source/WebCore:

Drop support for non-standard document.all.tags(). It is not part of the specification:
- https://html.spec.whatwg.org/multipage/infrastructure.html#the-htmlallcollection-interface

It is not supported by Firefox and its support was dropped from Chrome back in early 2014:
- https://src.chromium.org/viewvc/blink?view=revision&revision=166870

No new tests, updated existing test.

* html/HTMLAllCollection.cpp:
* html/HTMLAllCollection.h:
* html/HTMLAllCollection.idl:

LayoutTests:

Update existing test to check that document.all.tags does not exist.

* fast/dom/document-all-tags-expected.txt:
* fast/dom/document-all-tags.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLDocument/document-all-expected.txt [deleted file]
LayoutTests/fast/dom/HTMLDocument/document-all.html [deleted file]
LayoutTests/fast/dom/document-all-tags-expected.txt
LayoutTests/fast/dom/document-all-tags.html
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLAllCollection.cpp
Source/WebCore/html/HTMLAllCollection.h
Source/WebCore/html/HTMLAllCollection.idl