Import w3c URL tests
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Aug 2016 01:22:33 +0000 (01:22 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Aug 2016 01:22:33 +0000 (01:22 +0000)
commit639d52c74b08a13695676851ba8ffcf6520d228e
tree1ed39db20a35d4712774ed61c5784f36899d6234
parent4f36a2ddc242e806f2bcf6df7ddaff89f9a3ff5a
Import w3c URL tests
https://bugs.webkit.org/show_bug.cgi?id=161177

Reviewed by Tim Horton.

LayoutTests/imported/w3c:

* web-platform-tests/url: Added.
* web-platform-tests/url/OWNERS: Added.
* web-platform-tests/url/README.md: Added.
* web-platform-tests/url/a-element-expected.txt: Added.
* web-platform-tests/url/a-element-xhtml-expected.txt: Added.
* web-platform-tests/url/a-element-xhtml.xhtml: Added.
* web-platform-tests/url/a-element.html: Added.
* web-platform-tests/url/a-element.js: Added.
(setup.async_test.string_appeared_here.setup.step):
(setBase):
(bURL):
(runURLTests):
* web-platform-tests/url/historical-expected.txt: Added.
* web-platform-tests/url/historical.html: Added.
* web-platform-tests/url/historical.worker.js: Added.
(test):
* web-platform-tests/url/interfaces-expected.txt: Added.
* web-platform-tests/url/interfaces.html: Added.
* web-platform-tests/url/setters_tests.json: Added.
* web-platform-tests/url/url-constructor-expected.txt: Added.
* web-platform-tests/url/url-constructor.html: Added.
* web-platform-tests/url/url-domainToUnicode-expected.txt: Added.
* web-platform-tests/url/url-domainToUnicode.html: Added.
* web-platform-tests/url/url-setters-expected.txt: Added.
* web-platform-tests/url/url-setters.html: Added.
* web-platform-tests/url/urlsearchparams-append-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-append.html: Added.
* web-platform-tests/url/urlsearchparams-constructor-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-constructor.html: Added.
* web-platform-tests/url/urlsearchparams-delete-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-delete.html: Added.
* web-platform-tests/url/urlsearchparams-get-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-get.html: Added.
* web-platform-tests/url/urlsearchparams-getall-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-getall.html: Added.
* web-platform-tests/url/urlsearchparams-has-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-has.html: Added.
* web-platform-tests/url/urlsearchparams-set-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-set.html: Added.
* web-platform-tests/url/urlsearchparams-stringifier-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-stringifier.html: Added.
* web-platform-tests/url/urltestdata.json: Added.

Source/WebCore:

Tests: imported/w3c/web-platform-tests/url/a-element-xhtml.xhtml
       imported/w3c/web-platform-tests/url/a-element.html
       imported/w3c/web-platform-tests/url/historical.html
       imported/w3c/web-platform-tests/url/interfaces.html
       imported/w3c/web-platform-tests/url/url-constructor.html
       imported/w3c/web-platform-tests/url/url-domainToUnicode.html
       imported/w3c/web-platform-tests/url/url-setters.html
       imported/w3c/web-platform-tests/url/urlsearchparams-append.html
       imported/w3c/web-platform-tests/url/urlsearchparams-constructor.html
       imported/w3c/web-platform-tests/url/urlsearchparams-delete.html
       imported/w3c/web-platform-tests/url/urlsearchparams-get.html
       imported/w3c/web-platform-tests/url/urlsearchparams-getall.html
       imported/w3c/web-platform-tests/url/urlsearchparams-has.html
       imported/w3c/web-platform-tests/url/urlsearchparams-set.html
       imported/w3c/web-platform-tests/url/urlsearchparams-stringifier.html

* platform/URL.cpp:
(WebCore::URL::setQuery):

LayoutTests:

* TestExpectations:
Skip asserting test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
41 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/url/OWNERS [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/README.md [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml.xhtml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/a-element.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/a-element.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/historical-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/historical.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.js [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/interfaces-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/interfaces.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/setters_tests.json [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-domainToUnicode-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-domainToUnicode.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-setters-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/url-setters.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-append-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-append.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-constructor-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-constructor.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-delete-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-delete.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-get-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-get.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-getall-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-getall.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-has-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-has.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-set-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-set.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-stringifier-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-stringifier.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/url/urltestdata.json [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/URL.cpp