Update webidl2.js from upstream web-platform-tests
[WebKit-https.git] / LayoutTests / imported / w3c / ChangeLog
1 2017-05-18  Chris Dumez  <cdumez@apple.com>
2
3         Update webidl2.js from upstream web-platform-tests
4         https://bugs.webkit.org/show_bug.cgi?id=172342
5
6         Reviewed by Sam Weinig.
7
8         * web-platform-tests/fetch/api/headers/headers-idl.html:
9         Re-sync test from upstream 11216539e as the test would break otherwise with the new webidl2.js. 
10
11         * web-platform-tests/resources/webidl2/*:
12         Re-sync webidl2.js from upstream web-platform-tests 11216539e.
13
14         * web-platform-tests/url/interfaces.any-expected.txt:
15         * web-platform-tests/url/interfaces.any.worker-expected.txt:
16         Rebaseline tests that are now actually working. They relied on this new webidl2.js version.
17
18 2017-05-18  Chris Dumez  <cdumez@apple.com>
19
20         Re-sync url web-platform-tests
21         https://bugs.webkit.org/show_bug.cgi?id=172333
22
23         Reviewed by Youenn Fablet.
24
25         Re-sync url web-platform-tests from upstream 11216539.
26
27         * web-platform-tests/url/README.md:
28         * web-platform-tests/url/a-element-expected.txt:
29         * web-platform-tests/url/a-element-origin-expected.txt:
30         * web-platform-tests/url/a-element-origin-xhtml-expected.txt:
31         * web-platform-tests/url/a-element-xhtml-expected.txt:
32         * web-platform-tests/url/failure-expected.txt:
33         * web-platform-tests/url/failure.html:
34         * web-platform-tests/url/historical.any-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker-expected.txt.
35         * web-platform-tests/url/historical.any.html: Copied from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html.
36         * web-platform-tests/url/historical.any.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.js.
37         (self.GLOBAL.isWindow):
38         * web-platform-tests/url/historical.any.worker-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker-expected.txt.
39         * web-platform-tests/url/historical.any.worker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html.
40         * web-platform-tests/url/historical.html: Removed.
41         * web-platform-tests/url/interfaces.any-expected.txt: Added.
42         * web-platform-tests/url/interfaces.any.html: Copied from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html.
43         * web-platform-tests/url/interfaces.any.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/url/interfaces.html.
44         * web-platform-tests/url/interfaces.any.worker-expected.txt: Added.
45         * web-platform-tests/url/interfaces.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html.
46         * web-platform-tests/url/url-constructor-expected.txt:
47         * web-platform-tests/url/url-origin-expected.txt:
48         * web-platform-tests/url/urlsearchparams-constructor-expected.txt:
49         * web-platform-tests/url/urlsearchparams-constructor.html:
50         * web-platform-tests/url/urltestdata.json:
51         * web-platform-tests/url/w3c-import.log:
52
53 2017-05-18  Daniel Bates  <dabates@apple.com>
54
55         Improve error message for Access-Control-Allow-Origin violation due to misconfigured server
56         https://bugs.webkit.org/show_bug.cgi?id=162819
57         <rdar://problem/28575938>
58
59         Reviewed by Joseph Pecoraro.
60
61         Update expected result.
62
63         * web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt:
64         * web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt:
65
66 2017-05-18  Chris Dumez  <cdumez@apple.com>
67
68         Update web-platform-tests tools
69         https://bugs.webkit.org/show_bug.cgi?id=172247
70
71         Reviewed by Youenn Fablet.
72
73         Rebaseline tests now that WPT tools were updated.
74
75         * web-platform-tests/FileAPI/idlharness-expected.txt:
76         * web-platform-tests/FileAPI/idlharness.worker-expected.txt:
77         * web-platform-tests/FileAPI/url/multi-global-origin-serialization.sub-expected.txt:
78         * web-platform-tests/IndexedDB/interfaces-expected.txt:
79         * web-platform-tests/IndexedDB/interfaces.worker-expected.txt:
80         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits-expected.txt:
81         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys-expected.txt:
82         * web-platform-tests/WebCryptoAPI/idlharness-expected.txt:
83         * web-platform-tests/WebCryptoAPI/idlharness.worker-expected.txt:
84         * web-platform-tests/XMLHttpRequest/formdata-foreach-expected.txt:
85         * web-platform-tests/XMLHttpRequest/interfaces-expected.txt:
86         * web-platform-tests/XMLHttpRequest/responsetype-expected.txt:
87         * web-platform-tests/XMLHttpRequest/timeout-sync-expected.txt:
88         * web-platform-tests/background-fetch/interfaces.worker-expected.txt:
89         * web-platform-tests/cors/origin-expected.txt:
90         * web-platform-tests/custom-elements/custom-element-registry/define-expected.txt:
91         * web-platform-tests/custom-elements/parser/parser-fallsback-to-unknown-element-expected.txt:
92         * web-platform-tests/dom/interfaces-expected.txt:
93         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01-expected.txt:
94         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02-expected.txt:
95         * web-platform-tests/encoding/idlharness-expected.txt:
96         * web-platform-tests/fetch/api/basic/integrity-sharedworker-expected.txt:
97         * web-platform-tests/fetch/api/headers/headers-idl-expected.txt:
98         * web-platform-tests/fetch/api/request/request-idl-expected.txt:
99         * web-platform-tests/fetch/api/response/response-idl-expected.txt:
100         * web-platform-tests/hr-time/idlharness-expected.txt:
101         * web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects-expected.txt:
102         * web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html:
103         * web-platform-tests/html/dom/reflection-embedded-expected.txt:
104         * web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/allow-scripts-flag-changing-1-expected.txt:
105         * web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/allow-scripts-flag-changing-2-expected.txt:
106         * web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/moving-documents-expected.txt:
107         * web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/not-in-shadow-tree-expected.txt:
108         * web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/srclang-expected.txt:
109         * web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/language-expected.txt:
110         * web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay-with-slow-text-tracks-expected.txt:
111         * web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-parse-error-expected.txt:
112         * web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-expected.txt:
113         * web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-throw-expected.txt:
114         * web-platform-tests/notifications/interfaces-expected.txt:
115         * web-platform-tests/resource-timing/idlharness-expected.txt:
116         * web-platform-tests/resource-timing/rt-initiatorType-other-expected.txt:
117         * web-platform-tests/resources/idlharness.js:
118         (set exposed):
119         (IdlArray.prototype.test):
120         (IdlArray.prototype.assert_type_is):
121         (IdlInterface.prototype.test_self):
122         (IdlInterface.prototype.add_iterable_members):
123         (IdlInterface.prototype.test_member_iterable):
124         (IdlInterface.prototype.test_members):
125         (IdlInterface.prototype.test_primary_interface_of):
126         (IdlInterface.prototype.test_interface_of):
127         (IdlInterface.prototype.do_interface_attribute_asserts):
128         (IdlTypedef):
129         * web-platform-tests/resources/testharness.js:
130         (WindowTestEnvironment):
131         (WindowTestEnvironment.prototype._dispatch):
132         (WindowTestEnvironment.prototype._forEach_windows):
133         (ServiceWorkerTestEnvironment):
134         (promise_test):
135         * web-platform-tests/shadow-dom/Document-prototype-currentScript-expected.txt:
136         * web-platform-tests/streams/byte-length-queuing-strategy.sharedworker-expected.txt:
137         * web-platform-tests/streams/count-queuing-strategy.sharedworker-expected.txt:
138         * web-platform-tests/streams/piping/close-propagation-backward.sharedworker-expected.txt:
139         * web-platform-tests/streams/piping/close-propagation-forward.sharedworker-expected.txt:
140         * web-platform-tests/streams/piping/error-propagation-backward.sharedworker-expected.txt:
141         * web-platform-tests/streams/piping/error-propagation-forward.sharedworker-expected.txt:
142         * web-platform-tests/streams/piping/flow-control.sharedworker-expected.txt:
143         * web-platform-tests/streams/piping/general-expected.txt:
144         * web-platform-tests/streams/piping/general.sharedworker-expected.txt:
145         * web-platform-tests/streams/piping/multiple-propagation.sharedworker-expected.txt:
146         * web-platform-tests/streams/piping/pipe-through.sharedworker-expected.txt:
147         * web-platform-tests/streams/piping/transform-streams.sharedworker-expected.txt:
148         * web-platform-tests/streams/readable-byte-streams/general.sharedworker-expected.txt:
149         * web-platform-tests/streams/readable-streams/bad-strategies.sharedworker-expected.txt:
150         * web-platform-tests/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt:
151         * web-platform-tests/streams/readable-streams/brand-checks.sharedworker-expected.txt:
152         * web-platform-tests/streams/readable-streams/cancel.sharedworker-expected.txt:
153         * web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker-expected.txt:
154         * web-platform-tests/streams/readable-streams/default-reader.sharedworker-expected.txt:
155         * web-platform-tests/streams/readable-streams/floating-point-total-queue-size.sharedworker-expected.txt:
156         * web-platform-tests/streams/readable-streams/garbage-collection.sharedworker-expected.txt:
157         * web-platform-tests/streams/readable-streams/general.sharedworker-expected.txt:
158         * web-platform-tests/streams/readable-streams/pipe-through.sharedworker-expected.txt:
159         * web-platform-tests/streams/readable-streams/readable-stream-reader.sharedworker-expected.txt:
160         * web-platform-tests/streams/readable-streams/tee.sharedworker-expected.txt:
161         * web-platform-tests/streams/readable-streams/templated.sharedworker-expected.txt:
162         * web-platform-tests/tools/browserutils/__init__.py: Added.
163         * web-platform-tests/tools/browserutils/browser.py: Added.
164         (path):
165         (Browser):
166         (Browser.install):
167         (Browser.install_webdriver):
168         (Browser.version):
169         (Browser.requirements):
170         (Browser.prepare_environment):
171         (Firefox):
172         (Firefox.platform_string):
173         (Firefox.platform_string_geckodriver):
174         (Firefox.latest_nightly_listing):
175         (Firefox.get_from_nightly):
176         (Firefox.install):
177         (Firefox.find_binary):
178         (Firefox.find_certutil):
179         (Firefox.find_webdriver):
180         (Firefox.install_certutil):
181         (Firefox.install_prefs):
182         (Firefox._latest_geckodriver_version):
183         (Firefox.install_webdriver):
184         (Firefox.version):
185         (Chrome):
186         (Chrome.platform_string):
187         (Chrome.install):
188         (Chrome.find_webdriver):
189         (Chrome.install_webdriver):
190         (Chrome.version):
191         (Chrome.prepare_environment):
192         * web-platform-tests/tools/browserutils/utils.py: Added.
193         (Kwargs):
194         (Kwargs.set_if_none):
195         (call):
196         (get_git_cmd):
197         (get_git_cmd.git):
198         (seekable):
199         (untar):
200         (unzip):
201         (pwd):
202         (pwd.__init__):
203         (pwd.__enter__):
204         (pwd.__exit__):
205         (get):
206         * web-platform-tests/tools/browserutils/virtualenv.py: Added.
207         (Virtualenv):
208         (Virtualenv.__init__):
209         (Virtualenv.exists):
210         (Virtualenv.create):
211         (Virtualenv.bin_path):
212         (Virtualenv.pip_path):
213         (Virtualenv.activate):
214         (Virtualenv.start):
215         (Virtualenv.install_requirements):
216         * web-platform-tests/tools/browserutils/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/performance/w3c-import.log.
217         * web-platform-tests/tools/conftest.py:
218         * web-platform-tests/tools/gitignore/tests/w3c-import.log:
219         * web-platform-tests/tools/gitignore/w3c-import.log:
220         * web-platform-tests/tools/html5lib/doc/w3c-import.log:
221         * web-platform-tests/tools/html5lib/html5lib/filters/w3c-import.log:
222         * web-platform-tests/tools/html5lib/html5lib/serializer/w3c-import.log:
223         * web-platform-tests/tools/html5lib/html5lib/tests/performance/w3c-import.log:
224         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/encoding/chardet/w3c-import.log:
225         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/encoding/w3c-import.log:
226         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/sanitizer/w3c-import.log:
227         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/serializer/w3c-import.log:
228         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/sniffer/w3c-import.log:
229         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/tokenizer/w3c-import.log:
230         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/tree-construction/scripted/w3c-import.log:
231         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/tree-construction/w3c-import.log:
232         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/validator/w3c-import.log:
233         * web-platform-tests/tools/html5lib/html5lib/tests/testdata/w3c-import.log:
234         * web-platform-tests/tools/html5lib/html5lib/tests/w3c-import.log:
235         * web-platform-tests/tools/html5lib/html5lib/treeadapters/w3c-import.log:
236         * web-platform-tests/tools/html5lib/html5lib/treebuilders/w3c-import.log:
237         * web-platform-tests/tools/html5lib/html5lib/treewalkers/w3c-import.log:
238         * web-platform-tests/tools/html5lib/html5lib/trie/w3c-import.log:
239         * web-platform-tests/tools/html5lib/html5lib/w3c-import.log:
240         * web-platform-tests/tools/html5lib/utils/w3c-import.log:
241         * web-platform-tests/tools/html5lib/w3c-import.log:
242         * web-platform-tests/tools/lint/lint.py:
243         * web-platform-tests/tools/lint/tests/dummy/css-unique/match/support/tools/w3c-import.log:
244         * web-platform-tests/tools/lint/tests/dummy/css-unique/match/support/w3c-import.log:
245         * web-platform-tests/tools/lint/tests/dummy/css-unique/match/tools/w3c-import.log:
246         * web-platform-tests/tools/lint/tests/dummy/css-unique/match/w3c-import.log:
247         * web-platform-tests/tools/lint/tests/dummy/css-unique/not-match/support/w3c-import.log:
248         * web-platform-tests/tools/lint/tests/dummy/css-unique/not-match/tools/w3c-import.log:
249         * web-platform-tests/tools/lint/tests/dummy/css-unique/not-match/w3c-import.log:
250         * web-platform-tests/tools/lint/tests/dummy/css-unique/selectors/w3c-import.log:
251         * web-platform-tests/tools/lint/tests/dummy/css-unique/support/tools/w3c-import.log:
252         * web-platform-tests/tools/lint/tests/dummy/css-unique/support/w3c-import.log:
253         * web-platform-tests/tools/lint/tests/dummy/css-unique/tools/w3c-import.log:
254         * web-platform-tests/tools/lint/tests/dummy/css-unique/w3c-import.log:
255         * web-platform-tests/tools/lint/tests/dummy/css/work-in-progress/foo/support/w3c-import.log:
256         * web-platform-tests/tools/lint/tests/dummy/ref/w3c-import.log:
257         * web-platform-tests/tools/lint/tests/dummy/w3c-import.log:
258         * web-platform-tests/tools/lint/tests/w3c-import.log:
259         * web-platform-tests/tools/lint/w3c-import.log:
260         * web-platform-tests/tools/localpaths.py:
261         * web-platform-tests/tools/manifest/catalog/w3c-import.log:
262         * web-platform-tests/tools/manifest/tests/w3c-import.log:
263         * web-platform-tests/tools/manifest/w3c-import.log:
264         * web-platform-tests/tools/pytest.ini:
265         * web-platform-tests/tools/pytest/_pytest/_code/w3c-import.log:
266         * web-platform-tests/tools/pytest/_pytest/assertion/w3c-import.log:
267         * web-platform-tests/tools/pytest/_pytest/vendored_packages/pluggy-0.3.1.dist-info/w3c-import.log:
268         * web-platform-tests/tools/pytest/_pytest/vendored_packages/w3c-import.log:
269         * web-platform-tests/tools/pytest/_pytest/w3c-import.log:
270         * web-platform-tests/tools/pytest/bench/w3c-import.log:
271         * web-platform-tests/tools/pytest/doc/en/_templates/w3c-import.log:
272         * web-platform-tests/tools/pytest/doc/en/_themes/flask/static/w3c-import.log:
273         * web-platform-tests/tools/pytest/doc/en/_themes/flask/w3c-import.log:
274         * web-platform-tests/tools/pytest/doc/en/_themes/w3c-import.log:
275         * web-platform-tests/tools/pytest/doc/en/announce/w3c-import.log:
276         * web-platform-tests/tools/pytest/doc/en/example/assertion/global_testmodule_config/w3c-import.log:
277         * web-platform-tests/tools/pytest/doc/en/example/assertion/w3c-import.log:
278         * web-platform-tests/tools/pytest/doc/en/example/costlysetup/sub1/w3c-import.log:
279         * web-platform-tests/tools/pytest/doc/en/example/costlysetup/sub2/w3c-import.log:
280         * web-platform-tests/tools/pytest/doc/en/example/costlysetup/w3c-import.log:
281         * web-platform-tests/tools/pytest/doc/en/example/layout1/w3c-import.log:
282         * web-platform-tests/tools/pytest/doc/en/example/nonpython/w3c-import.log:
283         * web-platform-tests/tools/pytest/doc/en/example/py2py3/w3c-import.log:
284         * web-platform-tests/tools/pytest/doc/en/example/w3c-import.log:
285         * web-platform-tests/tools/pytest/doc/en/img/w3c-import.log:
286         * web-platform-tests/tools/pytest/doc/en/test/plugin/w3c-import.log:
287         * web-platform-tests/tools/pytest/doc/en/test/w3c-import.log:
288         * web-platform-tests/tools/pytest/doc/en/w3c-import.log:
289         * web-platform-tests/tools/pytest/extra/setup-py.test/w3c-import.log:
290         * web-platform-tests/tools/pytest/extra/w3c-import.log:
291         * web-platform-tests/tools/pytest/testing/code/w3c-import.log:
292         * web-platform-tests/tools/pytest/testing/cx_freeze/tests/w3c-import.log:
293         * web-platform-tests/tools/pytest/testing/cx_freeze/w3c-import.log:
294         * web-platform-tests/tools/pytest/testing/python/w3c-import.log:
295         * web-platform-tests/tools/pytest/testing/w3c-import.log:
296         * web-platform-tests/tools/pytest/w3c-import.log:
297         * web-platform-tests/tools/pywebsocket/src/example/w3c-import.log:
298         * web-platform-tests/tools/pywebsocket/src/mod_pywebsocket/handshake/w3c-import.log:
299         * web-platform-tests/tools/pywebsocket/src/mod_pywebsocket/w3c-import.log:
300         * web-platform-tests/tools/pywebsocket/src/test/cert/w3c-import.log:
301         * web-platform-tests/tools/pywebsocket/src/test/testdata/handlers/sub/w3c-import.log:
302         * web-platform-tests/tools/pywebsocket/src/test/testdata/handlers/w3c-import.log:
303         * web-platform-tests/tools/pywebsocket/src/test/testdata/w3c-import.log:
304         * web-platform-tests/tools/pywebsocket/src/test/w3c-import.log:
305         * web-platform-tests/tools/pywebsocket/src/w3c-import.log:
306         * web-platform-tests/tools/runner/css/w3c-import.log:
307         * web-platform-tests/tools/runner/fonts/w3c-import.log:
308         * web-platform-tests/tools/runner/w3c-import.log:
309         * web-platform-tests/tools/scripts/w3c-import.log:
310         * web-platform-tests/tools/serve/w3c-import.log:
311         * web-platform-tests/tools/six/documentation/w3c-import.log:
312         * web-platform-tests/tools/six/w3c-import.log:
313         * web-platform-tests/tools/sslutils/w3c-import.log:
314         * web-platform-tests/tools/tox.ini:
315         * web-platform-tests/tools/w3c-import.log:
316         * web-platform-tests/tools/webdriver/README.md:
317         * web-platform-tests/tools/webdriver/w3c-import.log:
318         * web-platform-tests/tools/webdriver/webdriver/client.py:
319         (Element.send_keys):
320         * web-platform-tests/tools/webdriver/webdriver/w3c-import.log:
321         * web-platform-tests/tools/wptrun.py: Added.
322         (WptrunnerHelpAction):
323         (WptrunnerHelpAction.__init__):
324         (WptrunnerHelpAction.__call__):
325         (create_parser):
326         (exit):
327         (args_general):
328         (check_environ):
329         (prompt_install):
330         (args_firefox):
331         (setup_firefox):
332         (args_chrome):
333         (setup_chrome):
334         (setup_edge):
335         (setup_sauce):
336         (setup_servo):
337         (setup_wptrunner):
338         (main):
339         * web-platform-tests/tools/wptrunner/LICENSE: Renamed from LayoutTests/imported/w3c/web-platform-tests/tools/LICENSE.
340         * web-platform-tests/tools/wptrunner/MANIFEST.in: Added.
341         * web-platform-tests/tools/wptrunner/README.rst: Added.
342         * web-platform-tests/tools/wptrunner/docs/Makefile: Added.
343         * web-platform-tests/tools/wptrunner/docs/architecture.svg: Added.
344         * web-platform-tests/tools/wptrunner/docs/conf.py: Added.
345         * web-platform-tests/tools/wptrunner/docs/design.rst: Added.
346         * web-platform-tests/tools/wptrunner/docs/expectation.rst: Added.
347         * web-platform-tests/tools/wptrunner/docs/index.rst: Added.
348         * web-platform-tests/tools/wptrunner/docs/make.bat: Added.
349         * web-platform-tests/tools/wptrunner/docs/usage.rst: Added.
350         * web-platform-tests/tools/wptrunner/docs/w3c-import.log: Added.
351         * web-platform-tests/tools/wptrunner/requirements.txt: Added.
352         * web-platform-tests/tools/wptrunner/requirements_chrome.txt: Added.
353         * web-platform-tests/tools/wptrunner/requirements_firefox.txt: Added.
354         * web-platform-tests/tools/wptrunner/requirements_sauce.txt: Added.
355         * web-platform-tests/tools/wptrunner/requirements_servo.txt: Added.
356         * web-platform-tests/tools/wptrunner/setup.py: Added.
357         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_and_fail.html.ini: Added.
358         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_cycle_fail.html.ini: Added.
359         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_match_fail.html.ini: Added.
360         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_mismatch_fail.html.ini: Added.
361         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_ref_timeout.html.ini: Added.
362         * web-platform-tests/tools/wptrunner/test/metadata/reftest/reftest_timeout.html.ini: Added.
363         * web-platform-tests/tools/wptrunner/test/metadata/reftest/w3c-import.log: Added.
364         * web-platform-tests/tools/wptrunner/test/metadata/testharness/firefox/__dir__.ini: Added.
365         * web-platform-tests/tools/wptrunner/test/metadata/testharness/firefox/subdir/test_pref_reset.html.ini: Added.
366         * web-platform-tests/tools/wptrunner/test/metadata/testharness/firefox/subdir/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/py/doc/img/w3c-import.log.
367         * web-platform-tests/tools/wptrunner/test/metadata/testharness/firefox/test_pref_set.html.ini: Added.
368         * web-platform-tests/tools/wptrunner/test/metadata/testharness/firefox/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/w3c-import.log.
369         * web-platform-tests/tools/wptrunner/test/metadata/testharness/subdir/__dir__.ini: Added.
370         * web-platform-tests/tools/wptrunner/test/metadata/testharness/subdir/testharness_1.html.ini: Added.
371         * web-platform-tests/tools/wptrunner/test/metadata/testharness/subdir/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/testdata/encoding/chardet/w3c-import.log.
372         * web-platform-tests/tools/wptrunner/test/metadata/testharness/testharness_0.html.ini: Added.
373         * web-platform-tests/tools/wptrunner/test/metadata/testharness/testharness_error.html.ini: Added.
374         * web-platform-tests/tools/wptrunner/test/metadata/testharness/testharness_timeout.html.ini: Added.
375         * web-platform-tests/tools/wptrunner/test/metadata/testharness/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/w3c-import.log.
376         * web-platform-tests/tools/wptrunner/test/test.cfg.example: Added.
377         * web-platform-tests/tools/wptrunner/test/test.py: Added.
378         (setup_wptrunner_logging):
379         (ResultHandler):
380         (ResultHandler.__init__):
381         (ResultHandler.set_product):
382         (ResultHandler.__call__):
383         (test_settings):
384         (read_config):
385         (run_tests):
386         (settings_to_argv):
387         (set_from_args):
388         (run):
389         (get_parser):
390         (main):
391         * web-platform-tests/tools/wptrunner/test/testdata/reftest/green-expected.html: Added.
392         * web-platform-tests/tools/wptrunner/test/testdata/reftest/green-ref-expected.html: Added.
393         * web-platform-tests/tools/wptrunner/test/testdata/reftest/green-ref.html: Added.
394         * web-platform-tests/tools/wptrunner/test/testdata/reftest/green.html: Added.
395         * web-platform-tests/tools/wptrunner/test/testdata/reftest/red.html: Added.
396         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest.https-expected.html: Added.
397         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest.https.html: Added.
398         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_and_fail-expected.html: Added.
399         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_and_fail.html: Added.
400         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_and_fail_0-ref-expected.html: Added.
401         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_and_fail_0-ref.html: Added.
402         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle-expected.html: Added.
403         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle.html: Added.
404         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_0-ref-expected.html: Added.
405         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_0-ref.html: Added.
406         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_1-ref-expected.html: Added.
407         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_1-ref.html: Added.
408         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_fail-expected.html: Added.
409         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_fail.html: Added.
410         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_fail_0-ref-expected.html: Added.
411         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_cycle_fail_0-ref.html: Added.
412         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_match-expected.html: Added.
413         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_match.html: Added.
414         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_match_fail-expected.html: Added.
415         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_match_fail.html: Added.
416         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_mismatch-expected.html: Added.
417         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_mismatch.html: Added.
418         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_mismatch_fail-expected.html: Added.
419         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_mismatch_fail.html: Added.
420         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_or_0-expected.html: Added.
421         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_or_0.html: Added.
422         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_ref_timeout-expected.html: Added.
423         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_ref_timeout.html: Added.
424         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_timeout-expected.html: Added.
425         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_timeout.html: Added.
426         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_wait_0-expected.html: Added.
427         * web-platform-tests/tools/wptrunner/test/testdata/reftest/reftest_wait_0.html: Added.
428         * web-platform-tests/tools/wptrunner/test/testdata/reftest/w3c-import.log: Added.
429         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/subdir/test_pref_inherit.html: Added.
430         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/subdir/test_pref_reset.html: Added.
431         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/subdir/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/performance/w3c-import.log.
432         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/test_pref_dir.html: Added.
433         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/test_pref_set.html: Added.
434         * web-platform-tests/tools/wptrunner/test/testdata/testharness/firefox/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/w3c-import.log.
435         * web-platform-tests/tools/wptrunner/test/testdata/testharness/subdir/testharness_1.html: Added.
436         * web-platform-tests/tools/wptrunner/test/testdata/testharness/subdir/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/py/doc/img/w3c-import.log.
437         * web-platform-tests/tools/wptrunner/test/testdata/testharness/testharness.https.html: Added.
438         * web-platform-tests/tools/wptrunner/test/testdata/testharness/testharness_0.html: Added.
439         * web-platform-tests/tools/wptrunner/test/testdata/testharness/testharness_error.html: Added.
440         * web-platform-tests/tools/wptrunner/test/testdata/testharness/testharness_long_timeout.html: Added.
441         * web-platform-tests/tools/wptrunner/test/testdata/testharness/testharness_timeout.html: Added.
442         * web-platform-tests/tools/wptrunner/test/testdata/testharness/w3c-import.log: Added.
443         * web-platform-tests/tools/wptrunner/test/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/testdata/sanitizer/w3c-import.log.
444         * web-platform-tests/tools/wptrunner/tox.ini: Added.
445         * web-platform-tests/tools/wptrunner/w3c-import.log: Added.
446         * web-platform-tests/tools/wptrunner/wptrunner.default.ini: Added.
447         * web-platform-tests/tools/wptrunner/wptrunner/__init__.py: Added.
448         * web-platform-tests/tools/wptrunner/wptrunner/browsers/__init__.py: Added.
449         * web-platform-tests/tools/wptrunner/wptrunner/browsers/b2g_setup/certtest_app.zip: Added.
450         * web-platform-tests/tools/wptrunner/wptrunner/browsers/b2g_setup/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/py/doc/img/w3c-import.log.
451         * web-platform-tests/tools/wptrunner/wptrunner/browsers/base.py: Added.
452         (cmd_arg):
453         (get_free_port):
454         (browser_command):
455         (BrowserError):
456         (Browser):
457         (Browser.__init__):
458         (Browser.__init__.serving):
459         (Browser.__init__.also):
460         (Browser.__enter__):
461         (Browser.__exit__):
462         (Browser.setup):
463         (Browser.start):
464         (Browser.stop):
465         (Browser.pid):
466         (Browser.is_alive):
467         (Browser.setup_ssl):
468         (Browser.cleanup):
469         (Browser.executor_browser):
470         (Browser.executor_browser.for):
471         (Browser.log_crash):
472         (NullBrowser):
473         (NullBrowser.__init__):
474         (NullBrowser.start):
475         (NullBrowser.stop):
476         (NullBrowser.pid):
477         (NullBrowser.is_alive):
478         (NullBrowser.on_output):
479         (ExecutorBrowser):
480         (ExecutorBrowser.__init__):
481         * web-platform-tests/tools/wptrunner/wptrunner/browsers/chrome.py: Added.
482         (check_args):
483         (browser_kwargs):
484         (executor_kwargs):
485         (env_extras):
486         (env_options):
487         (ChromeBrowser):
488         (ChromeBrowser.__init__):
489         (ChromeBrowser.start):
490         (ChromeBrowser.stop):
491         (ChromeBrowser.pid):
492         (ChromeBrowser.is_alive):
493         (ChromeBrowser.cleanup):
494         (ChromeBrowser.executor_browser):
495         * web-platform-tests/tools/wptrunner/wptrunner/browsers/edge.py: Added.
496         (check_args):
497         (browser_kwargs):
498         (executor_kwargs):
499         (env_extras):
500         (env_options):
501         (EdgeBrowser):
502         (EdgeBrowser.__init__):
503         (EdgeBrowser.start):
504         (EdgeBrowser.stop):
505         (EdgeBrowser.pid):
506         (EdgeBrowser.is_alive):
507         (EdgeBrowser.cleanup):
508         (EdgeBrowser.executor_browser):
509         * web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py: Added.
510         (check_args):
511         (browser_kwargs):
512         (executor_kwargs):
513         (env_extras):
514         (env_options):
515         (run_info_extras):
516         (update_properties):
517         (FirefoxBrowser):
518         (FirefoxBrowser.__init__):
519         (FirefoxBrowser.start):
520         (FirefoxBrowser.load_prefs):
521         (FirefoxBrowser.stop):
522         (FirefoxBrowser.pid):
523         (FirefoxBrowser.on_output):
524         (FirefoxBrowser.is_alive):
525         (FirefoxBrowser.cleanup):
526         (FirefoxBrowser.executor_browser):
527         (FirefoxBrowser.log_crash):
528         (FirefoxBrowser.setup_ssl):
529         (FirefoxBrowser.setup_ssl.certutil):
530         * web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce.py: Added.
531         (get_capabilities):
532         (get_sauce_config):
533         (check_args):
534         (browser_kwargs):
535         (executor_kwargs):
536         (env_extras):
537         (env_options):
538         (get_tar):
539         (SauceConnect):
540         (SauceConnect.__init__):
541         (SauceConnect.__enter__):
542         (SauceConnect.__exit__):
543         (SauceConnect.upload_prerun_exec):
544         (SauceException):
545         (SauceBrowser):
546         (SauceBrowser.__init__):
547         (SauceBrowser.start):
548         (SauceBrowser.stop):
549         (SauceBrowser.pid):
550         (SauceBrowser.is_alive):
551         (SauceBrowser.cleanup):
552         (SauceBrowser.executor_browser):
553         * web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat: Added.
554         * web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/safari-prerun.sh: Added.
555         * web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/tests/w3c-import.log.
556         * web-platform-tests/tools/wptrunner/wptrunner/browsers/server-locations.txt: Added.
557         * web-platform-tests/tools/wptrunner/wptrunner/browsers/servo.py: Added.
558         (check_args):
559         (browser_kwargs):
560         (executor_kwargs):
561         (env_extras):
562         (env_options):
563         (update_properties):
564         (ServoBrowser):
565         (ServoBrowser.__init__):
566         (ServoBrowser.executor_browser):
567         * web-platform-tests/tools/wptrunner/wptrunner/browsers/servodriver.py: Added.
568         (check_args):
569         (browser_kwargs):
570         (executor_kwargs):
571         (env_extras):
572         (env_options):
573         (update_properties):
574         (make_hosts_file):
575         (ServoWebDriverBrowser):
576         (ServoWebDriverBrowser.__init__):
577         (ServoWebDriverBrowser.start):
578         (ServoWebDriverBrowser.stop):
579         (ServoWebDriverBrowser.pid):
580         (ServoWebDriverBrowser.on_output):
581         (ServoWebDriverBrowser.is_alive):
582         (ServoWebDriverBrowser.cleanup):
583         (ServoWebDriverBrowser.executor_browser):
584         * web-platform-tests/tools/wptrunner/wptrunner/browsers/w3c-import.log: Added.
585         * web-platform-tests/tools/wptrunner/wptrunner/config.json: Added.
586         * web-platform-tests/tools/wptrunner/wptrunner/config.py: Added.
587         (ConfigDict):
588         (ConfigDict.__init__):
589         (ConfigDict.get_path):
590         (read):
591         (path):
592         (load):
593         * web-platform-tests/tools/wptrunner/wptrunner/environment.py: Added.
594         (do_delayed_imports):
595         (serve_path):
596         (get_ssl_kwargs):
597         (ssl_env):
598         (TestEnvironmentError):
599         (TestEnvironment):
600         (TestEnvironment.__init__):
601         (TestEnvironment.__enter__):
602         (TestEnvironment.__exit__):
603         (TestEnvironment.ignore_interrupts):
604         (TestEnvironment.process_interrupts):
605         (TestEnvironment.load_config):
606         (TestEnvironment.setup_server_logging):
607         (TestEnvironment.get_routes):
608         (TestEnvironment.ensure_started):
609         * web-platform-tests/tools/wptrunner/wptrunner/executors/__init__.py: Added.
610         * web-platform-tests/tools/wptrunner/wptrunner/executors/base.py: Added.
611         (executor_kwargs):
612         (strip_server):
613         (TestharnessResultConverter):
614         (TestharnessResultConverter.__call__):
615         (reftest_result_converter):
616         (pytest_result_converter):
617         (ExecutorException):
618         (ExecutorException.__init__):
619         (TestExecutor):
620         (TestExecutor.__init__):
621         (TestExecutor.__init__.for):
622         (TestExecutor.logger):
623         (TestExecutor.setup):
624         (TestExecutor.teardown):
625         (TestExecutor.run_test):
626         (TestExecutor.server_url):
627         (TestExecutor.test_url):
628         (TestExecutor.do_test):
629         (TestExecutor.on_environment_change):
630         (TestExecutor.result_from_exception):
631         (TestharnessExecutor):
632         (RefTestExecutor):
633         (RefTestExecutor.__init__):
634         (RefTestImplementation):
635         (RefTestImplementation.__init__):
636         (RefTestImplementation.logger):
637         (RefTestImplementation.get_hash):
638         (RefTestImplementation.is_pass):
639         (RefTestImplementation.run_test):
640         (RefTestImplementation.retake_screenshot):
641         (WdspecExecutor):
642         (Protocol):
643         (Protocol.__init__):
644         (Protocol.logger):
645         (Protocol.setup):
646         (Protocol.teardown):
647         (Protocol.wait):
648         * web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py: Added.
649         (do_delayed_imports):
650         (MarionetteProtocol):
651         (MarionetteProtocol.__init__):
652         (MarionetteProtocol.setup):
653         (MarionetteProtocol.teardown):
654         (MarionetteProtocol.is_alive):
655         (MarionetteProtocol.after_connect):
656         (MarionetteProtocol.set_timeout):
657         (MarionetteProtocol.load_runner):
658         (MarionetteProtocol.close_old_windows):
659         (MarionetteProtocol.wait):
660         (MarionetteProtocol.on_environment_change):
661         (MarionetteProtocol.set_pref):
662         (MarionetteProtocol.clear_user_pref):
663         (MarionetteProtocol.get_pref):
664         (MarionetteProtocol.clear_origin):
665         (RemoteMarionetteProtocol):
666         (RemoteMarionetteProtocol.__init__):
667         (RemoteMarionetteProtocol.setup):
668         (RemoteMarionetteProtocol.teardown):
669         (RemoteMarionetteProtocol.is_alive):
670         (ExecuteAsyncScriptRun):
671         (ExecuteAsyncScriptRun.__init__):
672         (ExecuteAsyncScriptRun.run):
673         (ExecuteAsyncScriptRun._run):
674         (MarionetteTestharnessExecutor):
675         (MarionetteTestharnessExecutor.__init__):
676         (MarionetteTestharnessExecutor.is_alive):
677         (MarionetteTestharnessExecutor.on_environment_change):
678         (MarionetteTestharnessExecutor.do_test):
679         (MarionetteTestharnessExecutor.do_testharness):
680         (MarionetteRefTestExecutor):
681         (MarionetteRefTestExecutor.__init__):
682         (MarionetteRefTestExecutor.is_alive):
683         (MarionetteRefTestExecutor.on_environment_change):
684         (MarionetteRefTestExecutor.do_test):
685         (MarionetteRefTestExecutor.screenshot):
686         (MarionetteRefTestExecutor._screenshot):
687         (WdspecRun):
688         (WdspecRun.__init__):
689         (WdspecRun.run):
690         (WdspecRun._run):
691         (MarionetteWdspecExecutor):
692         (MarionetteWdspecExecutor.__init__):
693         (MarionetteWdspecExecutor.is_alive):
694         (MarionetteWdspecExecutor.on_environment_change):
695         (MarionetteWdspecExecutor.do_test):
696         (MarionetteWdspecExecutor.do_wdspec):
697         (MarionetteWdspecExecutor.do_delayed_imports):
698         * web-platform-tests/tools/wptrunner/wptrunner/executors/executorselenium.py: Added.
699         (do_delayed_imports):
700         (SeleniumProtocol):
701         (SeleniumProtocol.__init__):
702         (SeleniumProtocol.setup):
703         (SeleniumProtocol.teardown):
704         (SeleniumProtocol.is_alive):
705         (SeleniumProtocol.after_connect):
706         (SeleniumProtocol.load_runner):
707         (SeleniumProtocol.wait):
708         (SeleniumRun):
709         (SeleniumRun.__init__):
710         (SeleniumRun.run):
711         (SeleniumRun._run):
712         (SeleniumTestharnessExecutor):
713         (SeleniumTestharnessExecutor.__init__):
714         (SeleniumTestharnessExecutor.is_alive):
715         (SeleniumTestharnessExecutor.on_environment_change):
716         (SeleniumTestharnessExecutor.do_test):
717         (SeleniumTestharnessExecutor.do_testharness):
718         (SeleniumRefTestExecutor):
719         (SeleniumRefTestExecutor.__init__):
720         (SeleniumRefTestExecutor.is_alive):
721         (SeleniumRefTestExecutor.do_test):
722         (SeleniumRefTestExecutor.screenshot):
723         (SeleniumRefTestExecutor._screenshot):
724         * web-platform-tests/tools/wptrunner/wptrunner/executors/executorservo.py: Added.
725         (make_hosts_file):
726         (ServoTestharnessExecutor):
727         (ServoTestharnessExecutor.__init__):
728         (ServoTestharnessExecutor.teardown):
729         (ServoTestharnessExecutor.do_test):
730         (ServoTestharnessExecutor.on_output):
731         (ServoTestharnessExecutor.on_finish):
732         (TempFilename):
733         (TempFilename.__init__):
734         (TempFilename.__enter__):
735         (TempFilename.__exit__):
736         (ServoRefTestExecutor):
737         (ServoRefTestExecutor.__init__):
738         (ServoRefTestExecutor.teardown):
739         (ServoRefTestExecutor.screenshot):
740         (ServoRefTestExecutor.do_test):
741         (ServoRefTestExecutor.on_output):
742         (ServoWdspecProtocol):
743         (ServoWdspecProtocol.__init__):
744         (ServoWdspecProtocol.setup):
745         (ServoWdspecProtocol.teardown):
746         (ServoWdspecProtocol.is_alive):
747         (ServoWdspecProtocol.do_delayed_imports):
748         (ServoWdspecExecutor):
749         (ServoWdspecExecutor.__init__):
750         (ServoWdspecExecutor.is_alive):
751         (ServoWdspecExecutor.on_environment_change):
752         (ServoWdspecExecutor.do_test):
753         (ServoWdspecExecutor.do_wdspec):
754         * web-platform-tests/tools/wptrunner/wptrunner/executors/executorservodriver.py: Added.
755         (do_delayed_imports):
756         (ServoWebDriverProtocol):
757         (ServoWebDriverProtocol.__init__):
758         (ServoWebDriverProtocol.setup):
759         (ServoWebDriverProtocol.teardown):
760         (ServoWebDriverProtocol.is_alive):
761         (ServoWebDriverProtocol.after_connect):
762         (ServoWebDriverProtocol.wait):
763         (ServoWebDriverProtocol.on_environment_change):
764         (ServoWebDriverRun):
765         (ServoWebDriverRun.__init__):
766         (ServoWebDriverRun.run):
767         (ServoWebDriverRun._run):
768         (timeout_func):
769         (ServoWebDriverTestharnessExecutor):
770         (ServoWebDriverTestharnessExecutor.__init__):
771         (ServoWebDriverTestharnessExecutor.on_protocol_change):
772         (ServoWebDriverTestharnessExecutor.is_alive):
773         (ServoWebDriverTestharnessExecutor.do_test):
774         (ServoWebDriverTestharnessExecutor.do_testharness):
775         (TimeoutError):
776         (ServoWebDriverRefTestExecutor):
777         (ServoWebDriverRefTestExecutor.__init__):
778         (ServoWebDriverRefTestExecutor.is_alive):
779         (ServoWebDriverRefTestExecutor.do_test):
780         (ServoWebDriverRefTestExecutor.screenshot):
781         (ServoWebDriverRefTestExecutor._screenshot):
782         * web-platform-tests/tools/wptrunner/wptrunner/executors/process.py: Added.
783         (ProcessTestExecutor):
784         (ProcessTestExecutor.__init__):
785         (ProcessTestExecutor.setup):
786         (ProcessTestExecutor.is_alive):
787         (ProcessTestExecutor.do_test):
788         * web-platform-tests/tools/wptrunner/wptrunner/executors/pytestrunner/__init__.py: Added.
789         * web-platform-tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py: Added.
790         (do_delayed_imports):
791         (run):
792         (SubtestResultRecorder):
793         (SubtestResultRecorder.__init__):
794         (SubtestResultRecorder.pytest_runtest_logreport):
795         (SubtestResultRecorder.record_pass):
796         (SubtestResultRecorder.record_fail):
797         (SubtestResultRecorder.record_error):
798         (SubtestResultRecorder.record_skip):
799         (SubtestResultRecorder.record):
800         (TemporaryDirectory):
801         (TemporaryDirectory.__enter__):
802         (TemporaryDirectory.__exit__):
803         * web-platform-tests/tools/wptrunner/wptrunner/executors/pytestrunner/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/w3c-import.log.
804         * web-platform-tests/tools/wptrunner/wptrunner/executors/reftest-wait.js: Added.
805         (test):
806         * web-platform-tests/tools/wptrunner/wptrunner/executors/reftest-wait_servodriver.js: Added.
807         (check_done):
808         * web-platform-tests/tools/wptrunner/wptrunner/executors/reftest-wait_webdriver.js: Added.
809         (test):
810         * web-platform-tests/tools/wptrunner/wptrunner/executors/reftest.js: Added.
811         * web-platform-tests/tools/wptrunner/wptrunner/executors/testharness_marionette.js: Added.
812         (listener):
813         (timeout.s.timer.setTimeout):
814         * web-platform-tests/tools/wptrunner/wptrunner/executors/testharness_servodriver.js: Added.
815         * web-platform-tests/tools/wptrunner/wptrunner/executors/testharness_webdriver.js: Added.
816         (f):
817         (timer.setTimeout):
818         * web-platform-tests/tools/wptrunner/wptrunner/executors/w3c-import.log: Added.
819         * web-platform-tests/tools/wptrunner/wptrunner/expected.py: Added.
820         (expected_path):
821         * web-platform-tests/tools/wptrunner/wptrunner/hosts.py: Added.
822         (HostsLine):
823         (HostsLine.__init__):
824         (HostsLine.from_string):
825         (HostsFile):
826         (HostsFile.__init__):
827         (HostsFile.set_host):
828         (HostsFile.from_file):
829         (HostsFile.to_string):
830         (HostsFile.to_file):
831         * web-platform-tests/tools/wptrunner/wptrunner/manifestexpected.py: Added.
832         (data_cls_getter):
833         (bool_prop):
834         (tags):
835         (prefs):
836         (prefs.value):
837         (ExpectedManifest):
838         (ExpectedManifest.__init__):
839         (ExpectedManifest.append):
840         (ExpectedManifest._remove_child):
841         (ExpectedManifest.get_test):
842         (ExpectedManifest.url):
843         (ExpectedManifest.disabled):
844         (ExpectedManifest.restart_after):
845         (ExpectedManifest.tags):
846         (ExpectedManifest.prefs):
847         (DirectoryManifest):
848         (DirectoryManifest.disabled):
849         (DirectoryManifest.restart_after):
850         (DirectoryManifest.tags):
851         (DirectoryManifest.prefs):
852         (TestNode):
853         (TestNode.__init__):
854         (TestNode.is_empty):
855         (TestNode.test_type):
856         (TestNode.id):
857         (TestNode.disabled):
858         (TestNode.restart_after):
859         (TestNode.tags):
860         (TestNode.prefs):
861         (TestNode.append):
862         (TestNode.get_subtest):
863         (SubtestNode):
864         (SubtestNode.__init__):
865         (SubtestNode.is_empty):
866         (get_manifest):
867         (get_dir_manifest):
868         * web-platform-tests/tools/wptrunner/wptrunner/manifestinclude.py: Added.
869         (IncludeManifest):
870         (IncludeManifest.__init__):
871         (IncludeManifest.create):
872         (IncludeManifest.append):
873         (IncludeManifest.include):
874         (IncludeManifest._include):
875         (IncludeManifest._get_components):
876         (IncludeManifest._add_rule):
877         (IncludeManifest.add_include):
878         (IncludeManifest.add_exclude):
879         (get_manifest):
880         * web-platform-tests/tools/wptrunner/wptrunner/manifestupdate.py: Added.
881         (ConditionError):
882         (data_cls_getter):
883         (ExpectedManifest):
884         (ExpectedManifest.__init__):
885         (ExpectedManifest.append):
886         (ExpectedManifest._remove_child):
887         (ExpectedManifest.get_test):
888         (ExpectedManifest.has_test):
889         (ExpectedManifest.url):
890         (TestNode):
891         (TestNode.__init__):
892         (TestNode.create):
893         (TestNode.is_empty):
894         (TestNode.test_type):
895         (TestNode.id):
896         (TestNode.disabled):
897         (TestNode.set_result):
898         (TestNode.coalesce_expected):
899         (TestNode._add_key_value):
900         (TestNode.clear_expected):
901         (TestNode.append):
902         (TestNode.get_subtest):
903         (SubtestNode):
904         (SubtestNode.__init__):
905         (SubtestNode.create):
906         (SubtestNode.is_empty):
907         (group_conditionals):
908         (make_expr):
909         (get_manifest):
910         (compile):
911         * web-platform-tests/tools/wptrunner/wptrunner/metadata.py: Added.
912         (load_test_manifests):
913         (update_expected):
914         (do_delayed_imports):
915         (files_in_repo):
916         (rev_range):
917         (paths_changed):
918         (load_change_data):
919         (unexpected_changes):
920         (update_from_logs):
921         (directory_manifests):
922         (write_changes):
923         (write_new_expected):
924         (ExpectedUpdater):
925         (ExpectedUpdater.__init__):
926         (ExpectedUpdater.update_from_log):
927         (ExpectedUpdater.suite_start):
928         (ExpectedUpdater.test_id):
929         (ExpectedUpdater.test_start):
930         (ExpectedUpdater.test_status):
931         (ExpectedUpdater.test_end):
932         (create_test_tree):
933         (create_expected):
934         (load_expected):
935         * web-platform-tests/tools/wptrunner/wptrunner/products.py: Added.
936         (products_enabled):
937         (product_module):
938         (load_product):
939         (load_product_update):
940         * web-platform-tests/tools/wptrunner/wptrunner/reduce.py: Added.
941         (setup_logging):
942         (group):
943         (next_power_of_two):
944         (Reducer):
945         (Reducer.__init__):
946         (Reducer.run):
947         (Reducer.unstable):
948         (Reducer.log_is_unstable):
949         (Reducer.log_is_unstable.handle_status):
950         (Reducer.log_is_unstable.handle_end):
951         (Reducer.get_initial_tests):
952         (do_reduce):
953         * web-platform-tests/tools/wptrunner/wptrunner/testharness_runner.html: Added.
954         * web-platform-tests/tools/wptrunner/wptrunner/testharnessreport-servo.js: Added.
955         (add_completion_callback):
956         * web-platform-tests/tools/wptrunner/wptrunner/testharnessreport-servodriver.js: Added.
957         (add_completion_callback.):
958         (add_completion_callback):
959         * web-platform-tests/tools/wptrunner/wptrunner/testharnessreport.js: Added.
960         * web-platform-tests/tools/wptrunner/wptrunner/testloader.py: Added.
961         (do_delayed_imports):
962         (TestChunker):
963         (TestChunker.__init__):
964         (TestChunker.__call__):
965         (Unchunked):
966         (Unchunked.__init__):
967         (Unchunked.__call__):
968         (HashChunker):
969         (HashChunker.__call__):
970         (DirectoryHashChunker):
971         (DirectoryHashChunker.__call__):
972         (EqualTimeChunker):
973         (EqualTimeChunker._group_by_directory):
974         (EqualTimeChunker._group_by_directory.PathData):
975         (EqualTimeChunker._group_by_directory.PathData.__init__):
976         (EqualTimeChunker._maybe_remove):
977         (EqualTimeChunker._maybe_add):
978         (EqualTimeChunker._maybe_move):
979         (EqualTimeChunker._badness):
980         (EqualTimeChunker._get_chunk):
981         (EqualTimeChunker._all_tests):
982         (EqualTimeChunker._chunked_tests):
983         (EqualTimeChunker._create_initial_chunks):
984         (EqualTimeChunker._create_initial_chunks.Chunk):
985         (EqualTimeChunker._create_initial_chunks.Chunk.__init__):
986         (EqualTimeChunker._create_initial_chunks.Chunk.appendleft):
987         (EqualTimeChunker._create_initial_chunks.Chunk.append):
988         (EqualTimeChunker._create_initial_chunks.Chunk.pop):
989         (EqualTimeChunker._create_initial_chunks.Chunk.popleft):
990         (EqualTimeChunker._create_initial_chunks.Chunk.badness):
991         (EqualTimeChunker._update_chunks):
992         (EqualTimeChunker._get_tests):
993         (EqualTimeChunker.__call__):
994         (TestFilter):
995         (TestFilter.__init__):
996         (TestFilter.__call__):
997         (TagFilter):
998         (TagFilter.__init__):
999         (TagFilter.__call__):
1000         (ManifestLoader):
1001         (ManifestLoader.__init__):
1002         (ManifestLoader.load):
1003         (ManifestLoader.create_manifest):
1004         (ManifestLoader.update_manifest):
1005         (ManifestLoader.load_manifest):
1006         (iterfilter):
1007         (TestLoader):
1008         (TestLoader.__init__):
1009         (TestLoader.test_ids):
1010         (TestLoader.get_test):
1011         (TestLoader.load_dir_metadata):
1012         (TestLoader.load_metadata):
1013         (TestLoader.iter_tests):
1014         (TestLoader.iter_wpttest):
1015         (TestLoader._load_tests):
1016         (TestLoader.groups):
1017         (TestSource):
1018         (TestSource.queue_tests):
1019         (TestSource.requeue_test):
1020         (TestSource.__enter__):
1021         (TestSource.__exit__):
1022         (SingleTestSource):
1023         (SingleTestSource.__init__):
1024         (SingleTestSource.queue_tests):
1025         (SingleTestSource.get_queue):
1026         (SingleTestSource.requeue_test):
1027         (PathGroupedSource):
1028         (PathGroupedSource.__init__):
1029         (PathGroupedSource.queue_tests):
1030         (PathGroupedSource.get_queue):
1031         (PathGroupedSource.requeue_test):
1032         (PathGroupedSource.__exit__):
1033         * web-platform-tests/tools/wptrunner/wptrunner/testrunner.py: Added.
1034         (MessageLogger):
1035         (MessageLogger.__init__):
1036         (MessageLogger._log_data):
1037         (MessageLogger.process_output):
1038         (_log_func):
1039         (_log_func.log):
1040         (TestRunner):
1041         (TestRunner.__init__):
1042         (TestRunner.__init__.delegates):
1043         (TestRunner.__enter__):
1044         (TestRunner.__exit__):
1045         (TestRunner.setup):
1046         (TestRunner.teardown):
1047         (TestRunner.run):
1048         (TestRunner.stop):
1049         (TestRunner.run_test):
1050         (TestRunner.wait):
1051         (TestRunner.send_message):
1052         (start_runner):
1053         (next_manager_number):
1054         (BrowserManager):
1055         (BrowserManager.__init__):
1056         (BrowserManager.init):
1057         (BrowserManager.send_message):
1058         (BrowserManager.init_timeout):
1059         (BrowserManager.after_init):
1060         (BrowserManager.stop):
1061         (BrowserManager.cleanup):
1062         (BrowserManager.log_crash):
1063         (BrowserManager.is_alive):
1064         (_RunnerManagerState):
1065         (TestRunnerManager):
1066         (TestRunnerManager.__init__):
1067         (TestRunnerManager.run):
1068         (TestRunnerManager.wait_event):
1069         (TestRunnerManager.should_stop):
1070         (TestRunnerManager.start_init):
1071         (TestRunnerManager.init):
1072         (TestRunnerManager.start_test_runner):
1073         (TestRunnerManager.init_succeeded):
1074         (TestRunnerManager.init_failed):
1075         (TestRunnerManager.get_next_test):
1076         (TestRunnerManager.run_test):
1077         (TestRunnerManager.test_ended):
1078         (TestRunnerManager.wait_finished):
1079         (TestRunnerManager.after_test_end):
1080         (TestRunnerManager.restart_runner):
1081         (TestRunnerManager.log):
1082         (TestRunnerManager.error):
1083         (TestRunnerManager.stop_runner):
1084         (TestRunnerManager.teardown):
1085         (TestRunnerManager.ensure_runner_stopped):
1086         (TestRunnerManager.runner_teardown):
1087         (TestRunnerManager.send_message):
1088         (TestRunnerManager.cleanup):
1089         (TestQueue):
1090         (TestQueue.__init__):
1091         (TestQueue.__enter__):
1092         (TestQueue.__exit__):
1093         (ManagerGroup):
1094         (ManagerGroup.__init__):
1095         (ManagerGroup.__enter__):
1096         (ManagerGroup.__exit__):
1097         (ManagerGroup.run):
1098         (ManagerGroup.is_alive):
1099         (ManagerGroup.wait):
1100         (ManagerGroup.stop):
1101         (ManagerGroup.unexpected_count):
1102         * web-platform-tests/tools/wptrunner/wptrunner/tests/__init__.py: Added.
1103         * web-platform-tests/tools/wptrunner/wptrunner/tests/test_chunker.py: Added.
1104         (MockTest):
1105         (MockTest.__init__):
1106         (make_mock_manifest):
1107         (TestEqualTimeChunker):
1108         (TestEqualTimeChunker.test_include_all):
1109         (TestEqualTimeChunker.test_include_all_1):
1110         (TestEqualTimeChunker.test_long):
1111         (TestEqualTimeChunker.test_long_1):
1112         (TestEqualTimeChunker.test_too_few_dirs):
1113         * web-platform-tests/tools/wptrunner/wptrunner/tests/test_hosts.py: Added.
1114         (HostsTest):
1115         (HostsTest.do_test):
1116         (HostsTest.test_simple):
1117         (test_blank_lines):
1118         (test_whitespace):
1119         (test_alignment):
1120         (test_multiple_same_name):
1121         * web-platform-tests/tools/wptrunner/wptrunner/tests/test_testloader.py: Added.
1122         (test_filter_unicode):
1123         * web-platform-tests/tools/wptrunner/wptrunner/tests/test_update.py: Added.
1124         (TestExpectedUpdater):
1125         (TestExpectedUpdater.create_manifest):
1126         (TestExpectedUpdater.create_updater):
1127         (TestExpectedUpdater.create_log):
1128         (TestExpectedUpdater.coalesce_results):
1129         (TestExpectedUpdater.test_update_0):
1130         (TestExpectedUpdater.test_update_1):
1131         (TestExpectedUpdater.test_new_subtest):
1132         (TestExpectedUpdater.test_update_multiple_0):
1133         (TestExpectedUpdater.test_update_multiple_1):
1134         (TestExpectedUpdater.test_update_multiple_2):
1135         (TestExpectedUpdater.test_update_multiple_3):
1136         (TestExpectedUpdater.test_update_ignore_existing):
1137         * web-platform-tests/tools/wptrunner/wptrunner/tests/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/performance/w3c-import.log.
1138         * web-platform-tests/tools/wptrunner/wptrunner/update/__init__.py: Added.
1139         (remove_logging_args):
1140         (setup_logging):
1141         (run_update):
1142         (main):
1143         * web-platform-tests/tools/wptrunner/wptrunner/update/base.py: Added.
1144         (Step):
1145         (Step.__init__):
1146         (Step.run):
1147         (Step.run.for):
1148         (Step.create):
1149         (Step.restore):
1150         (StepRunner):
1151         (StepRunner.__init__):
1152         (StepRunner.run):
1153         * web-platform-tests/tools/wptrunner/wptrunner/update/metadata.py: Added.
1154         (GetUpdatePropertyList):
1155         (GetUpdatePropertyList.create):
1156         (UpdateExpected):
1157         (UpdateExpected.create):
1158         (CreateMetadataPatch):
1159         (CreateMetadataPatch.create):
1160         (MetadataUpdateRunner):
1161         * web-platform-tests/tools/wptrunner/wptrunner/update/state.py: Added.
1162         (State):
1163         (State.__new__):
1164         (State.__init__):
1165         (State.__getstate__):
1166         (State.load):
1167         (State.push):
1168         (State.save):
1169         (State.is_empty):
1170         (State.clear):
1171         (State.__setattr__):
1172         (State.__getattr__):
1173         (State.__contains__):
1174         (State.update):
1175         (State.keys):
1176         (StateContext):
1177         (StateContext.__init__):
1178         (StateContext.__enter__):
1179         (StateContext.__exit__):
1180         * web-platform-tests/tools/wptrunner/wptrunner/update/sync.py: Added.
1181         (copy_wpt_tree):
1182         (add_license):
1183         (UpdateCheckout):
1184         (UpdateCheckout.create):
1185         (UpdateCheckout.restore):
1186         (GetSyncTargetCommit):
1187         (GetSyncTargetCommit.create):
1188         (LoadManifest):
1189         (LoadManifest.create):
1190         (UpdateManifest):
1191         (UpdateManifest.create):
1192         (CopyWorkTree):
1193         (CopyWorkTree.create):
1194         (CreateSyncPatch):
1195         (CreateSyncPatch.create):
1196         (SyncFromUpstreamRunner):
1197         * web-platform-tests/tools/wptrunner/wptrunner/update/tree.py: Added.
1198         (get_unique_name):
1199         (NoVCSTree):
1200         (NoVCSTree.__init__):
1201         (NoVCSTree.is_type):
1202         (NoVCSTree.is_clean):
1203         (NoVCSTree.add_new):
1204         (NoVCSTree.create_patch):
1205         (NoVCSTree.update_patch):
1206         (NoVCSTree.commit_patch):
1207         (HgTree):
1208         (HgTree.__init__):
1209         (HgTree.__getstate__):
1210         (HgTree.__setstate__):
1211         (HgTree.is_type):
1212         (HgTree.is_clean):
1213         (HgTree.add_new):
1214         (HgTree.create_patch):
1215         (HgTree.update_patch):
1216         (HgTree.commit_patch):
1217         (HgTree.contains_commit):
1218         (GitTree):
1219         (GitTree.__init__):
1220         (GitTree.__getstate__):
1221         (GitTree.__setstate__):
1222         (GitTree.is_type):
1223         (GitTree.rev):
1224         (GitTree.is_clean):
1225         (GitTree.add_new):
1226         (GitTree.list_refs):
1227         (GitTree.list_remote):
1228         (GitTree.get_remote_sha1):
1229         (GitTree.create_patch):
1230         (GitTree.update_patch):
1231         (GitTree.commit_patch):
1232         (GitTree.init):
1233         (GitTree.checkout):
1234         (GitTree.update):
1235         (GitTree.clean):
1236         (GitTree.paths):
1237         (GitTree.submodules):
1238         (GitTree.contains_commit):
1239         (CommitMessage):
1240         (CommitMessage.__init__):
1241         (CommitMessage.__str__):
1242         (CommitMessage._parse_message):
1243         (Commit):
1244         (Commit.__init__):
1245         (Commit.__getstate__):
1246         (Commit.__setstate__):
1247         (Commit._get_meta):
1248         * web-platform-tests/tools/wptrunner/wptrunner/update/update.py: Added.
1249         (setup_paths):
1250         (LoadConfig):
1251         (LoadConfig.create):
1252         (LoadTrees):
1253         (LoadTrees.create):
1254         (SyncFromUpstream):
1255         (SyncFromUpstream.create):
1256         (UpdateMetadata):
1257         (UpdateMetadata.create):
1258         (UpdateRunner):
1259         (WPTUpdate):
1260         (WPTUpdate.__init__):
1261         (WPTUpdate.__init__.holding):
1262         (WPTUpdate.run):
1263         (WPTUpdate.abort):
1264         * web-platform-tests/tools/wptrunner/wptrunner/update/w3c-import.log: Added.
1265         * web-platform-tests/tools/wptrunner/wptrunner/vcs.py: Added.
1266         (vcs):
1267         (vcs.inner):
1268         (bind_to_repo):
1269         (is_git_root):
1270         * web-platform-tests/tools/wptrunner/wptrunner/w3c-import.log: Added.
1271         * web-platform-tests/tools/wptrunner/wptrunner/webdriver_server.py: Added.
1272         (WebDriverServer):
1273         (WebDriverServer.__init__):
1274         (WebDriverServer.make_command):
1275         (WebDriverServer.start):
1276         (WebDriverServer._run):
1277         (WebDriverServer.stop):
1278         (WebDriverServer.is_alive):
1279         (WebDriverServer.on_output):
1280         (WebDriverServer.pid):
1281         (WebDriverServer.url):
1282         (WebDriverServer.port):
1283         (WebDriverServer._find_next_free_port):
1284         (SeleniumServer):
1285         (SeleniumServer.make_command):
1286         (ChromeDriverServer):
1287         (ChromeDriverServer.__init__):
1288         (ChromeDriverServer.make_command):
1289         (EdgeDriverServer):
1290         (EdgeDriverServer.__init__):
1291         (EdgeDriverServer.make_command):
1292         (GeckoDriverServer):
1293         (GeckoDriverServer.__init__):
1294         (GeckoDriverServer.make_command):
1295         (ServoDriverServer):
1296         (ServoDriverServer.__init__):
1297         (ServoDriverServer.make_command):
1298         (cmd_arg):
1299         (get_free_port):
1300         (wait_for_service):
1301         * web-platform-tests/tools/wptrunner/wptrunner/wptcommandline.py: Added.
1302         (abs_path):
1303         (url_or_path):
1304         (require_arg):
1305         (create_parser):
1306         (set_from_config):
1307         (get_test_paths):
1308         (exe_path):
1309         (check_args):
1310         (check_args_update):
1311         (create_parser_update):
1312         (create_parser_reduce):
1313         (parse_args):
1314         (parse_args_update):
1315         (parse_args_reduce):
1316         * web-platform-tests/tools/wptrunner/wptrunner/wptlogging.py: Added.
1317         (setup):
1318         (setup_stdlib_logger):
1319         (LogLevelRewriter):
1320         (LogLevelRewriter.__init__):
1321         (LogLevelRewriter.__call__):
1322         (LogThread):
1323         (LogThread.__init__):
1324         (LogThread.run):
1325         (LoggingWrapper):
1326         (LoggingWrapper.__init__):
1327         (LoggingWrapper.write):
1328         (LoggingWrapper.flush):
1329         (CaptureIO):
1330         (CaptureIO.__init__):
1331         (CaptureIO.__enter__):
1332         (CaptureIO.__exit__):
1333         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/__init__.py: Added.
1334         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/backends/__init__.py: Added.
1335         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py: Added.
1336         (ConditionalValue):
1337         (ConditionalValue.__init__):
1338         (ConditionalValue.value):
1339         (ConditionalValue.__call__):
1340         (ConditionalValue.set_value):
1341         (ConditionalValue.remove):
1342         (Compiler):
1343         (Compiler.compile):
1344         (Compiler.compile.of):
1345         (Compiler.compile_condition):
1346         (Compiler._initial_output_node):
1347         (Compiler.visit_DataNode):
1348         (Compiler.visit_KeyValueNode):
1349         (Compiler.visit_ListNode):
1350         (Compiler.visit_ValueNode):
1351         (Compiler.visit_AtomNode):
1352         (Compiler.visit_ConditionalNode):
1353         (Compiler.visit_StringNode):
1354         (Compiler.visit_StringNode.value):
1355         (Compiler.visit_NumberNode):
1356         (Compiler.visit_VariableNode):
1357         (Compiler.visit_VariableNode.value):
1358         (Compiler.visit_IndexNode):
1359         (Compiler.visit_UnaryExpressionNode):
1360         (Compiler.visit_BinaryExpressionNode):
1361         (Compiler.visit_UnaryOperatorNode):
1362         (Compiler.visit_BinaryOperatorNode):
1363         (ManifestItem):
1364         (ManifestItem.__init__):
1365         (ManifestItem.__repr__):
1366         (ManifestItem.__str__):
1367         (ManifestItem.__contains__):
1368         (ManifestItem.is_empty):
1369         (ManifestItem.root):
1370         (ManifestItem.name):
1371         (ManifestItem.has_key):
1372         (ManifestItem.get):
1373         (ManifestItem.set):
1374         (ManifestItem._add_key_value):
1375         (ManifestItem.append):
1376         (ManifestItem.remove):
1377         (ManifestItem._remove_child):
1378         (ManifestItem.iterchildren):
1379         (ManifestItem._flatten):
1380         (ManifestItem.iteritems):
1381         (ManifestItem.iterkeys):
1382         (ManifestItem.remove_value):
1383         (compile_ast):
1384         (compile):
1385         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/backends/static.py: Added.
1386         (Compiler):
1387         (Compiler.compile):
1388         (Compiler.compile.of):
1389         (Compiler.visit_DataNode):
1390         (Compiler.visit_KeyValueNode):
1391         (Compiler.visit_ValueNode):
1392         (Compiler.visit_AtomNode):
1393         (Compiler.visit_ListNode):
1394         (Compiler.visit_ConditionalNode):
1395         (Compiler.visit_StringNode):
1396         (Compiler.visit_NumberNode):
1397         (Compiler.visit_VariableNode):
1398         (Compiler.visit_IndexNode):
1399         (Compiler.visit_UnaryExpressionNode):
1400         (Compiler.visit_BinaryExpressionNode):
1401         (Compiler.visit_UnaryOperatorNode):
1402         (Compiler.visit_BinaryOperatorNode):
1403         (ManifestItem):
1404         (ManifestItem.__init__):
1405         (ManifestItem.__repr__):
1406         (ManifestItem.__str__):
1407         (ManifestItem.is_empty):
1408         (ManifestItem.root):
1409         (ManifestItem.has_key):
1410         (ManifestItem.get):
1411         (ManifestItem.set):
1412         (ManifestItem.remove):
1413         (ManifestItem._remove_child):
1414         (ManifestItem.iterchildren):
1415         (ManifestItem._flatten):
1416         (ManifestItem.iteritems):
1417         (ManifestItem.iterkeys):
1418         (ManifestItem.itervalues):
1419         (ManifestItem.append):
1420         (compile_ast):
1421         (compile):
1422         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/backends/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/html5lib/html5lib/tests/performance/w3c-import.log.
1423         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/node.py: Added.
1424         (NodeVisitor):
1425         (NodeVisitor.visit):
1426         (NodeVisitor.visit.body):
1427         (Node):
1428         (Node.__init__):
1429         (Node.append):
1430         (Node.remove):
1431         (Node.__repr__):
1432         (Node.__str__):
1433         (Node.__eq__):
1434         (Node.copy):
1435         (DataNode):
1436         (DataNode.append):
1437         (KeyValueNode):
1438         (KeyValueNode.append):
1439         (ListNode):
1440         (ListNode.append):
1441         (ValueNode):
1442         (ValueNode.append):
1443         (AtomNode):
1444         (ConditionalNode):
1445         (UnaryExpressionNode):
1446         (UnaryExpressionNode.__init__):
1447         (UnaryExpressionNode.append):
1448         (UnaryExpressionNode.copy):
1449         (BinaryExpressionNode):
1450         (BinaryExpressionNode.__init__):
1451         (BinaryExpressionNode.append):
1452         (BinaryExpressionNode.copy):
1453         (UnaryOperatorNode):
1454         (UnaryOperatorNode.append):
1455         (BinaryOperatorNode):
1456         (BinaryOperatorNode.append):
1457         (IndexNode):
1458         (VariableNode):
1459         (StringNode):
1460         (NumberNode):
1461         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/parser.py: Added.
1462         (ParseError):
1463         (ParseError.__init__):
1464         (decode):
1465         (precedence):
1466         (TokenTypes):
1467         (TokenTypes.__init__):
1468         (Tokenizer):
1469         (Tokenizer.__init__):
1470         (Tokenizer.reset):
1471         (Tokenizer.tokenize):
1472         (Tokenizer.char):
1473         (Tokenizer.consume):
1474         (Tokenizer.peek):
1475         (Tokenizer.skip_whitespace):
1476         (Tokenizer.eol_state):
1477         (Tokenizer.line_start_state):
1478         (Tokenizer.data_line_state):
1479         (Tokenizer.heading_state):
1480         (Tokenizer.key_state):
1481         (Tokenizer.after_key_state):
1482         (Tokenizer.list_start_state):
1483         (Tokenizer.list_value_start_state):
1484         (Tokenizer.list_value_state):
1485         (Tokenizer.list_value_atom_state):
1486         (Tokenizer.list_end_state):
1487         (Tokenizer.value_state):
1488         (Tokenizer.value_inner_state):
1489         (Tokenizer.comment_state):
1490         (Tokenizer.line_end_state):
1491         (Tokenizer.consume_string):
1492         (Tokenizer.expr_or_value_state):
1493         (Tokenizer.expr_state):
1494         (Tokenizer.operator_state):
1495         (Tokenizer.digit_state):
1496         (Tokenizer.ident_state):
1497         (Tokenizer.consume_escape):
1498         (Tokenizer.decode_escape):
1499         (Tokenizer.escape_value):
1500         (Parser):
1501         (Parser.__init__):
1502         (Parser.reset):
1503         (Parser.parse):
1504         (Parser.consume):
1505         (Parser.expect):
1506         (Parser.manifest):
1507         (Parser.data_block):
1508         (Parser.eof_or_end_group):
1509         (Parser.value_block):
1510         (Parser.list_value):
1511         (Parser.expression_values):
1512         (Parser.value):
1513         (Parser.atom):
1514         (Parser.expr_start):
1515         (Parser.expr):
1516         (Parser.expr_operand):
1517         (Parser.expr_unary_op):
1518         (Parser.expr_bin_op):
1519         (Parser.expr_value):
1520         (Parser.expr_number):
1521         (Treebuilder):
1522         (Treebuilder.__init__):
1523         (Treebuilder.append):
1524         (Treebuilder.pop):
1525         (ExpressionBuilder):
1526         (ExpressionBuilder.__init__):
1527         (ExpressionBuilder.finish):
1528         (ExpressionBuilder.left_paren):
1529         (ExpressionBuilder.right_paren):
1530         (ExpressionBuilder.push_operator):
1531         (ExpressionBuilder.pop_operator):
1532         (ExpressionBuilder.push_operand):
1533         (ExpressionBuilder.pop_operand):
1534         (ExpressionBuilder.is_empty):
1535         (ExpressionBuilder.precedence):
1536         (parse):
1537         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/serializer.py: Added.
1538         (escape):
1539         (ManifestSerializer):
1540         (ManifestSerializer.__init__):
1541         (ManifestSerializer.serialize):
1542         (ManifestSerializer.visit_DataNode):
1543         (ManifestSerializer.visit_KeyValueNode):
1544         (ManifestSerializer.visit_ListNode):
1545         (ManifestSerializer.visit_ValueNode):
1546         (ManifestSerializer.visit_AtomNode):
1547         (ManifestSerializer.visit_ConditionalNode):
1548         (ManifestSerializer.visit_StringNode):
1549         (ManifestSerializer.visit_NumberNode):
1550         (ManifestSerializer.visit_VariableNode):
1551         (ManifestSerializer.visit_IndexNode):
1552         (ManifestSerializer.visit_UnaryExpressionNode):
1553         (ManifestSerializer.visit_BinaryExpressionNode):
1554         (ManifestSerializer.visit_UnaryOperatorNode):
1555         (ManifestSerializer.visit_BinaryOperatorNode):
1556         (serialize):
1557         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/__init__.py: Added.
1558         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_conditional.py: Added.
1559         (TestConditional):
1560         (TestConditional.compile):
1561         (TestConditional.test_get_0):
1562         (test_get_1):
1563         (test_get_2):
1564         (test_get_3):
1565         (test_set_0):
1566         (test_set_1):
1567         (test_set_2):
1568         (test_api_0):
1569         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_parser.py: Added.
1570         (TestExpression):
1571         (TestExpression.setUp):
1572         (TestExpression.parse):
1573         (TestExpression.compare):
1574         (TestExpression.match):
1575         (TestExpression.test_expr_0):
1576         (test_expr_1):
1577         (test_atom_0):
1578         (test_atom_1):
1579         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_serializer.py: Added.
1580         (TokenizerTest):
1581         (TokenizerTest.setUp):
1582         (TokenizerTest.serialize):
1583         (TokenizerTest.compare):
1584         (TokenizerTest.test_0):
1585         (test_1):
1586         (test_2):
1587         (test_3):
1588         (test_4):
1589         (test_5):
1590         (test_6):
1591         (test_7):
1592         (test_8):
1593         (test_9):
1594         (test_10):
1595         (test_11):
1596         (test_12):
1597         (test_13):
1598         (test_14):
1599         (test_15):
1600         (test_16):
1601         (test_17):
1602         (test_18):
1603         (test_escape_0):
1604         (test_escape_1):
1605         (test_escape_2):
1606         (test_escape_3):
1607         (test_escape_4):
1608         (test_escape_5):
1609         (test_escape_6):
1610         (test_escape_7):
1611         (test_escape_8):
1612         (test_escape_9):
1613         (test_escape_10):
1614         (test_escape_11):
1615         (test_atom_1):
1616         (test_atom_2):
1617         (test_atom_3):
1618         (test_atom_4):
1619         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_static.py: Added.
1620         (TestStatic):
1621         (TestStatic.compile):
1622         (TestStatic.test_get_0):
1623         (test_get_1):
1624         (test_get_3):
1625         (test_get_4):
1626         (test_api):
1627         (test_is_empty_1):
1628         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/test_tokenizer.py: Added.
1629         (TokenizerTest):
1630         (TokenizerTest.setUp):
1631         (TokenizerTest.tokenize):
1632         (TokenizerTest.compare):
1633         (TokenizerTest.test_heading_0):
1634         (TokenizerTest.test_heading_1):
1635         (TokenizerTest.test_heading_2):
1636         (TokenizerTest.test_heading_3):
1637         (TokenizerTest.test_heading_4):
1638         (TokenizerTest.test_heading_5):
1639         (TokenizerTest.test_heading_6):
1640         (TokenizerTest.test_key_0):
1641         (TokenizerTest.test_key_1):
1642         (TokenizerTest.test_key_2):
1643         (TokenizerTest.test_key_3):
1644         (TokenizerTest.test_key_4):
1645         (TokenizerTest.test_key_5):
1646         (TokenizerTest.test_key_6):
1647         (TokenizerTest.test_key_7):
1648         (TokenizerTest.test_key_8):
1649         (TokenizerTest.test_key_9):
1650         (TokenizerTest.test_key_10):
1651         (TokenizerTest.test_key_11):
1652         (TokenizerTest.test_key_12):
1653         (TokenizerTest.test_key_13):
1654         (TokenizerTest.test_key_14):
1655         (TokenizerTest.test_list_0):
1656         (test_list_1):
1657         (test_list_2):
1658         (test_list_3):
1659         (test_list_4):
1660         (test_list_5):
1661         (test_list_6):
1662         (test_expr_0):
1663         (test_expr_1):
1664         (test_expr_2):
1665         (test_expr_3):
1666         (test_expr_4):
1667         (test_expr_5):
1668         (test_expr_6):
1669         (test_expr_7):
1670         (test_expr_8):
1671         (test_expr_9):
1672         (test_expr_10):
1673         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/tests/w3c-import.log: Added.
1674         * web-platform-tests/tools/wptrunner/wptrunner/wptmanifest/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/tools/gitignore/w3c-import.log.
1675         * web-platform-tests/tools/wptrunner/wptrunner/wptrunner.py: Added.
1676         (setup_logging):
1677         (get_loader):
1678         (list_test_groups):
1679         (list_disabled):
1680         (get_pause_after_test):
1681         (run_tests):
1682         (start):
1683         (main):
1684         * web-platform-tests/tools/wptrunner/wptrunner/wpttest.py: Added.
1685         (Result):
1686         (Result.__init__):
1687         (Result.__repr__):
1688         (SubtestResult):
1689         (SubtestResult.__init__):
1690         (SubtestResult.__repr__):
1691         (TestharnessResult):
1692         (TestharnessSubtestResult):
1693         (ReftestResult):
1694         (WdspecResult):
1695         (WdspecSubtestResult):
1696         (get_run_info):
1697         (RunInfo):
1698         (RunInfo.__init__):
1699         (RunInfo._update_mozinfo):
1700         (Test):
1701         (Test.__init__):
1702         (Test.__eq__):
1703         (Test.from_manifest):
1704         (Test.id):
1705         (Test.keys):
1706         (Test.abs_path):
1707         (Test._get_metadata):
1708         (Test.itermeta):
1709         (Test.disabled):
1710         (Test.restart_after):
1711         (Test.tags):
1712         (Test.prefs):
1713         (Test.expected):
1714         (Test.__repr__):
1715         (TestharnessTest):
1716         (TestharnessTest.id):
1717         (ManualTest):
1718         (ManualTest.id):
1719         (ReftestTest):
1720         (ReftestTest.__init__):
1721         (ReftestTest.from_manifest):
1722         (ReftestTest.id):
1723         (ReftestTest.keys):
1724         (WdspecTest):
1725         (from_manifest):
1726         * web-platform-tests/tools/wptserve/docs/w3c-import.log:
1727         * web-platform-tests/tools/wptserve/tests/functional/docroot/subdir/w3c-import.log:
1728         * web-platform-tests/tools/wptserve/tests/functional/docroot/w3c-import.log:
1729         * web-platform-tests/tools/wptserve/tests/functional/w3c-import.log:
1730         * web-platform-tests/tools/wptserve/w3c-import.log:
1731         * web-platform-tests/tools/wptserve/wptserve/w3c-import.log:
1732         * web-platform-tests/url/interfaces-expected.txt:
1733
1734 2017-05-18  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1735
1736         [Readable Streams API] Align getDesiredSize with spec
1737         https://bugs.webkit.org/show_bug.cgi?id=172220
1738
1739         Reviewed by Chris Dumez.
1740
1741         Updated test expectations (tests are now passing).
1742
1743         * web-platform-tests/streams/readable-byte-streams/general-expected.txt: Updated.
1744         * web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt: Updated.
1745         * web-platform-tests/streams/readable-streams/general-expected.txt: Updated.
1746         * web-platform-tests/streams/readable-streams/general.dedicatedworker-expected.txt: Updated.
1747
1748 2017-05-17  Chris Dumez  <cdumez@apple.com>
1749
1750         Setting URL.search to '' results in a stringified URL ending in '?'
1751         https://bugs.webkit.org/show_bug.cgi?id=162345
1752         <rdar://problem/31800441>
1753
1754         Reviewed by Alex Christensen.
1755
1756         Rebaseline web-platform-test now that more checks are passing.
1757
1758         * web-platform-tests/url/url-setters-expected.txt:
1759
1760 2017-05-17  Matt Lewis  <jlewis3@apple.com>
1761
1762         Unreviewed, rolling out r216974.
1763
1764         Revision caused consistent timeouts on all platforms.
1765
1766         Reverted changeset:
1767
1768         "Add a RuntimeEnabledFeature for display: contents, defaulted
1769         to false."
1770         https://bugs.webkit.org/show_bug.cgi?id=171984
1771         http://trac.webkit.org/changeset/216974
1772
1773 2017-05-17  Chris Dumez  <cdumez@apple.com>
1774
1775         Import Notification tests from web-platform-tests
1776         https://bugs.webkit.org/show_bug.cgi?id=172196
1777
1778         Reviewed by Youenn Fablet.
1779
1780         * resources/import-expectations.json:
1781         * web-platform-tests/notifications/OWNERS: Added.
1782         * web-platform-tests/notifications/common.js: Added.
1783         (createPassFail):
1784         (clearPassFail):
1785         (closeNotifications):
1786         (hasNotificationPermission):
1787         * web-platform-tests/notifications/constructor-basic-expected.txt: Added.
1788         * web-platform-tests/notifications/constructor-basic.html: Added.
1789         * web-platform-tests/notifications/constructor-invalid-expected.txt: Added.
1790         * web-platform-tests/notifications/constructor-invalid.html: Added.
1791         * web-platform-tests/notifications/event-onclose-expected.txt: Added.
1792         * web-platform-tests/notifications/event-onclose.html: Added.
1793         * web-platform-tests/notifications/event-onshow-expected.txt: Added.
1794         * web-platform-tests/notifications/event-onshow.html: Added.
1795         * web-platform-tests/notifications/instance-expected.txt: Added.
1796         * web-platform-tests/notifications/instance.html: Added.
1797         * web-platform-tests/notifications/interfaces-expected.txt: Added.
1798         * web-platform-tests/notifications/interfaces.html: Added.
1799         * web-platform-tests/notifications/lang-expected.txt: Added.
1800         * web-platform-tests/notifications/lang.html: Added.
1801         * web-platform-tests/notifications/permission-expected.txt: Added.
1802         * web-platform-tests/notifications/permission.html: Added.
1803         * web-platform-tests/notifications/resources/icon.png: Added.
1804         * web-platform-tests/notifications/resources/shownotification-sw.js: Added.
1805         (self.onmessage.event.then):
1806         * web-platform-tests/notifications/resources/w3c-import.log: Added.
1807         * web-platform-tests/notifications/shownotification-resolve-manual.https-expected.txt: Added.
1808         * web-platform-tests/notifications/shownotification-resolve-manual.https.html: Added.
1809         * web-platform-tests/notifications/w3c-import.log: Added.
1810
1811 2017-05-17  Ben Kelly  <ben@wanderview.com>
1812
1813         Import FileAPI WPT tests.
1814         https://bugs.webkit.org/show_bug.cgi?id=171960
1815
1816         Reviewed by Youenn Fablet.
1817
1818         * resources/import-expectations.json:
1819         * resources/resource-files.json:
1820         * web-platform-tests/FileAPI/BlobURL/support/file_test1.js: Added.
1821         * web-platform-tests/FileAPI/BlobURL/support/file_test2.txt: Added.
1822         * web-platform-tests/FileAPI/BlobURL/support/file_test3.html: Added.
1823         * web-platform-tests/FileAPI/BlobURL/support/w3c-import.log: Added.
1824         * web-platform-tests/FileAPI/FileReader/Progress_event_bubbles_cancelable-expected.txt: Added.
1825         * web-platform-tests/FileAPI/FileReader/Progress_event_bubbles_cancelable.html: Added.
1826         * web-platform-tests/FileAPI/FileReader/support/file_test1.txt: Added.
1827         * web-platform-tests/FileAPI/FileReader/support/w3c-import.log: Added.
1828         * web-platform-tests/FileAPI/FileReader/w3c-import.log: Added.
1829         * web-platform-tests/FileAPI/FileReaderSync.worker-expected.txt: Added.
1830         * web-platform-tests/FileAPI/FileReaderSync.worker.html: Added.
1831         * web-platform-tests/FileAPI/FileReaderSync.worker.js: Added.
1832         (setup):
1833         (test):
1834         * web-platform-tests/FileAPI/OWNERS: Added.
1835         * web-platform-tests/FileAPI/blob/Blob-XHR-revoke-expected.txt: Added.
1836         * web-platform-tests/FileAPI/blob/Blob-XHR-revoke.html: Added.
1837         * web-platform-tests/FileAPI/blob/Blob-constructor-expected.txt: Added.
1838         * web-platform-tests/FileAPI/blob/Blob-constructor.html: Added.
1839         * web-platform-tests/FileAPI/blob/Blob-in-worker.worker-expected.txt: Added.
1840         * web-platform-tests/FileAPI/blob/Blob-in-worker.worker.html: Added.
1841         * web-platform-tests/FileAPI/blob/Blob-in-worker.worker.js: Added.
1842         (async_test):
1843         * web-platform-tests/FileAPI/blob/Blob-slice-expected.txt: Added.
1844         * web-platform-tests/FileAPI/blob/Blob-slice-overflow-expected.txt: Added.
1845         * web-platform-tests/FileAPI/blob/Blob-slice-overflow.html: Added.
1846         * web-platform-tests/FileAPI/blob/Blob-slice.html: Added.
1847         * web-platform-tests/FileAPI/blob/w3c-import.log: Added.
1848         * web-platform-tests/FileAPI/file/File-constructor-expected.txt: Added.
1849         * web-platform-tests/FileAPI/file/File-constructor.html: Added.
1850         * web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker-expected.txt: Added.
1851         * web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.html: Added.
1852         * web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js: Added.
1853         (async_test):
1854         * web-platform-tests/FileAPI/file/w3c-import.log: Added.
1855         * web-platform-tests/FileAPI/fileReader-expected.txt: Added.
1856         * web-platform-tests/FileAPI/fileReader.html: Added.
1857         * web-platform-tests/FileAPI/filelist-section/filelist-expected.txt: Added.
1858         * web-platform-tests/FileAPI/filelist-section/filelist.html: Added.
1859         * web-platform-tests/FileAPI/filelist-section/support/upload.txt: Added.
1860         * web-platform-tests/FileAPI/filelist-section/support/upload.zip: Added.
1861         * web-platform-tests/FileAPI/filelist-section/support/w3c-import.log: Added.
1862         * web-platform-tests/FileAPI/filelist-section/w3c-import.log: Added.
1863         * web-platform-tests/FileAPI/historical.https-expected.txt: Added.
1864         * web-platform-tests/FileAPI/historical.https.html: Added.
1865         * web-platform-tests/FileAPI/idlharness-expected.txt: Added.
1866         * web-platform-tests/FileAPI/idlharness.html: Added.
1867         * web-platform-tests/FileAPI/idlharness.idl: Added.
1868         * web-platform-tests/FileAPI/idlharness.worker-expected.txt: Added.
1869         * web-platform-tests/FileAPI/idlharness.worker.html: Added.
1870         * web-platform-tests/FileAPI/idlharness.worker.js: Added.
1871         (request.onload):
1872         * web-platform-tests/FileAPI/reading-data-section/Determining-Encoding-expected.txt: Added.
1873         * web-platform-tests/FileAPI/reading-data-section/Determining-Encoding.html: Added.
1874         * web-platform-tests/FileAPI/reading-data-section/FileReader-event-handler-attributes-expected.txt: Added.
1875         * web-platform-tests/FileAPI/reading-data-section/FileReader-event-handler-attributes.html: Added.
1876         * web-platform-tests/FileAPI/reading-data-section/FileReader-multiple-reads-expected.txt: Added.
1877         * web-platform-tests/FileAPI/reading-data-section/FileReader-multiple-reads.html: Added.
1878         * web-platform-tests/FileAPI/reading-data-section/filereader_abort-expected.txt: Added.
1879         * web-platform-tests/FileAPI/reading-data-section/filereader_abort.html: Added.
1880         * web-platform-tests/FileAPI/reading-data-section/filereader_error-expected.txt: Added.
1881         * web-platform-tests/FileAPI/reading-data-section/filereader_error.html: Added.
1882         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsArrayBuffer-expected.txt: Added.
1883         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsArrayBuffer.html: Added.
1884         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsDataURL-expected.txt: Added.
1885         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsDataURL.html: Added.
1886         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsText-expected.txt: Added.
1887         * web-platform-tests/FileAPI/reading-data-section/filereader_readAsText.html: Added.
1888         * web-platform-tests/FileAPI/reading-data-section/filereader_readystate-expected.txt: Added.
1889         * web-platform-tests/FileAPI/reading-data-section/filereader_readystate.html: Added.
1890         * web-platform-tests/FileAPI/reading-data-section/filereader_result-expected.txt: Added.
1891         * web-platform-tests/FileAPI/reading-data-section/filereader_result.html: Added.
1892         * web-platform-tests/FileAPI/reading-data-section/support/blue-100x100.png: Added.
1893         * web-platform-tests/FileAPI/reading-data-section/support/w3c-import.log: Added.
1894         * web-platform-tests/FileAPI/reading-data-section/w3c-import.log: Added.
1895         * web-platform-tests/FileAPI/support/Blob.js: Added.
1896         (test_blob):
1897         * web-platform-tests/FileAPI/support/document-domain-setter.sub.html: Added.
1898         * web-platform-tests/FileAPI/support/historical-serviceworker.js: Added.
1899         (test):
1900         * web-platform-tests/FileAPI/support/incumbent.sub.html: Added.
1901         * web-platform-tests/FileAPI/support/upload.txt: Added.
1902         * web-platform-tests/FileAPI/support/url-origin.html: Added.
1903         * web-platform-tests/FileAPI/support/w3c-import.log: Added.
1904         * web-platform-tests/FileAPI/url/blob-url-in-sandboxed-iframe-expected.txt: Added.
1905         * web-platform-tests/FileAPI/url/blob-url-in-sandboxed-iframe.html: Added.
1906         * web-platform-tests/FileAPI/url/multi-global-origin-serialization.sub-expected.txt: Added.
1907         * web-platform-tests/FileAPI/url/multi-global-origin-serialization.sub.html: Added.
1908         * web-platform-tests/FileAPI/url/origin.sub-expected.txt: Added.
1909         * web-platform-tests/FileAPI/url/origin.sub.html: Added.
1910         * web-platform-tests/FileAPI/url/url_createobjecturl_blob-expected.txt: Added.
1911         * web-platform-tests/FileAPI/url/url_createobjecturl_blob.html: Added.
1912         * web-platform-tests/FileAPI/url/url_xmlhttprequest-expected.txt: Added.
1913         * web-platform-tests/FileAPI/url/url_xmlhttprequest.html: Added.
1914         * web-platform-tests/FileAPI/url/url_xmlhttprequest_img-expected.html: Added.
1915         * web-platform-tests/FileAPI/url/url_xmlhttprequest_img.html: Added.
1916         * web-platform-tests/FileAPI/url/w3c-import.log: Added.
1917         * web-platform-tests/FileAPI/w3c-import.log: Added.
1918
1919 2017-05-17  Emilio Cobos Ãlvarez  <ecobos@igalia.com>
1920
1921         Add a RuntimeEnabledFeature for display: contents, defaulted to false.
1922         https://bugs.webkit.org/show_bug.cgi?id=171984
1923
1924         Reviewed by Antti Koivisto.
1925
1926         * web-platform-tests/innerText/getter-expected.txt:
1927
1928 2017-05-16  Chris Dumez  <cdumez@apple.com>
1929
1930         Implement DOMMatrix / DOMMatrixReadOnly
1931         https://bugs.webkit.org/show_bug.cgi?id=110001
1932
1933         Reviewed by Sam Weinig and Simon Fraser.
1934
1935         Rebaseline web-platform-tests now that more checks are passing.
1936
1937         * web-platform-tests/css/geometry-1/DOMMatrix-001-expected.txt:
1938         Most checks are now passing. The few remaining failures seem to be due to our
1939         parsing of the input CSS string now matching the specification. This behavior
1940         is not new to this patch as I re-used exactly the same logic as for
1941         WebKitCSSMatrix's parsing of the input string.
1942
1943         * web-platform-tests/css/geometry-1/DOMMatrix-002-expected.txt:
1944         * web-platform-tests/css/geometry-1/DOMMatrix-003-expected.txt:
1945         * web-platform-tests/css/geometry-1/DOMMatrix-a-f-alias-expected.txt:
1946         All checks are now passing.
1947
1948         * web-platform-tests/css/geometry-1/DOMMatrix-newobject-expected.txt:
1949         Most checks are now passing. The remaining failures are due to DOMMatrixReadOnly's
1950         transformPoint() / toFloat32Array() / toFloat64Array() not being implemented in
1951         this patch. I think we can take care of those in a follow-up.
1952
1953         * web-platform-tests/css/geometry-1/DOMPoint-002-expected.txt:
1954         Fails differently now that we support DOMMatrix. The test goes further but still
1955         fails because DOMPoint.matrixTransform() is not implemented.
1956
1957         * web-platform-tests/css/geometry-1/WebKitCSSMatrix-expected.txt:
1958         One more check is passing now that we implement DOMMatrix. The remaining failure is
1959         due to WebKitCSSMatrix not being an alias to DOMMatrix yet. I'd rather do this in a
1960         follow-up.
1961
1962         * web-platform-tests/css/geometry-1/historical-expected.txt:
1963         A lot of new passes.
1964
1965         * web-platform-tests/css/geometry-1/structured-serialization-expected.txt:
1966         The test fails differently now that we support DOMMatrix. The test still fails because
1967         we do not support yet the structured serialization of DOMMatrix objects. It appears we
1968         do not support this for other types in this spec either (e.g. DOMPoint). I filed:
1969         https://bugs.webkit.org/show_bug.cgi?id=172191
1970
1971         * web-platform-tests/css/geometry-1/DOMMatrix-stringifier-expected.txt: Added.
1972         * web-platform-tests/css/geometry-1/DOMMatrix-stringifier.html: Added.
1973         Import new test from upstream. The WebKitCSSMatrix failures are due to our
1974         WebKitCSSMatrix implementation not complying with the standard. As per the
1975         standard, WebKitCSSMatrix is supposed to become an alias to DOMMatrix. If we
1976         do this aliasing (in a follow-up), then those tests will start passing.
1977
1978         * web-platform-tests/css/geometry-1/support/dommatrix-test-util.js: Added.
1979         Add missing script that was missed by the importer when I initially imported the test
1980         suite from upstream.
1981
1982 2017-05-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1983
1984         [Readable Streams API] Implement ReadableStreamBYOBReader releaseLock()
1985         https://bugs.webkit.org/show_bug.cgi?id=172111
1986
1987         Reviewed by Chris Dumez.
1988
1989         Updated test expectations.
1990
1991         * web-platform-tests/streams/readable-byte-streams/general-expected.txt: Updated.
1992         * web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt: Updated.
1993
1994 2017-05-15  Chris Dumez  <cdumez@apple.com>
1995
1996         Import css/geometry-1 web-platform-tests
1997         https://bugs.webkit.org/show_bug.cgi?id=172130
1998
1999         Reviewed by Youenn Fablet.
2000
2001         Import css/geometry-1 web-platform-tests to gain better test coverage.
2002
2003         * resources/import-expectations.json:
2004         * web-platform-tests/css/geometry-1/DOMMatrix-001-expected.txt: Added.
2005         * web-platform-tests/css/geometry-1/DOMMatrix-001.html: Added.
2006         * web-platform-tests/css/geometry-1/DOMMatrix-002-expected.txt: Added.
2007         * web-platform-tests/css/geometry-1/DOMMatrix-002.html: Added.
2008         * web-platform-tests/css/geometry-1/DOMMatrix-003-expected.txt: Added.
2009         * web-platform-tests/css/geometry-1/DOMMatrix-003.html: Added.
2010         * web-platform-tests/css/geometry-1/DOMMatrix-a-f-alias-expected.txt: Added.
2011         * web-platform-tests/css/geometry-1/DOMMatrix-a-f-alias.html: Added.
2012         * web-platform-tests/css/geometry-1/DOMMatrix-css-string.worker-expected.txt: Added.
2013         * web-platform-tests/css/geometry-1/DOMMatrix-css-string.worker.html: Added.
2014         * web-platform-tests/css/geometry-1/DOMMatrix-css-string.worker.js: Added.
2015         (string_appeared_here.forEach.constr.test):
2016         (string_appeared_here.forEach.constr.assert_equals):
2017         (test):
2018         * web-platform-tests/css/geometry-1/DOMMatrix-newobject-expected.txt: Added.
2019         * web-platform-tests/css/geometry-1/DOMMatrix-newobject.html: Added.
2020         * web-platform-tests/css/geometry-1/DOMPoint-001-expected.txt: Added.
2021         * web-platform-tests/css/geometry-1/DOMPoint-001.html: Added.
2022         * web-platform-tests/css/geometry-1/DOMPoint-002-expected.txt: Added.
2023         * web-platform-tests/css/geometry-1/DOMPoint-002.html: Added.
2024         * web-platform-tests/css/geometry-1/DOMQuad-001-expected.txt: Added.
2025         * web-platform-tests/css/geometry-1/DOMQuad-001.html: Added.
2026         * web-platform-tests/css/geometry-1/DOMQuad-002-expected.txt: Added.
2027         * web-platform-tests/css/geometry-1/DOMQuad-002.html: Added.
2028         * web-platform-tests/css/geometry-1/DOMRect-001-expected.txt: Added.
2029         * web-platform-tests/css/geometry-1/DOMRect-001.html: Added.
2030         * web-platform-tests/css/geometry-1/OWNERS: Added.
2031         * web-platform-tests/css/geometry-1/WebKitCSSMatrix-expected.txt: Added.
2032         * web-platform-tests/css/geometry-1/WebKitCSSMatrix.html: Added.
2033         * web-platform-tests/css/geometry-1/WebKitCSSMatrix.worker-expected.txt: Added.
2034         * web-platform-tests/css/geometry-1/WebKitCSSMatrix.worker.html: Added.
2035         * web-platform-tests/css/geometry-1/WebKitCSSMatrix.worker.js: Added.
2036         (test):
2037         * web-platform-tests/css/geometry-1/historical-expected.txt: Added.
2038         * web-platform-tests/css/geometry-1/historical.html: Added.
2039         * web-platform-tests/css/geometry-1/structured-serialization-expected.txt: Added.
2040         * web-platform-tests/css/geometry-1/structured-serialization.html: Added.
2041         * web-platform-tests/css/geometry-1/w3c-import.log: Added.
2042
2043 2017-05-15  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2044
2045         Invalid MediaSource duration value should throw TyperError instead of InvalidStateError
2046         https://bugs.webkit.org/show_bug.cgi?id=171653
2047
2048         Reviewed by Chris Dumez.
2049
2050         Rebaseline test results.
2051
2052         * web-platform-tests/media-source/mediasource-duration-boundaryconditions-expected.txt:
2053
2054 2017-05-14  Sam Weinig  <sam@webkit.org>
2055
2056         [WebIDL/DOM] Remove need for custom bindings for HTMLAllCollection and bring up to spec
2057         https://bugs.webkit.org/show_bug.cgi?id=172095
2058
2059         Reviewed by Darin Adler.
2060
2061         * web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection-expected.txt:
2062         Update results.
2063
2064 2017-05-12  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2065
2066         [Readable Streams API] Add ReadableStreamBYOBReader closed getter
2067         https://bugs.webkit.org/show_bug.cgi?id=172024
2068
2069         Reviewed by Youenn Fablet.
2070
2071         Updated expectations.
2072
2073         * web-platform-tests/streams/readable-byte-streams/general-expected.txt: Updated.
2074         * web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt: Updated.
2075
2076 2017-05-12  Manuel Rego Casasnovas  <rego@igalia.com>
2077
2078         [selectors4] css/selectors4/focus-within-006.html test from WPT is failing
2079         https://bugs.webkit.org/show_bug.cgi?id=170900
2080
2081         Reviewed by Sergio Villar Senin.
2082
2083         The issue has been fixed in WPT repo:
2084         https://github.com/w3c/web-platform-tests/pull/5786
2085
2086         This patch is importing the changes so we can close this bug on WebKit.
2087
2088         * web-platform-tests/css/selectors4/focus-within-006-expected.html:
2089         * web-platform-tests/css/selectors4/focus-within-006.html:
2090         * web-platform-tests/css/selectors4/w3c-import.log:
2091
2092 2017-05-11  Manuel Rego Casasnovas  <rego@igalia.com>
2093
2094         [selectors4] :focus-within tests using shadow DOM don't pass on WK1
2095         https://bugs.webkit.org/show_bug.cgi?id=170935
2096
2097         Reviewed by Youenn Fablet.
2098
2099         The issue has been fixed modifying the tests upstream:
2100         https://github.com/w3c/web-platform-tests/pull/5594
2101
2102         This patch updates "selectors4" Test Suite with the last changes
2103         from WPT repository.
2104         This means that this issue is fixed and at the same time some new tests
2105         are being imported.
2106         Two of the new imported tests are failing due to bug #47182,
2107         anyway the -expected.txt files with FAIL messages are added.
2108
2109         * resources/import-expectations.json:
2110         * web-platform-tests/css/selectors4/focus-display-none-001-expected.txt: Added.
2111         * web-platform-tests/css/selectors4/focus-display-none-001.html: Added.
2112         * web-platform-tests/css/selectors4/focus-within-009-expected.txt:
2113         * web-platform-tests/css/selectors4/focus-within-009.html:
2114         * web-platform-tests/css/selectors4/focus-within-010-expected.html: Added.
2115         * web-platform-tests/css/selectors4/focus-within-010.html: Added.
2116         * web-platform-tests/css/selectors4/focus-within-display-none-001-expected.txt: Added.
2117         * web-platform-tests/css/selectors4/focus-within-display-none-001.html: Added.
2118         * web-platform-tests/css/selectors4/focus-within-shadow-001.html:
2119         * web-platform-tests/css/selectors4/focus-within-shadow-002.html:
2120         * web-platform-tests/css/selectors4/focus-within-shadow-003.html:
2121         * web-platform-tests/css/selectors4/focus-within-shadow-004.html:
2122         * web-platform-tests/css/selectors4/focus-within-shadow-005.html:
2123         * web-platform-tests/css/selectors4/w3c-import.log:
2124
2125 2017-05-11  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2126
2127         [Readable Streams API] Implement ReadableStreamBYOBReader cancel()
2128         https://bugs.webkit.org/show_bug.cgi?id=171919
2129
2130         Reviewed by Youenn Fablet.
2131
2132         Updated expectations.
2133
2134         * web-platform-tests/streams/readable-byte-streams/general-expected.txt:
2135         * web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt:
2136
2137 2017-05-09  Sam Weinig  <sam@webkit.org>
2138
2139         Implement Subresource Integrity (SRI)
2140         https://bugs.webkit.org/show_bug.cgi?id=148363
2141         <rdar://problem/18945879>
2142
2143         Reviewed by Youenn Fablet.
2144
2145         * web-platform-tests/fetch/api/basic/integrity-expected.txt:
2146         * web-platform-tests/fetch/api/basic/integrity-worker-expected.txt:
2147         Update results now that integrity is implemented.
2148
2149 2017-05-09  Youenn Fablet  <youenn@apple.com>
2150
2151         Refresh webrtc WPT tests
2152         https://bugs.webkit.org/show_bug.cgi?id=171878
2153
2154         Reviewed by Eric Carlson.
2155
2156         * resources/import-expectations.json:
2157         * web-platform-tests/webrtc/OWNERS:
2158         * web-platform-tests/webrtc/RTCConfiguration-iceCandidatePoolSize-expected.txt: Added.
2159         * web-platform-tests/webrtc/RTCConfiguration-iceCandidatePoolSize.html: Added.
2160         * web-platform-tests/webrtc/RTCDataChannel-id-expected.txt: Added.
2161         * web-platform-tests/webrtc/RTCDataChannel-id.html: Added.
2162         * web-platform-tests/webrtc/RTCPeerConnection-canTrickleIceCandidates-expected.txt: Added.
2163         * web-platform-tests/webrtc/RTCPeerConnection-canTrickleIceCandidates.html: Added.
2164         * web-platform-tests/webrtc/RTCPeerConnection-constructor-expected.txt: Added.
2165         * web-platform-tests/webrtc/RTCPeerConnection-constructor.html: Added.
2166         * web-platform-tests/webrtc/RTCPeerConnection-createDataChannel-expected.txt: Added.
2167         * web-platform-tests/webrtc/RTCPeerConnection-createDataChannel.html: Added.
2168         * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: Added.
2169         * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState.html: Added.
2170         * web-platform-tests/webrtc/RTCPeerConnection-idl-expected.txt: Added.
2171         * web-platform-tests/webrtc/RTCPeerConnection-idl.html: Added.
2172         * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-expected.txt: Added.
2173         * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription.html: Added.
2174         * web-platform-tests/webrtc/datachannel-idlharness-expected.txt: Added.
2175         * web-platform-tests/webrtc/datachannel-idlharness.html: Added.
2176         * web-platform-tests/webrtc/getstats-expected.txt: Added.
2177         * web-platform-tests/webrtc/getstats.html: Added.
2178         * web-platform-tests/webrtc/interfaces-expected.txt: Added.
2179         * web-platform-tests/webrtc/interfaces.html: Added.
2180         * web-platform-tests/webrtc/no-media-call.html:
2181         * web-platform-tests/webrtc/promises-call.html:
2182         * web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl-expected.txt:
2183         * web-platform-tests/webrtc/simplecall.html:
2184         * web-platform-tests/webrtc/w3c-import.log:
2185
2186 2017-05-09  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2187
2188         [Readable Streams API] Enable creation of ReadableStreamBYOBReader
2189         https://bugs.webkit.org/show_bug.cgi?id=171665
2190
2191         Reviewed by Youenn Fablet.
2192
2193         Updated expectations.
2194
2195         * web-platform-tests/streams/readable-byte-streams/general-expected.txt:
2196         * web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt:
2197
2198 2017-05-08  Chris Dumez  <cdumez@apple.com>
2199
2200         Move offsetParent / offsetLeft / offsetTop / offsetWidth / offsetHeight from Element to HTMLElement
2201         https://bugs.webkit.org/show_bug.cgi?id=171829
2202
2203         Reviewed by Simon Fraser.
2204
2205         Re-sync Web-Platform-Test after:
2206         - https://github.com/w3c/web-platform-tests/pull/5855
2207
2208         * web-platform-tests/cssom-view/offsetParent_element_test.html:
2209
2210 2017-05-07  Youenn Fablet  <youenn@apple.com>
2211
2212         Regenerate w3c-import.log files after r215670
2213         https://bugs.webkit.org/show_bug.cgi?id=171210
2214
2215         Reviewed by Chris Dumez.
2216
2217         Updating all w3c-import.log files of web-platform-tests.
2218         Fixing some import expectations.
2219         Fixing some tests to match the current import revision, only syntatic changes (meta annotations and links to resources).
2220
2221         * resources/import-expectations.json:
2222         * web-platform-tests/WebCryptoAPI/OWNERS:
2223         * web-platform-tests/WebCryptoAPI/derive_bits_keys/pbkdf2.worker.js: meta annotation changes.
2224         * web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CBC.worker.js: Ditto for all crypto tests.
2225         * web-platform-tests/WebCryptoAPI/generateKey/failures_AES-CTR.worker.js:
2226         * web-platform-tests/WebCryptoAPI/generateKey/failures_AES-GCM.worker.js:
2227         * web-platform-tests/WebCryptoAPI/generateKey/failures_AES-KW.worker.js:
2228         * web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.worker.js:
2229         * web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.worker.js:
2230         * web-platform-tests/WebCryptoAPI/generateKey/failures_HMAC.worker.js:
2231         * web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-OAEP.worker.js:
2232         * web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.worker.js:
2233         * web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.worker.js:
2234         * web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CBC.worker.js:
2235         * web-platform-tests/WebCryptoAPI/generateKey/successes_AES-CTR.worker.js:
2236         * web-platform-tests/WebCryptoAPI/generateKey/successes_AES-GCM.worker.js:
2237         * web-platform-tests/WebCryptoAPI/generateKey/successes_AES-KW.worker.js:
2238         * web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.worker.js:
2239         * web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.worker.js:
2240         * web-platform-tests/WebCryptoAPI/generateKey/successes_HMAC.worker.js:
2241         * web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.worker.js:
2242         * web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.worker.js:
2243         * web-platform-tests/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.worker.js:
2244         * web-platform-tests/WebCryptoAPI/tools/generate.py:
2245         * web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.worker.js:
2246         * web-platform-tests/css/css-grid-1/grid-layout-properties.html:
2247         * web-platform-tests/css/selectors4/focus-within-009.html:
2248         * web-platform-tests/domparsing/DOMParser-parseFromString-html.html:
2249         * web-platform-tests/domparsing/createContextualFragment.html:
2250         * web-platform-tests/domparsing/innerhtml-01.xhtml:
2251         * web-platform-tests/domparsing/innerhtml-03.xhtml:
2252         * web-platform-tests/domparsing/innerhtml-04.html:
2253         * web-platform-tests/domparsing/innerhtml-05.xhtml:
2254         * web-platform-tests/domparsing/innerhtml-06.html:
2255         * web-platform-tests/domparsing/innerhtml-07.html:
2256         * web-platform-tests/domparsing/insert-adjacent.html:
2257         * web-platform-tests/domparsing/insert_adjacent_html.html:
2258         * web-platform-tests/domparsing/outerhtml-01.html:
2259         * web-platform-tests/domparsing/outerhtml-02.html:
2260         * web-platform-tests/domparsing/xml-serialization.xhtml:
2261
2262 2017-05-07  Ben Kelly <ben@wanderview.com>
2263
2264         Set the Response.blob() type based on the content-type header value.
2265         https://bugs.webkit.org/show_bug.cgi?id=170849
2266
2267         Reviewed by Youenn Fablet.
2268
2269         * web-platform-tests/fetch/api/response/response-consume-expected.txt:
2270
2271 2017-05-07  Sam Weinig  <sam@webkit.org>
2272
2273         Implement Subresource Integrity (SRI)
2274         https://bugs.webkit.org/show_bug.cgi?id=148363
2275
2276         Reviewed by Daniel Bates.
2277
2278         * web-platform-tests/html/dom/reflection-metadata-expected.txt:
2279         * web-platform-tests/html/dom/reflection-misc-expected.txt:
2280         Update results now that we support the reflected 'integrity' property.
2281
2282 2017-05-04  Daniel Bates  <dabates@apple.com>
2283
2284         importScripts() should respect X-Content-Type-Options: nosniff
2285         https://bugs.webkit.org/show_bug.cgi?id=171248
2286         <rdar://problem/31819023>
2287
2288         Reviewed by Andy Estes.
2289
2290         Update expected results for Web Platform Tests that now pass.
2291
2292         * web-platform-tests/fetch/nosniff/importscripts-expected.txt: Added.
2293         * web-platform-tests/fetch/nosniff/worker-expected.txt:
2294
2295 2017-05-02  Ben Kelly <ben@wanderview.com>
2296
2297         Set Response.blob() type correctly when body is a ReadableStream.
2298         https://bugs.webkit.org/show_bug.cgi?id=171489
2299
2300         Reviewed by Youenn Fablet
2301
2302         * web-platform-tests/fetch/api/response/response-consume-expected.txt:
2303
2304 2017-05-01  Joseph Pecoraro  <pecoraro@apple.com>
2305
2306         Eliminate ?pipe=sub from Resource Timing Tests
2307         https://bugs.webkit.org/show_bug.cgi?id=171525
2308
2309         Reviewed by Youenn Fablet.
2310
2311         * web-platform-tests/resource-timing/resources/rt-utilities.sub.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/resource-timing/resources/rt-utilities.js.
2312         Rename with ".sub.js" to automatically get substitutions.
2313
2314         * web-platform-tests/resource-timing/resources/rt-iframe-1.html:
2315         * web-platform-tests/resource-timing/resources/rt-iframe-2.html:
2316         * web-platform-tests/resource-timing/resources/rt-worker-resources.js:
2317         * web-platform-tests/resource-timing/rt-cors.html:
2318         * web-platform-tests/resource-timing/rt-cors.worker.js:
2319         * web-platform-tests/resource-timing/rt-initiatorType-css.html:
2320         * web-platform-tests/resource-timing/rt-initiatorType-element.html:
2321         * web-platform-tests/resource-timing/rt-initiatorType-fetch.html:
2322         * web-platform-tests/resource-timing/rt-initiatorType-media.html:
2323         * web-platform-tests/resource-timing/rt-initiatorType-other.html:
2324         * web-platform-tests/resource-timing/rt-initiatorType-script-module.html:
2325         * web-platform-tests/resource-timing/rt-initiatorType-xmlhttprequest.html:
2326         * web-platform-tests/resource-timing/rt-initiatorType.worker.js:
2327         * web-platform-tests/resource-timing/rt-nextHopProtocol.html:
2328         * web-platform-tests/resource-timing/rt-nextHopProtocol.worker.js:
2329         * web-platform-tests/resource-timing/rt-performance-extensions.html:
2330         * web-platform-tests/resource-timing/rt-performance-extensions.worker.js:
2331         * web-platform-tests/resource-timing/rt-resource-errors.html:
2332         * web-platform-tests/resource-timing/rt-resource-ignored.html:
2333         * web-platform-tests/resource-timing/rt-resources-per-frame.html:
2334         * web-platform-tests/resource-timing/rt-resources-per-worker.html:
2335         * web-platform-tests/resource-timing/rt-revalidate-requests.html:
2336         * web-platform-tests/resource-timing/rt-serialization.html:
2337         * web-platform-tests/resource-timing/rt-shared-resource-in-frames.html:
2338         * web-platform-tests/resource-timing/rt-shared-resource-in-workers.html:
2339         Update include of rt-utilities.
2340
2341 2017-05-01  Chris Dumez  <cdumez@apple.com>
2342
2343         Documents created using DOMParser.parseFromString should inherit their context document's origin / URL
2344         https://bugs.webkit.org/show_bug.cgi?id=171499
2345
2346         Reviewed by Sam Weinig.
2347
2348         Rebaseline web-platform-tests now that more checks are passing.
2349
2350         * web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt:
2351         * web-platform-tests/domparsing/DOMParser-parseFromString-xml-expected.txt:
2352
2353 2017-05-01  Joseph Pecoraro  <pecoraro@apple.com>
2354
2355         RejectedPromiseTracker should produce better callstacks and avoid capturing callstacks unless there is a debugger/inspector
2356         https://bugs.webkit.org/show_bug.cgi?id=171416
2357         <rdar://problem/31899425>
2358
2359         Reviewed by Saam Barati and Brian Burg.
2360
2361         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits-expected.txt:
2362         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys-expected.txt:
2363         * web-platform-tests/html/semantics/embedded-content/media-elements/event_pause_noautoplay-expected.txt:
2364         * web-platform-tests/html/semantics/embedded-content/media-elements/event_play_noautoplay-expected.txt:
2365         * web-platform-tests/html/semantics/embedded-content/media-elements/paused_true_during_pause-expected.txt:
2366         * web-platform-tests/streams/piping/close-propagation-forward-expected.txt:
2367         * web-platform-tests/streams/piping/error-propagation-backward-expected.txt:
2368         * web-platform-tests/streams/piping/error-propagation-forward-expected.txt:
2369         * web-platform-tests/streams/piping/flow-control-expected.txt:
2370         * web-platform-tests/streams/piping/general-expected.txt:
2371         Rebaseline results. Better stack trace for errors includes correct line numbers.
2372         Explicit rejections with a value do not include backtraces without a debugger.
2373
2374 2017-04-29  Joseph Pecoraro  <pecoraro@apple.com>
2375
2376         Zero out PerformanceResourceTiming properties for cached cross-origin responses without Timing-Allow-Origin
2377         https://bugs.webkit.org/show_bug.cgi?id=171394
2378
2379         Reviewed by Youenn Fablet.
2380
2381         WebKit doesn't create multiple PerformanceResourceTiming entries for
2382         loads that use the same CachedResource. However for revalidation
2383         requests, which may happen for cached entries, we will send new
2384         network requests. These tests cover whether revalidation requests
2385         include timing data or not.
2386
2387         * web-platform-tests/resource-timing/resources/rt-revalidation-response.py: Added.
2388         * web-platform-tests/resource-timing/rt-cors-expected.txt:
2389         * web-platform-tests/resource-timing/rt-cors.js:
2390         * web-platform-tests/resource-timing/rt-cors.worker-expected.txt:
2391         * web-platform-tests/resource-timing/rt-revalidate-requests-expected.txt: Added.
2392         * web-platform-tests/resource-timing/rt-revalidate-requests.html: Added.
2393
2394 2017-04-28  Chris Dumez  <cdumez@apple.com>
2395
2396         Tweak window.open features argument tokenizer to match HTML standard and Edge
2397         https://bugs.webkit.org/show_bug.cgi?id=170548
2398
2399         Reviewed by Geoffrey Garen.
2400
2401         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt:
2402         Rebaseline test now that more checks are passing. The remaining failures are because the test currently expects "noopener=0" / "noopener=false" to activate
2403         the 'noopener' feature. The test matches the specification which currently says that if the 'noopener' key is present, then the 'noopener' feature should be
2404         activated, no matter its value. However, I am intentionally not making this change yet because:
2405         - This behavior would be inconsistent with other Window features
2406         - There is upstream discussion on this (https://github.com/whatwg/html/issues/2600) and the current feedback is that the specification should likely
2407           change to treat 'noopener' more consistently with other features.
2408         I will follow-up once the specification / test settles.
2409
2410         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html:
2411         Re-sync test from upstream after https://github.com/w3c/web-platform-tests/pull/5715.
2412
2413 2017-04-28  Chris Dumez  <cdumez@apple.com>
2414
2415         Update DOMTokenList.replace() to match the latest DOM specification
2416         https://bugs.webkit.org/show_bug.cgi?id=171388
2417
2418         Reviewed by Alex Christensen.
2419
2420         Re-sync web-platform-test after:
2421         - https://github.com/w3c/web-platform-tests/pull/5725
2422
2423         This adds test coverage for the behavior change in this patch.
2424
2425         * web-platform-tests/dom/nodes/Element-classlist.html:
2426
2427 2017-04-28  Chris Dumez  <cdumez@apple.com>
2428
2429         URLSearchParams should be reflective
2430         https://bugs.webkit.org/show_bug.cgi?id=171345
2431
2432         Reviewed by Alex Christensen.
2433
2434         Merge https://github.com/w3c/web-platform-tests/pull/5736 to gain test
2435         coverage.
2436
2437         * web-platform-tests/url/urlsearchparams-constructor-expected.txt:
2438         * web-platform-tests/url/urlsearchparams-constructor.html:
2439
2440 2017-04-28  Ryan Haddad  <ryanhaddad@apple.com>
2441
2442         Rebaseline imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl.html after r215916.
2443
2444         Unreviewed test gardening.
2445
2446         * web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl-expected.txt:
2447
2448 2017-04-27  Joseph Pecoraro  <pecoraro@apple.com>
2449
2450         Support for promise rejection events (unhandledrejection)
2451         https://bugs.webkit.org/show_bug.cgi?id=150358
2452         <rdar://problem/28441651>
2453
2454         Reviewed by Saam Barati.
2455
2456         Patch by Joseph Pecoraro and Yusuke Suzuki.
2457
2458         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_bits-expected.txt:
2459         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_ecdh_keys-expected.txt:
2460         * web-platform-tests/html/semantics/embedded-content/media-elements/event_pause_noautoplay-expected.txt:
2461         * web-platform-tests/html/semantics/embedded-content/media-elements/event_play_noautoplay-expected.txt:
2462         * web-platform-tests/html/semantics/embedded-content/media-elements/paused_true_during_pause-expected.txt:
2463         * web-platform-tests/html/syntax/parsing/html5lib_innerHTML_adoption01-expected.txt:
2464         * web-platform-tests/html/webappapis/scripting/events/body-exposed-window-event-handlers-expected.txt:
2465         * web-platform-tests/streams/piping/close-propagation-forward-expected.txt:
2466         * web-platform-tests/streams/piping/error-propagation-backward-expected.txt:
2467         * web-platform-tests/streams/piping/error-propagation-forward-expected.txt:
2468         * web-platform-tests/streams/piping/flow-control-expected.txt:
2469         * web-platform-tests/streams/piping/general-expected.txt:
2470         * web-platform-tests/user-timing/measure_exceptions_navigation_timing-expected.txt:
2471         Rebaseline expectations to include unhandled promise rejection messages.
2472         Also change how the test harness reports success or failure to use the values
2473         immediately on completion and then allow a run loop cycle before completing
2474         the test to gather the output.
2475
2476         * web-platform-tests/resource-timing/rt-resource-errors.html:
2477         This is our own WPT test yet to be uploaded, so update the test to prevent
2478         an unexpected unhandled rejection.
2479
2480 2017-04-27  Chris Dumez  <cdumez@apple.com>
2481
2482         Align colspan/rowspan limits with the latest HTML specification
2483         https://bugs.webkit.org/show_bug.cgi?id=171322
2484
2485         Reviewed by Darin Adler.
2486
2487         Re-sync some web-platform-tests from upstream to gain test coverage and
2488         rebaseline.
2489
2490         * resources/import-expectations.json:
2491         * web-platform-tests/html/dom/elements-tabular.js:
2492         * web-platform-tests/html/dom/reflection-embedded-expected.txt:
2493         * web-platform-tests/html/dom/reflection-tabular-expected.txt:
2494         * web-platform-tests/html/dom/reflection.js:
2495         (ReflectionTests.typeMap.string_appeared_here.toString):
2496         (ReflectionTests.typeMap.string_appeared_here.valueOf):
2497         (ReflectionTests.reflects):
2498         * web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/w3c-import.log:
2499         * web-platform-tests/html/semantics/tabular-data/processing-model-1/span-limits-expected.txt: Added.
2500         * web-platform-tests/html/semantics/tabular-data/processing-model-1/span-limits.html: Added.
2501         * web-platform-tests/html/semantics/tabular-data/processing-model-1/w3c-import.log:
2502         * web-platform-tests/html/semantics/tabular-data/the-caption-element/w3c-import.log:
2503         * web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log:
2504         * web-platform-tests/html/semantics/tabular-data/the-tbody-element/w3c-import.log:
2505         * web-platform-tests/html/semantics/tabular-data/the-tfoot-element/w3c-import.log:
2506         * web-platform-tests/html/semantics/tabular-data/the-thead-element/w3c-import.log:
2507         * web-platform-tests/html/semantics/tabular-data/the-tr-element/w3c-import.log:
2508         * web-platform-tests/html/semantics/tabular-data/w3c-import.log:
2509
2510 2017-04-27  Chris Dumez  <cdumez@apple.com>
2511
2512         Element.getBoundingClientRect() / getClientRects() should return a DOMRect types
2513         https://bugs.webkit.org/show_bug.cgi?id=171226
2514
2515         Reviewed by Simon Fraser.
2516
2517         Add baseline for web-platform-tests that is now passing and unskipped.
2518
2519         * web-platform-tests/cssom-view/cssom-getBoundingClientRect-002-expected.txt: Added.
2520
2521 2017-04-27  Frederic Wang  <fwang@igalia.com>
2522
2523         Fix some tests from platform-tests/cssom-view/cssom-view/
2524         https://bugs.webkit.org/show_bug.cgi?id=171228
2525
2526         Reviewed by Youenn Fablet.
2527
2528         Fixes for some tests are imported from the web-platform-test repository.
2529         Expectations are updated accordingly.
2530
2531         * web-platform-tests/cssom-view/cssom-view/media-query-list-interface-expected.txt: Added.
2532         * web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht:
2533         * web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt:
2534         * web-platform-tests/cssom-view/cssom-view/window-interface.xht:
2535
2536 2017-04-26  Saam Barati  <sbarati@apple.com>
2537
2538         ASSERTION FAILED: inIndex != notFound in JSC::invalidParameterInSourceAppender()
2539         https://bugs.webkit.org/show_bug.cgi?id=170924
2540         <rdar://problem/31721052>
2541
2542         Reviewed by Mark Lam.
2543
2544         * web-platform-tests/css-timing-1/cubic-bezier-timing-functions-output-expected.txt:
2545         * web-platform-tests/css-timing-1/frames-timing-functions-output-expected.txt:
2546         * web-platform-tests/css-timing-1/step-timing-functions-output-expected.txt:
2547
2548 2017-04-26  Ryan Haddad  <ryanhaddad@apple.com>
2549
2550         Unreviewed, rolling out r215814.
2551
2552         The LayoutTest for this change is failing on ios-simulator and
2553         is flaky on macOS.
2554
2555         Reverted changeset:
2556
2557         "Response.blob() does not set the content-type based on the
2558         header value."
2559         https://bugs.webkit.org/show_bug.cgi?id=170849
2560         http://trac.webkit.org/changeset/215814
2561
2562 2017-04-26  Chris Dumez  <cdumez@apple.com>
2563
2564         Re-sync html/browsers/the-window-object web-platform-tests from upstream
2565         https://bugs.webkit.org/show_bug.cgi?id=171313
2566
2567         Reviewed by Alex Christensen.
2568
2569         * resources/import-expectations.json:
2570         * web-platform-tests/common/PrefixedPostMessage.js: Added.
2571         (PrefixedMessage):
2572         (PrefixedMessage.prototype.url):
2573         (PrefixedMessage.prototype.onMessage):
2574         (PrefixedMessageTest):
2575         (PrefixedMessageResource):
2576         (PrefixedMessageResource.prototype.postToOpener):
2577         * web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/w3c-import.log:
2578         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log:
2579         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight-expected.txt: Added.
2580         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html: Added.
2581         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny-expected.txt: Added.
2582         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html: Added.
2583         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left-expected.txt: Added.
2584         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html: Added.
2585         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height-expected.txt: Added.
2586         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height.html: Added.
2587         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height-expected.txt: Added.
2588         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html: Added.
2589         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight-expected.txt: Added.
2590         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight.html: Added.
2591         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth-expected.txt: Added.
2592         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth.html: Added.
2593         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left-expected.txt: Added.
2594         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left.html: Added.
2595         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx-expected.txt: Added.
2596         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx.html: Added.
2597         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny-expected.txt: Added.
2598         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html: Added.
2599         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top-expected.txt: Added.
2600         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html: Added.
2601         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width-expected.txt: Added.
2602         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width.html: Added.
2603         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-innerheight-innerwidth-expected.txt: Added.
2604         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-innerheight-innerwidth.html: Added.
2605         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener-expected.txt: Added.
2606         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-noopener.html: Added.
2607         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-screenx-screeny-expected.txt: Added.
2608         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-screenx-screeny.html: Added.
2609         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-top-left-expected.txt: Added.
2610         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-top-left.html: Added.
2611         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height-expected.txt: Added.
2612         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html: Added.
2613         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/message-opener.html: Added.
2614         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/resources/w3c-import.log:
2615         * web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log:
2616         * web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/w3c-import.log:
2617         * web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/w3c-import.log:
2618         * web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/w3c-import.log:
2619         * web-platform-tests/html/browsers/the-window-object/security-window/w3c-import.log:
2620         * web-platform-tests/html/browsers/the-window-object/support/w3c-import.log:
2621         * web-platform-tests/html/browsers/the-window-object/w3c-import.log:
2622         * web-platform-tests/html/browsers/the-window-object/window-indexed-properties-expected.txt:
2623         * web-platform-tests/html/browsers/the-window-object/window-indexed-properties-strict.html:
2624         * web-platform-tests/html/browsers/the-window-object/window-indexed-properties.html:
2625
2626 2017-04-26  WebKit Contributor  <webkitcontrib@gmail.com>
2627
2628         Response.blob() does not set the content-type based on the header value.
2629         https://bugs.webkit.org/show_bug.cgi?id=170849
2630
2631         Reviewed by Alex Christensen.
2632
2633         * web-platform-tests/fetch/api/response/response-consume-expected.txt:
2634
2635 2017-04-25  Daniel Bates  <dabates@apple.com>
2636
2637         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
2638         https://bugs.webkit.org/show_bug.cgi?id=136452
2639         <rdar://problem/23412620>
2640
2641         Reviewed by Brent Fulgham.
2642
2643         Update expected results now we support X-Content-Type-Options: nosniff.
2644
2645         * web-platform-tests/fetch/nosniff/parsing-nosniff-expected.txt:
2646         * web-platform-tests/fetch/nosniff/script-expected.txt:
2647         * web-platform-tests/fetch/nosniff/stylesheet-expected.txt:
2648
2649 2017-04-25  Frederic Wang  <fwang@igalia.com>
2650
2651         Import W3C tests for the CSSOM View module
2652         https://bugs.webkit.org/show_bug.cgi?id=171215
2653
2654         Reviewed by Youenn Fablet.
2655
2656         This patch imports "cssom-view" test suite from WPT repo:
2657         https://github.com/w3c/web-platform-tests/tree/master/cssom-view
2658
2659         * resources/import-expectations.json:
2660         * resources/resource-files.json:
2661         * web-platform-tests/cssom-view/CaretPosition-001-expected.txt: Added.
2662         * web-platform-tests/cssom-view/CaretPosition-001.html: Added.
2663         * web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode-expected.txt: Added.
2664         * web-platform-tests/cssom-view/HTMLBody-ScrollArea_quirksmode.html: Added.
2665         * web-platform-tests/cssom-view/MediaQueryList-001-expected.txt: Added.
2666         * web-platform-tests/cssom-view/MediaQueryList-001.html: Added.
2667         * web-platform-tests/cssom-view/MediaQueryList-with-empty-string-expected.txt: Added.
2668         * web-platform-tests/cssom-view/MediaQueryList-with-empty-string.html: Added.
2669         * web-platform-tests/cssom-view/OWNERS: Added.
2670         * web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt: Added.
2671         * web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html: Added.
2672         * web-platform-tests/cssom-view/cssom-getBoundingClientRect-001-expected.txt: Added.
2673         * web-platform-tests/cssom-view/cssom-getBoundingClientRect-001.html: Added.
2674         * web-platform-tests/cssom-view/cssom-getBoundingClientRect-002.html: Added.
2675         * web-platform-tests/cssom-view/cssom-getClientRects-expected.txt: Added.
2676         * web-platform-tests/cssom-view/cssom-getClientRects.html: Added.
2677         * web-platform-tests/cssom-view/cssom-view-img-attributes-001-expected.txt: Added.
2678         * web-platform-tests/cssom-view/cssom-view-img-attributes-001.html: Added.
2679         * web-platform-tests/cssom-view/cssom-view-window-screen-interface-expected.txt: Added.
2680         * web-platform-tests/cssom-view/cssom-view-window-screen-interface.html: Added.
2681         * web-platform-tests/cssom-view/cssom-view/media-query-list-interface.xht: Added.
2682         * web-platform-tests/cssom-view/cssom-view/w3c-import.log: Added.
2683         * web-platform-tests/cssom-view/cssom-view/window-interface-expected.txt: Added.
2684         * web-platform-tests/cssom-view/cssom-view/window-interface.xht: Added.
2685         * web-platform-tests/cssom-view/elementFromPoint-001-expected.txt: Added.
2686         * web-platform-tests/cssom-view/elementFromPoint-001.html: Added.
2687         * web-platform-tests/cssom-view/elementFromPoint-expected.txt: Added.
2688         * web-platform-tests/cssom-view/elementFromPoint.html: Added.
2689         * web-platform-tests/cssom-view/elementFromPosition-expected.txt: Added.
2690         * web-platform-tests/cssom-view/elementFromPosition.html: Added.
2691         * web-platform-tests/cssom-view/elementScroll-expected.txt: Added.
2692         * web-platform-tests/cssom-view/elementScroll.html: Added.
2693         * web-platform-tests/cssom-view/elementsFromPoint.html: Added.
2694         * web-platform-tests/cssom-view/historical-expected.txt: Added.
2695         * web-platform-tests/cssom-view/historical.html: Added.
2696         * web-platform-tests/cssom-view/htmlelement-offset-width-001-expected.txt: Added.
2697         * web-platform-tests/cssom-view/htmlelement-offset-width-001.html: Added.
2698         * web-platform-tests/cssom-view/iframe.html: Added.
2699         * web-platform-tests/cssom-view/matchMedia-expected.txt: Added.
2700         * web-platform-tests/cssom-view/matchMedia.xht: Added.
2701         * web-platform-tests/cssom-view/matchMediaAddListener-expected.txt: Added.
2702         * web-platform-tests/cssom-view/matchMediaAddListener.html: Added.
2703         * web-platform-tests/cssom-view/mouseEvent-expected.txt: Added.
2704         * web-platform-tests/cssom-view/mouseEvent.html: Added.
2705         * web-platform-tests/cssom-view/negativeMargins-expected.txt: Added.
2706         * web-platform-tests/cssom-view/negativeMargins.html: Added.
2707         * web-platform-tests/cssom-view/offsetParent_element_test-expected.txt: Added.
2708         * web-platform-tests/cssom-view/offsetParent_element_test.html: Added.
2709         * web-platform-tests/cssom-view/scrollWidthHeight-expected.txt: Added.
2710         * web-platform-tests/cssom-view/scrollWidthHeight.xht: Added.
2711         * web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable-expected.txt: Added.
2712         * web-platform-tests/cssom-view/scrollWidthHeightWhenNotScrollable.xht: Added.
2713         * web-platform-tests/cssom-view/scrolling-no-browsing-context-expected.txt: Added.
2714         * web-platform-tests/cssom-view/scrolling-no-browsing-context.html: Added.
2715         * web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Added.
2716         * web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks.html: Added.
2717         * web-platform-tests/cssom-view/scrollingElement.html: Added.
2718         * web-platform-tests/cssom-view/support/1x1-green.png: Added.
2719         * web-platform-tests/cssom-view/support/1x1-lime.png: Added.
2720         * web-platform-tests/cssom-view/support/1x1-maroon.png: Added.
2721         * web-platform-tests/cssom-view/support/1x1-navy.png: Added.
2722         * web-platform-tests/cssom-view/support/1x1-red.png: Added.
2723         * web-platform-tests/cssom-view/support/1x1-white.png: Added.
2724         * web-platform-tests/cssom-view/support/60x60-gg-rr.png: Added.
2725         * web-platform-tests/cssom-view/support/60x60-green.png: Added.
2726         * web-platform-tests/cssom-view/support/60x60-red.png: Added.
2727         * web-platform-tests/cssom-view/support/README: Added.
2728         * web-platform-tests/cssom-view/support/a-green.css: Added.
2729         (.a):
2730         * web-platform-tests/cssom-view/support/b-green.css: Added.
2731         (.b):
2732         * web-platform-tests/cssom-view/support/c-red.css: Added.
2733         (.c):
2734         * web-platform-tests/cssom-view/support/cat.png: Added.
2735         * web-platform-tests/cssom-view/support/import-green.css: Added.
2736         (.import):
2737         * web-platform-tests/cssom-view/support/import-red.css: Added.
2738         (.import):
2739         * web-platform-tests/cssom-view/support/pattern-grg-rgr-grg.png: Added.
2740         * web-platform-tests/cssom-view/support/pattern-grg-rrg-rgg.png: Added.
2741         * web-platform-tests/cssom-view/support/pattern-rgr-grg-rgr.png: Added.
2742         * web-platform-tests/cssom-view/support/pattern-tr.png: Added.
2743         * web-platform-tests/cssom-view/support/ruler-h-50%.png: Added.
2744         * web-platform-tests/cssom-view/support/ruler-h-50px.png: Added.
2745         * web-platform-tests/cssom-view/support/ruler-v-100px.png: Added.
2746         * web-platform-tests/cssom-view/support/ruler-v-50px.png: Added.
2747         * web-platform-tests/cssom-view/support/square-purple.png: Added.
2748         * web-platform-tests/cssom-view/support/square-teal.png: Added.
2749         * web-platform-tests/cssom-view/support/square-white.png: Added.
2750         * web-platform-tests/cssom-view/support/support/README: Added.
2751         * web-platform-tests/cssom-view/support/support/swatch-green.png: Added.
2752         * web-platform-tests/cssom-view/support/support/swatch-red.png: Added.
2753         * web-platform-tests/cssom-view/support/support/w3c-import.log: Added.
2754         * web-platform-tests/cssom-view/support/swatch-blue.png: Added.
2755         * web-platform-tests/cssom-view/support/swatch-green.png: Added.
2756         * web-platform-tests/cssom-view/support/swatch-lime.png: Added.
2757         * web-platform-tests/cssom-view/support/swatch-orange.png: Added.
2758         * web-platform-tests/cssom-view/support/swatch-red.png: Added.
2759         * web-platform-tests/cssom-view/support/swatch-teal.png: Added.
2760         * web-platform-tests/cssom-view/support/swatch-white.png: Added.
2761         * web-platform-tests/cssom-view/support/swatch-yellow.png: Added.
2762         * web-platform-tests/cssom-view/support/test-bl.png: Added.
2763         * web-platform-tests/cssom-view/support/test-br.png: Added.
2764         * web-platform-tests/cssom-view/support/test-inner-half-size.png: Added.
2765         * web-platform-tests/cssom-view/support/test-outer.png: Added.
2766         * web-platform-tests/cssom-view/support/test-tl.png: Added.
2767         * web-platform-tests/cssom-view/support/test-tr.png: Added.
2768         * web-platform-tests/cssom-view/support/w3c-import.log: Added.
2769         * web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length-expected.txt: Added.
2770         * web-platform-tests/cssom-view/ttwf-js-cssomview-getclientrects-length.html: Added.
2771         * web-platform-tests/cssom-view/ttwf-scrollintoview-expected.txt: Added.
2772         * web-platform-tests/cssom-view/ttwf-scrollintoview.html: Added.
2773         * web-platform-tests/cssom-view/w3c-import.log: Added.
2774         * web-platform-tests/cssom-view/window-screen-height-expected.txt: Added.
2775         * web-platform-tests/cssom-view/window-screen-height-immutable-expected.txt: Added.
2776         * web-platform-tests/cssom-view/window-screen-height-immutable.html: Added.
2777         * web-platform-tests/cssom-view/window-screen-height.html: Added.
2778         * web-platform-tests/cssom-view/window-screen-width-expected.txt: Added.
2779         * web-platform-tests/cssom-view/window-screen-width-immutable-expected.txt: Added.
2780         * web-platform-tests/cssom-view/window-screen-width-immutable.html: Added.
2781         * web-platform-tests/cssom-view/window-screen-width.html: Added.
2782
2783 2017-04-24  Chris Dumez  <cdumez@apple.com>
2784
2785         createElementNS() should now throw only InvalidCharacterError, not NamespaceError
2786         https://bugs.webkit.org/show_bug.cgi?id=171052
2787
2788         Reviewed by Sam Weinig.
2789
2790         Re-sync web-platform-tests/dom from upstream to gain test coverage.
2791
2792         * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html:
2793         * web-platform-tests/dom/collections/HTMLCollection-empty-name.html:
2794         * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html:
2795         * web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html:
2796         * web-platform-tests/dom/collections/domstringmap-supported-property-names.html:
2797         * web-platform-tests/dom/collections/namednodemap-supported-property-names.html:
2798         * web-platform-tests/dom/events/AddEventListenerOptions-once.html:
2799         * web-platform-tests/dom/events/AddEventListenerOptions-passive.html:
2800         * web-platform-tests/dom/events/CustomEvent.html:
2801         * web-platform-tests/dom/events/Event-cancelBubble.html:
2802         * web-platform-tests/dom/events/Event-constants.html:
2803         * web-platform-tests/dom/events/Event-constructors.html:
2804         * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html:
2805         * web-platform-tests/dom/events/Event-defaultPrevented.html:
2806         * web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html:
2807         * web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
2808         * web-platform-tests/dom/events/Event-dispatch-bubbles-true.html:
2809         * web-platform-tests/dom/events/Event-dispatch-click.html:
2810         * web-platform-tests/dom/events/Event-dispatch-detached-click.html:
2811         * web-platform-tests/dom/events/Event-dispatch-handlers-changed.html:
2812         * web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html:
2813         * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html:
2814         * web-platform-tests/dom/events/Event-dispatch-omitted-capture.html:
2815         * web-platform-tests/dom/events/Event-dispatch-order.html:
2816         * web-platform-tests/dom/events/Event-dispatch-other-document.html:
2817         * web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html:
2818         * web-platform-tests/dom/events/Event-dispatch-redispatch.html:
2819         * web-platform-tests/dom/events/Event-dispatch-reenter.html:
2820         * web-platform-tests/dom/events/Event-dispatch-target-moved.html:
2821         * web-platform-tests/dom/events/Event-dispatch-target-removed.html:
2822         * web-platform-tests/dom/events/Event-dispatch-throwing.html:
2823         * web-platform-tests/dom/events/Event-init-while-dispatching.html:
2824         * web-platform-tests/dom/events/Event-initEvent.html:
2825         * web-platform-tests/dom/events/Event-propagation.html:
2826         * web-platform-tests/dom/events/Event-subclasses-constructors.html:
2827         * web-platform-tests/dom/events/Event-type-empty.html:
2828         * web-platform-tests/dom/events/Event-type.html:
2829         * web-platform-tests/dom/events/EventListener-handleEvent.html:
2830         * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html:
2831         * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html:
2832         * web-platform-tests/dom/events/EventListener-invoke-legacy.html:
2833         * web-platform-tests/dom/events/EventListenerOptions-capture.html:
2834         * web-platform-tests/dom/events/EventTarget-addEventListener.html:
2835         * web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html:
2836         * web-platform-tests/dom/events/EventTarget-dispatchEvent.html:
2837         * web-platform-tests/dom/events/EventTarget-removeEventListener.html:
2838         * web-platform-tests/dom/historical.html:
2839         * web-platform-tests/dom/interface-objects.html:
2840         * web-platform-tests/dom/interfaces.html:
2841         * web-platform-tests/dom/lists/DOMTokenList-Iterable.html:
2842         * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html:
2843         * web-platform-tests/dom/lists/DOMTokenList-iteration.html:
2844         * web-platform-tests/dom/lists/DOMTokenList-stringifier.html:
2845         * web-platform-tests/dom/lists/DOMTokenList-value.html:
2846         * web-platform-tests/dom/nodes/CharacterData-appendChild.html:
2847         * web-platform-tests/dom/nodes/CharacterData-appendData.html:
2848         * web-platform-tests/dom/nodes/CharacterData-data.html:
2849         * web-platform-tests/dom/nodes/CharacterData-deleteData.html:
2850         * web-platform-tests/dom/nodes/CharacterData-insertData.html:
2851         * web-platform-tests/dom/nodes/CharacterData-remove.html:
2852         * web-platform-tests/dom/nodes/CharacterData-replaceData.html:
2853         * web-platform-tests/dom/nodes/CharacterData-substringData.html:
2854         * web-platform-tests/dom/nodes/CharacterData-surrogates.html:
2855         * web-platform-tests/dom/nodes/ChildNode-after.html:
2856         * web-platform-tests/dom/nodes/ChildNode-before.html:
2857         * web-platform-tests/dom/nodes/ChildNode-replaceWith.html:
2858         * web-platform-tests/dom/nodes/Comment-constructor.html:
2859         * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
2860         * web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
2861         * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt:
2862         * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html:
2863         * web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html:
2864         * web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html:
2865         * web-platform-tests/dom/nodes/Document-URL.sub.html:
2866         * web-platform-tests/dom/nodes/Document-adoptNode.html:
2867         * web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
2868         * web-platform-tests/dom/nodes/Document-constructor.html:
2869         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html:
2870         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html:
2871         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html:
2872         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html:
2873         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html:
2874         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html:
2875         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html:
2876         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html:
2877         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html:
2878         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html:
2879         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html:
2880         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html:
2881         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html:
2882         * web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html:
2883         * web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html:
2884         * web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html:
2885         * web-platform-tests/dom/nodes/Document-createAttribute.html:
2886         * web-platform-tests/dom/nodes/Document-createComment.html:
2887         * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log:
2888         * web-platform-tests/dom/nodes/Document-createElement-namespace.html:
2889         * web-platform-tests/dom/nodes/Document-createElement.html:
2890         * web-platform-tests/dom/nodes/Document-createElementNS-expected.txt:
2891         * web-platform-tests/dom/nodes/Document-createElementNS.html:
2892         * web-platform-tests/dom/nodes/Document-createElementNS.js:
2893         * web-platform-tests/dom/nodes/Document-createEvent.html:
2894         * web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml:
2895         * web-platform-tests/dom/nodes/Document-createProcessingInstruction.html:
2896         * web-platform-tests/dom/nodes/Document-createTextNode.html:
2897         * web-platform-tests/dom/nodes/Document-createTreeWalker.html:
2898         * web-platform-tests/dom/nodes/Document-doctype.html:
2899         * web-platform-tests/dom/nodes/Document-getElementById.html:
2900         * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
2901         * web-platform-tests/dom/nodes/Document-getElementsByTagName.html:
2902         * web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html:
2903         * web-platform-tests/dom/nodes/Document-implementation.html:
2904         * web-platform-tests/dom/nodes/Document-importNode.html:
2905         * web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml:
2906         * web-platform-tests/dom/nodes/DocumentType-literal.html:
2907         * web-platform-tests/dom/nodes/DocumentType-remove.html:
2908         * web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml:
2909         * web-platform-tests/dom/nodes/Element-childElement-null.html:
2910         * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml:
2911         * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html:
2912         * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml:
2913         * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html:
2914         * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml:
2915         * web-platform-tests/dom/nodes/Element-childElementCount-nochild.html:
2916         * web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml:
2917         * web-platform-tests/dom/nodes/Element-childElementCount.html:
2918         * web-platform-tests/dom/nodes/Element-children.html:
2919         * web-platform-tests/dom/nodes/Element-classlist.html:
2920         * web-platform-tests/dom/nodes/Element-closest.html:
2921         * web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml:
2922         * web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml:
2923         * web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html:
2924         * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml:
2925         * web-platform-tests/dom/nodes/Element-firstElementChild.html:
2926         * web-platform-tests/dom/nodes/Element-getElementsByClassName.html:
2927         * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:
2928         * web-platform-tests/dom/nodes/Element-getElementsByTagName.html:
2929         * web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html:
2930         * web-platform-tests/dom/nodes/Element-hasAttributes.html:
2931         * web-platform-tests/dom/nodes/Element-insertAdjacentElement.html:
2932         * web-platform-tests/dom/nodes/Element-insertAdjacentText.html:
2933         * web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml:
2934         * web-platform-tests/dom/nodes/Element-lastElementChild.html:
2935         * web-platform-tests/dom/nodes/Element-matches.html:
2936         * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml:
2937         * web-platform-tests/dom/nodes/Element-nextElementSibling.html:
2938         * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml:
2939         * web-platform-tests/dom/nodes/Element-previousElementSibling.html:
2940         * web-platform-tests/dom/nodes/Element-remove.html:
2941         * web-platform-tests/dom/nodes/Element-removeAttributeNS.html:
2942         * web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml:
2943         * web-platform-tests/dom/nodes/Element-siblingElement-null.html:
2944         * web-platform-tests/dom/nodes/Element-tagName.html:
2945         * web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html:
2946         * web-platform-tests/dom/nodes/MutationObserver-attributes.html:
2947         * web-platform-tests/dom/nodes/MutationObserver-characterData.html:
2948         * web-platform-tests/dom/nodes/MutationObserver-childList.html:
2949         * web-platform-tests/dom/nodes/MutationObserver-disconnect.html:
2950         * web-platform-tests/dom/nodes/MutationObserver-document.html:
2951         * web-platform-tests/dom/nodes/MutationObserver-inner-outer.html:
2952         * web-platform-tests/dom/nodes/MutationObserver-takeRecords.html:
2953         * web-platform-tests/dom/nodes/Node-appendChild.html:
2954         * web-platform-tests/dom/nodes/Node-baseURI.html:
2955         * web-platform-tests/dom/nodes/Node-childNodes.html:
2956         * web-platform-tests/dom/nodes/Node-cloneNode.html:
2957         * web-platform-tests/dom/nodes/Node-compareDocumentPosition.html:
2958         * web-platform-tests/dom/nodes/Node-constants.html:
2959         * web-platform-tests/dom/nodes/Node-contains-xml.xml:
2960         * web-platform-tests/dom/nodes/Node-contains.html:
2961         * web-platform-tests/dom/nodes/Node-insertBefore.html:
2962         * web-platform-tests/dom/nodes/Node-isConnected.html:
2963         * web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml:
2964         * web-platform-tests/dom/nodes/Node-isEqualNode.html:
2965         * web-platform-tests/dom/nodes/Node-isSameNode.html:
2966         * web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html:
2967         * web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml:
2968         * web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml:
2969         * web-platform-tests/dom/nodes/Node-nodeName.html:
2970         * web-platform-tests/dom/nodes/Node-nodeValue.html:
2971         * web-platform-tests/dom/nodes/Node-normalize.html:
2972         * web-platform-tests/dom/nodes/Node-parentElement.html:
2973         * web-platform-tests/dom/nodes/Node-parentNode.html:
2974         * web-platform-tests/dom/nodes/Node-properties.html:
2975         * web-platform-tests/dom/nodes/Node-removeChild.html:
2976         * web-platform-tests/dom/nodes/Node-replaceChild.html:
2977         * web-platform-tests/dom/nodes/Node-textContent.html:
2978         * web-platform-tests/dom/nodes/NodeList-Iterable.html:
2979         * web-platform-tests/dom/nodes/ParentNode-append.html:
2980         * web-platform-tests/dom/nodes/ParentNode-prepend.html:
2981         * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht:
2982         * web-platform-tests/dom/nodes/ParentNode-querySelector-All.html:
2983         * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml:
2984         * web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml:
2985         * web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml:
2986         * web-platform-tests/dom/nodes/Text-constructor.html:
2987         * web-platform-tests/dom/nodes/Text-splitText.html:
2988         * web-platform-tests/dom/nodes/append-on-Document.html:
2989         * web-platform-tests/dom/nodes/attributes-expected.txt:
2990         * web-platform-tests/dom/nodes/attributes.html:
2991         * web-platform-tests/dom/nodes/case.html:
2992         * web-platform-tests/dom/nodes/getElementsByClassName-01.htm:
2993         * web-platform-tests/dom/nodes/getElementsByClassName-02.htm:
2994         * web-platform-tests/dom/nodes/getElementsByClassName-03.htm:
2995         * web-platform-tests/dom/nodes/getElementsByClassName-04.htm:
2996         * web-platform-tests/dom/nodes/getElementsByClassName-05.htm:
2997         * web-platform-tests/dom/nodes/getElementsByClassName-06.htm:
2998         * web-platform-tests/dom/nodes/getElementsByClassName-07.htm:
2999         * web-platform-tests/dom/nodes/getElementsByClassName-08.htm:
3000         * web-platform-tests/dom/nodes/getElementsByClassName-09.htm:
3001         * web-platform-tests/dom/nodes/getElementsByClassName-10.xml:
3002         * web-platform-tests/dom/nodes/getElementsByClassName-11.xml:
3003         * web-platform-tests/dom/nodes/getElementsByClassName-12.htm:
3004         * web-platform-tests/dom/nodes/getElementsByClassName-13.htm:
3005         * web-platform-tests/dom/nodes/getElementsByClassName-14.htm:
3006         * web-platform-tests/dom/nodes/getElementsByClassName-15.htm:
3007         * web-platform-tests/dom/nodes/getElementsByClassName-16.htm:
3008         * web-platform-tests/dom/nodes/getElementsByClassName-17.htm:
3009         * web-platform-tests/dom/nodes/getElementsByClassName-18.htm:
3010         * web-platform-tests/dom/nodes/getElementsByClassName-19.htm:
3011         * web-platform-tests/dom/nodes/getElementsByClassName-20.htm:
3012         * web-platform-tests/dom/nodes/getElementsByClassName-21.htm:
3013         * web-platform-tests/dom/nodes/getElementsByClassName-22.htm:
3014         * web-platform-tests/dom/nodes/getElementsByClassName-23.htm:
3015         * web-platform-tests/dom/nodes/getElementsByClassName-24.htm:
3016         * web-platform-tests/dom/nodes/getElementsByClassName-25.htm:
3017         * web-platform-tests/dom/nodes/getElementsByClassName-26.htm:
3018         * web-platform-tests/dom/nodes/getElementsByClassName-27.htm:
3019         * web-platform-tests/dom/nodes/getElementsByClassName-28.htm:
3020         * web-platform-tests/dom/nodes/getElementsByClassName-29.htm:
3021         * web-platform-tests/dom/nodes/getElementsByClassName-30.htm:
3022         * web-platform-tests/dom/nodes/getElementsByClassName-31.htm:
3023         * web-platform-tests/dom/nodes/insert-adjacent.html:
3024         * web-platform-tests/dom/nodes/prepend-on-Document.html:
3025         * web-platform-tests/dom/nodes/remove-unscopable.html:
3026         * web-platform-tests/dom/nodes/rootNode.html:
3027         * web-platform-tests/dom/nodes/w3c-import.log:
3028         * web-platform-tests/dom/ranges/Range-attributes.html:
3029         * web-platform-tests/dom/ranges/Range-cloneContents.html:
3030         * web-platform-tests/dom/ranges/Range-cloneRange.html:
3031         * web-platform-tests/dom/ranges/Range-collapse.html:
3032         * web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html:
3033         * web-platform-tests/dom/ranges/Range-commonAncestorContainer.html:
3034         * web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html:
3035         * web-platform-tests/dom/ranges/Range-comparePoint-2.html:
3036         * web-platform-tests/dom/ranges/Range-comparePoint.html:
3037         * web-platform-tests/dom/ranges/Range-constructor.html:
3038         * web-platform-tests/dom/ranges/Range-deleteContents.html:
3039         * web-platform-tests/dom/ranges/Range-detach.html:
3040         * web-platform-tests/dom/ranges/Range-extractContents.html:
3041         * web-platform-tests/dom/ranges/Range-insertNode.html:
3042         * web-platform-tests/dom/ranges/Range-intersectsNode-binding.html:
3043         * web-platform-tests/dom/ranges/Range-intersectsNode.html:
3044         * web-platform-tests/dom/ranges/Range-isPointInRange.html:
3045         * web-platform-tests/dom/ranges/Range-mutations-appendChild.html:
3046         * web-platform-tests/dom/ranges/Range-mutations-appendData.html:
3047         * web-platform-tests/dom/ranges/Range-mutations-dataChange.html:
3048         * web-platform-tests/dom/ranges/Range-mutations-deleteData.html:
3049         * web-platform-tests/dom/ranges/Range-mutations-insertBefore.html:
3050         * web-platform-tests/dom/ranges/Range-mutations-insertData.html:
3051         * web-platform-tests/dom/ranges/Range-mutations-removeChild.html:
3052         * web-platform-tests/dom/ranges/Range-mutations-replaceChild.html:
3053         * web-platform-tests/dom/ranges/Range-mutations-replaceData.html:
3054         * web-platform-tests/dom/ranges/Range-mutations-splitText.html:
3055         * web-platform-tests/dom/ranges/Range-selectNode.html:
3056         * web-platform-tests/dom/ranges/Range-set.html:
3057         * web-platform-tests/dom/ranges/Range-stringifier.html:
3058         * web-platform-tests/dom/ranges/Range-surroundContents.html:
3059         * web-platform-tests/dom/traversal/NodeFilter-constants.html:
3060         * web-platform-tests/dom/traversal/NodeIterator-removal.html:
3061         * web-platform-tests/dom/traversal/NodeIterator.html:
3062         * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
3063         * web-platform-tests/dom/traversal/TreeWalker-basic.html:
3064         * web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
3065         * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
3066         * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
3067         * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
3068         * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
3069         * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
3070         * web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
3071         * web-platform-tests/dom/traversal/TreeWalker.html:
3072
3073 2017-04-21  Chris Dumez  <cdumez@apple.com>
3074
3075         Regression(r206240): XMLSerializer.serializeToString() does not properly escape '<' / '>' in attribute values
3076         https://bugs.webkit.org/show_bug.cgi?id=171132
3077         <rdar://problem/31426752>
3078
3079         Reviewed by Ryosuke Niwa.
3080
3081         Re-sync web-platform-tests/domparsing from upstream.
3082
3083         * web-platform-tests/domparsing/DOMParser-parseFromString-html.html:
3084         * web-platform-tests/domparsing/DOMParser-parseFromString-xml-doctype.html:
3085         * web-platform-tests/domparsing/DOMParser-parseFromString-xml.html:
3086         * web-platform-tests/domparsing/XMLSerializer-serializeToString.html:
3087         * web-platform-tests/domparsing/createContextualFragment.html:
3088         * web-platform-tests/domparsing/innerhtml-01.xhtml:
3089         * web-platform-tests/domparsing/innerhtml-03.xhtml:
3090         * web-platform-tests/domparsing/innerhtml-04.html:
3091         * web-platform-tests/domparsing/innerhtml-05.xhtml:
3092         * web-platform-tests/domparsing/innerhtml-06.html:
3093         * web-platform-tests/domparsing/innerhtml-07.html:
3094         * web-platform-tests/domparsing/insert-adjacent.html:
3095         * web-platform-tests/domparsing/insert_adjacent_html-xhtml.xhtml:
3096         * web-platform-tests/domparsing/insert_adjacent_html.html:
3097         * web-platform-tests/domparsing/outerhtml-01.html:
3098         * web-platform-tests/domparsing/outerhtml-02.html:
3099         * web-platform-tests/domparsing/style_attribute_html.html:
3100         * web-platform-tests/domparsing/w3c-import.log:
3101         * web-platform-tests/domparsing/xml-serialization.xhtml:
3102
3103 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
3104
3105         Remove two tests after r215515.
3106         https://bugs.webkit.org/show_bug.cgi?id=171014
3107
3108         Unreviewed test gardening.
3109
3110         * web-platform-tests/fetch/api/basic/scheme-about.worker-expected.txt: Removed.
3111         * web-platform-tests/fetch/api/basic/scheme-about.worker.html: Removed.
3112         * web-platform-tests/user-timing/clear_one_measure.worker-expected.txt: Removed.
3113         * web-platform-tests/user-timing/clear_one_measure.worker.html: Removed.
3114
3115 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
3116
3117         Rebaseline tests after r215515.
3118         https://bugs.webkit.org/show_bug.cgi?id=171014
3119
3120         Unreviewed test gardening.
3121
3122         * web-platform-tests/XMLHttpRequest/getallresponseheaders-cl-expected.txt:
3123         * web-platform-tests/fetch/api/redirect/redirect-count-expected.txt:
3124         * web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt:
3125         * web-platform-tests/fetch/api/redirect/redirect-location-expected.txt:
3126         * web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt:
3127         * web-platform-tests/html/webappapis/timers/negative-settimeout-expected.txt:
3128
3129 2017-04-19  Youenn Fablet  <youenn@apple.com>
3130
3131         Adding wpt tools
3132
3133         Import web-platform-tests/tools
3134         https://bugs.webkit.org/show_bug.cgi?id=170718
3135
3136         Reviewed by Alex Christensen.
3137
3138         * resources/TestRepositories:
3139         * resources/import-expectations.json:
3140         * resources/resource-files.json:
3141         * resources/web-platform-tests-modules.json: Removed.
3142         * web-platform-tests/.gitignore:
3143         * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.worker-expected.txt: Added.
3144         * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.worker.html: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.html.
3145         * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker-expected.txt: Removed.
3146         * web-platform-tests/XMLHttpRequest/getallresponseheaders-cl-expected.txt:
3147         * web-platform-tests/XMLHttpRequest/responsetype-expected.txt:
3148         * web-platform-tests/XMLHttpRequest/send-usp.any.worker-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker-expected.txt.
3149         * web-platform-tests/XMLHttpRequest/send-usp.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker.html.
3150         * web-platform-tests/XMLHttpRequest/send-usp.worker.js: Removed.
3151         * web-platform-tests/XMLHttpRequest/timeout-sync-expected.txt:
3152         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01-expected.txt:
3153         * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02-expected.txt:
3154         * web-platform-tests/fetch/api/basic/accept-header.any-expected.txt:
3155         * web-platform-tests/fetch/api/basic/accept-header.any.worker-expected.txt: Added.
3156         * web-platform-tests/fetch/api/basic/accept-header.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/accept-header.worker.html.
3157         * web-platform-tests/fetch/api/basic/accept-header.worker-expected.txt: Removed.
3158         * web-platform-tests/fetch/api/basic/mode-same-origin.any-expected.txt:
3159         * web-platform-tests/fetch/api/basic/mode-same-origin.any.worker-expected.txt: Added.
3160         * web-platform-tests/fetch/api/basic/mode-same-origin.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-same-origin.worker.html.
3161         * web-platform-tests/fetch/api/basic/mode-same-origin.worker-expected.txt: Removed.
3162         * web-platform-tests/fetch/api/basic/referrer.any-expected.txt:
3163         * web-platform-tests/fetch/api/basic/referrer.any.worker-expected.txt: Added.
3164         * web-platform-tests/fetch/api/basic/referrer.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/referrer.worker.html.
3165         * web-platform-tests/fetch/api/basic/referrer.worker-expected.txt: Removed.
3166         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any-expected.txt:
3167         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any.worker-expected.txt: Added.
3168         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-forbidden-headers.worker.html.
3169         * web-platform-tests/fetch/api/basic/request-forbidden-headers.worker-expected.txt: Removed.
3170         * web-platform-tests/fetch/api/basic/request-head.any.worker-expected.txt: Added.
3171         * web-platform-tests/fetch/api/basic/request-head.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.worker.html.
3172         * web-platform-tests/fetch/api/basic/request-head.worker-expected.txt: Removed.
3173         * web-platform-tests/fetch/api/basic/request-headers.any-expected.txt:
3174         * web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt: Added.
3175         * web-platform-tests/fetch/api/basic/request-headers.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.worker.html.
3176         * web-platform-tests/fetch/api/basic/request-headers.worker-expected.txt: Removed.
3177         * web-platform-tests/fetch/api/basic/request-referrer-redirected-worker-expected.txt:
3178         * web-platform-tests/fetch/api/basic/request-referrer.any-expected.txt:
3179         * web-platform-tests/fetch/api/basic/request-referrer.any.worker-expected.txt: Added.
3180         * web-platform-tests/fetch/api/basic/request-referrer.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.worker.html.
3181         * web-platform-tests/fetch/api/basic/request-referrer.worker-expected.txt: Removed.
3182         * web-platform-tests/fetch/api/basic/request-upload.any-expected.txt:
3183         * web-platform-tests/fetch/api/basic/request-upload.any.worker-expected.txt: Added.
3184         * web-platform-tests/fetch/api/basic/request-upload.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-upload.worker.html.
3185         * web-platform-tests/fetch/api/basic/request-upload.worker-expected.txt: Removed.
3186         * web-platform-tests/fetch/api/basic/scheme-about.any.worker-expected.txt: Added.
3187         * web-platform-tests/fetch/api/basic/scheme-about.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-data.worker.html.
3188         * web-platform-tests/fetch/api/basic/scheme-about.worker-expected.txt:
3189         * web-platform-tests/fetch/api/basic/scheme-data.any.worker-expected.txt: Added.
3190         * web-platform-tests/fetch/api/basic/scheme-data.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/stream-response.worker.html.
3191         * web-platform-tests/fetch/api/basic/scheme-data.worker-expected.txt: Removed.
3192         * web-platform-tests/fetch/api/basic/stream-response.any-expected.txt:
3193         * web-platform-tests/fetch/api/basic/stream-response.any.worker-expected.txt: Added.
3194         * web-platform-tests/fetch/api/basic/stream-response.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.worker.html.
3195         * web-platform-tests/fetch/api/basic/stream-response.worker-expected.txt: Removed.
3196         * web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt:
3197         * web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Added.
3198         * web-platform-tests/fetch/api/cors/cors-basic.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.worker.html.
3199         * web-platform-tests/fetch/api/cors/cors-basic.worker-expected.txt: Removed.
3200         * web-platform-tests/fetch/api/cors/cors-cookies.any-expected.txt:
3201         * web-platform-tests/fetch/api/cors/cors-cookies.any.worker-expected.txt: Added.
3202         * web-platform-tests/fetch/api/cors/cors-cookies.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.worker.html.
3203         * web-platform-tests/fetch/api/cors/cors-cookies.worker-expected.txt: Removed.
3204         * web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt:
3205         * web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Added.
3206         * web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.worker.html.
3207         * web-platform-tests/fetch/api/cors/cors-no-preflight.worker-expected.txt: Removed.
3208         * web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt:
3209         * web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Added.
3210         * web-platform-tests/fetch/api/cors/cors-origin.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-redirect.worker.html.
3211         * web-platform-tests/fetch/api/cors/cors-origin.worker-expected.txt: Removed.
3212         * web-platform-tests/fetch/api/cors/cors-preflight-redirect.any-expected.txt:
3213         * web-platform-tests/fetch/api/cors/cors-preflight-redirect.any.worker-expected.txt: Added.
3214         * web-platform-tests/fetch/api/cors/cors-preflight-redirect.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer.worker.html.
3215         * web-platform-tests/fetch/api/cors/cors-preflight-redirect.worker-expected.txt: Removed.
3216         * web-platform-tests/fetch/api/cors/cors-preflight-referrer.any-expected.txt:
3217         * web-platform-tests/fetch/api/cors/cors-preflight-referrer.any.worker-expected.txt: Added.
3218         * web-platform-tests/fetch/api/cors/cors-preflight-referrer.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-star.worker.html.
3219         * web-platform-tests/fetch/api/cors/cors-preflight-referrer.worker-expected.txt: Removed.
3220         * web-platform-tests/fetch/api/cors/cors-preflight-star.any-expected.txt:
3221         * web-platform-tests/fetch/api/cors/cors-preflight-star.any.worker-expected.txt: Added.
3222         * web-platform-tests/fetch/api/cors/cors-preflight-star.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-status.worker.html.
3223         * web-platform-tests/fetch/api/cors/cors-preflight-star.worker-expected.txt: Removed.
3224         * web-platform-tests/fetch/api/cors/cors-preflight-status.any-expected.txt:
3225         * web-platform-tests/fetch/api/cors/cors-preflight-status.any.worker-expected.txt: Added.
3226         * web-platform-tests/fetch/api/cors/cors-preflight-status.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.worker.html.
3227         * web-platform-tests/fetch/api/cors/cors-preflight-status.worker-expected.txt: Removed.
3228         * web-platform-tests/fetch/api/cors/cors-preflight.any-expected.txt:
3229         * web-platform-tests/fetch/api/cors/cors-preflight.any.worker-expected.txt: Added.
3230         * web-platform-tests/fetch/api/cors/cors-preflight.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials.worker.html.
3231         * web-platform-tests/fetch/api/cors/cors-preflight.worker-expected.txt: Removed.
3232         * web-platform-tests/fetch/api/cors/cors-redirect-credentials.any-expected.txt:
3233         * web-platform-tests/fetch/api/cors/cors-redirect-credentials.any.worker-expected.txt: Added.
3234         * web-platform-tests/fetch/api/cors/cors-redirect-credentials.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-preflight.worker.html.
3235         * web-platform-tests/fetch/api/cors/cors-redirect-credentials.worker-expected.txt: Removed.
3236         * web-platform-tests/fetch/api/cors/cors-redirect-preflight.any-expected.txt:
3237         * web-platform-tests/fetch/api/cors/cors-redirect-preflight.any.worker-expected.txt: Added.
3238         * web-platform-tests/fetch/api/cors/cors-redirect-preflight.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect.worker.html.
3239         * web-platform-tests/fetch/api/cors/cors-redirect-preflight.worker-expected.txt: Removed.
3240         * web-platform-tests/fetch/api/cors/cors-redirect.any-expected.txt:
3241         * web-platform-tests/fetch/api/cors/cors-redirect.any.worker-expected.txt: Added.
3242         * web-platform-tests/fetch/api/cors/cors-redirect.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic.worker.html.
3243         * web-platform-tests/fetch/api/cors/cors-redirect.worker-expected.txt: Removed.
3244         * web-platform-tests/fetch/api/credentials/authentication-basic.any-expected.txt:
3245         * web-platform-tests/fetch/api/credentials/authentication-basic.any.worker-expected.txt: Added.
3246         * web-platform-tests/fetch/api/credentials/authentication-basic.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies.worker.html.
3247         * web-platform-tests/fetch/api/credentials/authentication-basic.worker-expected.txt: Removed.
3248         * web-platform-tests/fetch/api/credentials/cookies.any-expected.txt:
3249         * web-platform-tests/fetch/api/credentials/cookies.any.worker-expected.txt: Added.
3250         * web-platform-tests/fetch/api/credentials/cookies.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/historical.worker.html.
3251         * web-platform-tests/fetch/api/credentials/cookies.worker-expected.txt: Removed.
3252         * web-platform-tests/fetch/api/headers/historical.any.worker-expected.txt: Added.
3253         * web-platform-tests/fetch/api/headers/historical.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/hr-time/basic.worker.html.
3254         * web-platform-tests/fetch/api/headers/historical.worker-expected.txt: Removed.
3255         * web-platform-tests/fetch/api/redirect/redirect-count-expected.txt:
3256         * web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt:
3257         * web-platform-tests/fetch/api/redirect/redirect-location-expected.txt:
3258         * web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt:
3259         * web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt.
3260         * web-platform-tests/fetch/http-cache/partial-expected.txt:
3261         * web-platform-tests/hr-time/basic.any.worker-expected.txt: Added.
3262         * web-platform-tests/hr-time/basic.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/hr-time/monotonic-clock.worker.html.
3263         * web-platform-tests/hr-time/basic.worker-expected.txt: Removed.
3264         * web-platform-tests/hr-time/basic.worker.js: Removed.
3265         * web-platform-tests/hr-time/monotonic-clock.any.worker-expected.txt: Added.
3266         * web-platform-tests/hr-time/monotonic-clock.any.worker.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/self-origin.worker.html.
3267         * web-platform-tests/hr-time/monotonic-clock.worker-expected.txt: Removed.
3268
3269 2017-04-18  Manuel Rego Casasnovas  <rego@igalia.com>
3270
3271         [selectors4] Import W3C Test Suite
3272         https://bugs.webkit.org/show_bug.cgi?id=170898
3273
3274         Reviewed by Youenn Fablet.
3275
3276         This patch imports "selectors4" test suite from WPT repo:
3277         https://github.com/w3c/web-platform-tests/tree/master/css/selectors4
3278
3279         * resources/import-expectations.json:
3280         * web-platform-tests/css/selectors4/OWNERS: Added.
3281         * web-platform-tests/css/selectors4/focus-within-001-expected.html: Added.
3282         * web-platform-tests/css/selectors4/focus-within-001.html: Added.
3283         * web-platform-tests/css/selectors4/focus-within-002-expected.html: Added.
3284         * web-platform-tests/css/selectors4/focus-within-002.html: Added.
3285         * web-platform-tests/css/selectors4/focus-within-003-expected.html: Added.
3286         * web-platform-tests/css/selectors4/focus-within-003.html: Added.
3287         * web-platform-tests/css/selectors4/focus-within-004-expected.html: Added.
3288         * web-platform-tests/css/selectors4/focus-within-004.html: Added.
3289         * web-platform-tests/css/selectors4/focus-within-005-expected.html: Added.
3290         * web-platform-tests/css/selectors4/focus-within-005.html: Added.
3291         * web-platform-tests/css/selectors4/focus-within-006-expected.html: Added.
3292         * web-platform-tests/css/selectors4/focus-within-006.html: Added.
3293         * web-platform-tests/css/selectors4/focus-within-007-expected.html: Added.
3294         * web-platform-tests/css/selectors4/focus-within-007.html: Added.
3295         * web-platform-tests/css/selectors4/focus-within-008-expected.html: Added.
3296         * web-platform-tests/css/selectors4/focus-within-008.html: Added.
3297         * web-platform-tests/css/selectors4/focus-within-009-expected.txt: Added.
3298         * web-platform-tests/css/selectors4/focus-within-009.html: Added.
3299         * web-platform-tests/css/selectors4/focus-within-shadow-001-expected.html: Added.
3300         * web-platform-tests/css/selectors4/focus-within-shadow-001.html: Added.
3301         * web-platform-tests/css/selectors4/focus-within-shadow-002-expected.html: Added.
3302         * web-platform-tests/css/selectors4/focus-within-shadow-002.html: Added.
3303         * web-platform-tests/css/selectors4/focus-within-shadow-003-expected.html: Added.
3304         * web-platform-tests/css/selectors4/focus-within-shadow-003.html: Added.
3305         * web-platform-tests/css/selectors4/focus-within-shadow-004-expected.html: Added.
3306         * web-platform-tests/css/selectors4/focus-within-shadow-004.html: Added.
3307         * web-platform-tests/css/selectors4/focus-within-shadow-005-expected.html: Added.
3308         * web-platform-tests/css/selectors4/focus-within-shadow-005.html: Added.
3309         * web-platform-tests/css/selectors4/focus-within-shadow-006-expected.html: Added.
3310         * web-platform-tests/css/selectors4/focus-within-shadow-006.html: Added.
3311         * web-platform-tests/css/selectors4/of-type-selectors-expected.xhtml: Added.
3312         * web-platform-tests/css/selectors4/of-type-selectors.xhtml: Added.
3313         * web-platform-tests/css/selectors4/selector-required-expected.html: Added.
3314         * web-platform-tests/css/selectors4/selector-required.html: Added.
3315         * web-platform-tests/css/selectors4/selectors-dir-selector-ltr-001-expected.xht: Added.
3316         * web-platform-tests/css/selectors4/selectors-dir-selector-ltr-001.html: Added.
3317         * web-platform-tests/css/selectors4/selectors-dir-selector-rtl-001-expected.xht: Added.
3318         * web-platform-tests/css/selectors4/selectors-dir-selector-rtl-001.html: Added.
3319         * web-platform-tests/css/selectors4/w3c-import.log: Added.
3320
3321 2017-04-14  Jiewen Tan  <jiewen_tan@apple.com>
3322
3323         [WebCrypto] Add support for ECDSA
3324         https://bugs.webkit.org/show_bug.cgi?id=170789
3325         <rdar://problem/31588604>
3326
3327         Reviewed by Brent Fulgham.
3328
3329         * web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.worker-expected.txt:
3330         * web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.worker-expected.txt:
3331         * web-platform-tests/WebCryptoAPI/generateKey/test_failures_ECDSA-expected.txt:
3332         * web-platform-tests/WebCryptoAPI/generateKey/test_successes_ECDSA-expected.txt:
3333         * web-platform-tests/WebCryptoAPI/import_export/ec_importKey.worker-expected.txt:
3334         * web-platform-tests/WebCryptoAPI/import_export/test_ec_importKey-expected.txt:
3335         * web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker-expected.txt:
3336         * web-platform-tests/WebCryptoAPI/sign_verify/hmac.worker-expected.txt:
3337         * web-platform-tests/WebCryptoAPI/sign_verify/test_ecdsa-expected.txt:
3338         * web-platform-tests/WebCryptoAPI/sign_verify/test_hmac-expected.txt:
3339
3340 2017-04-17  Tim Horton  <timothy_horton@apple.com>
3341
3342         Remove some accidentally-added .orig files
3343         https://bugs.webkit.org/show_bug.cgi?id=170908
3344
3345         Reviewed by Youenn Fablet.
3346
3347         * web-platform-tests/resources/docs/api.md.orig: Removed.
3348         * web-platform-tests/resources/examples/apisample12.html.orig: Removed.
3349         * web-platform-tests/resources/webidl2/test/widlproc/doc/htmltodtd.xsl.orig: Removed.
3350         * web-platform-tests/resources/webidl2/test/widlproc/doc/widlproc.html.orig: Removed.
3351         * web-platform-tests/resources/webidl2/test/widlproc/examples/spectowidl.xsl.orig: Removed.
3352         * web-platform-tests/resources/webidl2/test/widlproc/src/widlprocxmltohtml.xsl.orig: Removed.
3353
3354 2017-04-14  Jiewen Tan  <jiewen_tan@apple.com>
3355
3356         [WebCrypto] Support HKDF
3357         https://bugs.webkit.org/show_bug.cgi?id=170636
3358         <rdar://problem/23539827>
3359
3360         Reviewed by Brent Fulgham.
3361
3362         * web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.worker-expected.txt:
3363         * web-platform-tests/WebCryptoAPI/derive_bits_keys/test_hkdf-expected.txt:
3364         * web-platform-tests/WebCryptoAPI/import_export/symmetric_importKey.worker-expected.txt:
3365         * web-platform-tests/WebCryptoAPI/import_export/test_symmetric_importKey-expected.txt:
3366
3367 2017-04-11  Youenn Fablet  <youenn@apple.com>
3368
3369         MediaStream id should be equal to msid
3370         https://bugs.webkit.org/show_bug.cgi?id=170712
3371
3372         Reviewed by Eric Carlson.
3373
3374         * web-platform-tests/webrtc/datachannel-emptystring-expected.txt:
3375         * web-platform-tests/webrtc/no-media-call-expected.txt:
3376         * web-platform-tests/webrtc/promises-call-expected.txt:
3377         * web-platform-tests/webrtc/rtcpeerconnection/setRemoteDescription-expected.txt:
3378
3379 2017-04-09  Youenn Fablet  <youenn@apple.com>
3380
3381         Resync WPT tests up to 23cd07d4685d81024b7440e042f8bbdb33e7ddec
3382         https://bugs.webkit.org/show_bug.cgi?id=170647
3383
3384         Reviewed by Sam Weinig.
3385
3386         Removing CSS import repository as it is merged into WPT.
3387
3388         * resources/TestRepositories:
3389         * resources/import-expectations.json:
3390         * resources/resource-files.json:
3391         * web-platform-tests/%CERTS_DIR%/FEFE.pem: Added.
3392         * web-platform-tests/%CERTS_DIR%/FEFF.pem: Added.
3393         * web-platform-tests/%CERTS_DIR%/cacert.pem: Added.
3394         * web-platform-tests/%CERTS_DIR%/cakey.pem: Added.
3395         * web-platform-tests/%CERTS_DIR%/index.txt: Added.
3396         * web-platform-tests/%CERTS_DIR%/index.txt.attr: Added.
3397         * web-platform-tests/%CERTS_DIR%/index.txt.attr.old: Added.
3398         * web-platform-tests/%CERTS_DIR%/index.txt.old: Added.
3399         * web-platform-tests/%CERTS_DIR%/localhost.key: Added.
3400         * web-platform-tests/%CERTS_DIR%/localhost.pem: Added.
3401         * web-platform-tests/%CERTS_DIR%/serial: Added.
3402         * web-platform-tests/%CERTS_DIR%/serial.old: Added.
3403         * web-platform-tests/%CERTS_DIR%/w3c-import.log: Added.
3404         * web-platform-tests/CONTRIBUTING.md:
3405         * web-platform-tests/IndexedDB/idbcursor-direction-index-keyrange.htm:
3406         * web-platform-tests/IndexedDB/idbcursor-direction-objectstore-keyrange.htm:
3407         * web-platform-tests/IndexedDB/idbdatabase-transaction-exception-order-expected.txt:
3408         * web-platform-tests/IndexedDB/idbdatabase-transaction-exception-order.html:
3409         * web-platform-tests/IndexedDB/idbdatabase_createObjectStore9-invalidparameters.htm:
3410         * web-platform-tests/IndexedDB/idbobjectstore_createIndex15-autoincrement-expected.txt: Added.
3411         * web-platform-tests/IndexedDB/idbobjectstore_createIndex15-autoincrement.htm: Added.
3412         * web-platform-tests/IndexedDB/idbobjectstore_deleted.htm:
3413         * web-platform-tests/IndexedDB/interleaved-cursors-expected.txt: Added.
3414         * web-platform-tests/IndexedDB/interleaved-cursors.html: Added.
3415         * web-platform-tests/IndexedDB/parallel-cursors-upgrade-expected.txt: Added.
3416         * web-platform-tests/IndexedDB/parallel-cursors-upgrade.html: Added.
3417         * web-platform-tests/IndexedDB/support-promises.js:
3418         (migrateNamedDatabase):
3419         (createNamedDatabase):
3420         (openNamedDatabase):
3421         * web-platform-tests/IndexedDB/w3c-import.log:
3422         * web-platform-tests/LICENSE.md:
3423         * web-platform-tests/README.md:
3424         * web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/exceptions.html:
3425         * web-platform-tests/XMLHttpRequest/event-readystatechange-loaded.htm:
3426         * web-platform-tests/XMLHttpRequest/resources/auth2/corsenabled.py:
3427         (main):
3428         * web-platform-tests/XMLHttpRequest/resources/conditional.py:
3429         (main):
3430         * web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader-expected.txt:
3431         * web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm:
3432         * web-platform-tests/XMLHttpRequest/send-conditional-cors-expected.txt: Added.
3433         * web-platform-tests/XMLHttpRequest/send-conditional-cors.htm: Added.
3434         * web-platform-tests/XMLHttpRequest/send-entity-body-document-bogus-expected.txt:
3435         * web-platform-tests/XMLHttpRequest/send-entity-body-document-bogus.htm:
3436         * web-platform-tests/XMLHttpRequest/send-non-same-origin-expected.txt:
3437         * web-platform-tests/XMLHttpRequest/send-non-same-origin.htm:
3438         * web-platform-tests/XMLHttpRequest/send-usp.any-expected.txt: Added.
3439         * web-platform-tests/XMLHttpRequest/send-usp.any.html: Added.
3440         * web-platform-tests/XMLHttpRequest/send-usp.any.js: Added.
3441         (encode):
3442         (x.onload.overall_test.step_func):
3443         * web-platform-tests/XMLHttpRequest/w3c-import.log:
3444         * web-platform-tests/background-fetch/OWNERS: Added.
3445         * web-platform-tests/background-fetch/interfaces-expected.txt: Added.
3446         * web-platform-tests/background-fetch/interfaces-worker.https-expected.txt: Added.
3447         * web-platform-tests/background-fetch/interfaces-worker.https.html: Added.
3448         * web-platform-tests/background-fetch/interfaces.html: Added.
3449         * web-platform-tests/background-fetch/interfaces.idl: Added.
3450         * web-platform-tests/background-fetch/interfaces.worker-expected.txt: Added.
3451         * web-platform-tests/background-fetch/interfaces.worker.html: Added.
3452         * web-platform-tests/background-fetch/interfaces.worker.js: Added.
3453         (promise_test):
3454         * web-platform-tests/background-fetch/w3c-import.log: Added.
3455         * web-platform-tests/beacon/headers/header-referrer-no-referrer-expected.txt: Added.
3456         * web-platform-tests/beacon/headers/header-referrer-no-referrer-when-downgrade.https-expected.txt: Added.
3457         * web-platform-tests/beacon/headers/header-referrer-no-referrer-when-downgrade.https.html: Added.
3458         * web-platform-tests/beacon/headers/header-referrer-no-referrer.html: Added.
3459         * web-platform-tests/beacon/headers/header-referrer-origin-expected.txt: Added.
3460         * web-platform-tests/beacon/headers/header-referrer-origin-when-cross-origin-expected.txt: Added.
3461         * web-platform-tests/beacon/headers/header-referrer-origin-when-cross-origin.html: Added.
3462         * web-platform-tests/beacon/headers/header-referrer-origin.html: Added.
3463         * web-platform-tests/beacon/headers/header-referrer-same-origin-expected.txt: Added.
3464         * web-platform-tests/beacon/headers/header-referrer-same-origin.html: Added.
3465         * web-platform-tests/beacon/headers/header-referrer-strict-origin-when-cross-origin.https-expected.txt: Added.
3466         * web-platform-tests/beacon/headers/header-referrer-strict-origin-when-cross-origin.https.html: Added.
3467         * web-platform-tests/beacon/headers/header-referrer-strict-origin.https-expected.txt: Added.
3468         * web-platform-tests/beacon/headers/header-referrer-strict-origin.https.html: Added.
3469         * web-platform-tests/beacon/headers/header-referrer-unsafe-url.https-expected.txt: Added.
3470         * web-platform-tests/beacon/headers/header-referrer-unsafe-url.https.html: Added.
3471         * web-platform-tests/beacon/headers/header-referrer.js: Added.
3472         (testReferrerHeader):
3473         (return.new.Promise.):
3474         (return.new.Promise):
3475         * web-platform-tests/beacon/headers/w3c-import.log: Added.
3476         * web-platform-tests/beacon/resources/inspect-header.py: Added.
3477         (main):
3478         * web-platform-tests/beacon/resources/w3c-import.log: Added.
3479         * web-platform-tests/check_stability.py:
3480         (get_git_cmd.git):
3481         (fetch_wpt):
3482         (get_branch_point):
3483         (get_files_changed):
3484         (process_results):
3485         (markdown_adjust):
3486         (get_parser):
3487         (main):
3488         * web-platform-tests/ci_lint.sh:
3489         * web-platform-tests/cors/allow-headers-expected.txt:
3490         * web-platform-tests/cors/allow-headers.htm:
3491         * web-platform-tests/cors/origin-expected.txt:
3492         * web-platform-tests/cors/origin.htm:
3493         * web-platform-tests/cors/preflight-failure.htm:
3494         * web-platform-tests/cors/redirect-userinfo-expected.txt:
3495         * web-platform-tests/cors/redirect-userinfo.htm:
3496         * web-platform-tests/cors/request-headers.htm:
3497         * web-platform-tests/css-timing-1/OWNERS: Added.
3498         * web-platform-tests/css-timing-1/cubic-bezier-timing-functions-output-expected.txt: Added.
3499         * web-platform-tests/css-timing-1/cubic-bezier-timing-functions-output.html: Added.
3500         * web-platform-tests/css-timing-1/frames-timing-functions-output-expected.txt: Added.
3501         * web-platform-tests/css-timing-1/frames-timing-functions-output.html: Added.
3502         * web-platform-tests/css-timing-1/frames-timing-functions-syntax-expected.txt: Added.
3503         * web-platform-tests/css-timing-1/frames-timing-functions-syntax.html: Added.
3504         * web-platform-tests/css-timing-1/step-timing-functions-output-expected.txt: Added.
3505         * web-platform-tests/css-timing-1/step-timing-functions-output.html: Added.
3506         * web-platform-tests/css-timing-1/testcommon.js: Added.
3507         (createDiv):
3508         (createElement):
3509         (pxToNum):
3510         (xForT):
3511         (yForT):
3512         (tForX):
3513         (return.bezierClosure):
3514         (cubicBezier):
3515         * web-platform-tests/css-timing-1/w3c-import.log: Added.
3516         * web-platform-tests/css/.htaccess: Added.
3517         * web-platform-tests/css/OWNERS: Added.
3518         * web-platform-tests/css/README.md: Added.
3519         * web-platform-tests/css/build-css-testsuites.sh: Added.
3520         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-flexible-lengths-001.xht:
3521         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-areas-001.xht:
3522         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-grid-template-columns-rows-001.xht:
3523         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-named-grid-lines-001.xht:
3524         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-support-repeat-001.xht:
3525         * web-platform-tests/css/css-grid-1/grid-definition/grid-inline-template-columns-rows-resolved-values-001.xht:
3526         * web-platform-tests/css/css-grid-1/grid-definition/grid-support-flexible-lengths-001.xht:
3527         * web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-areas-001.xht:
3528         * web-platform-tests/css/css-grid-1/grid-definition/grid-support-grid-template-columns-rows-001.xht:
3529         * web-platform-tests/css/css-grid-1/grid-definition/grid-support-named-grid-lines-001.xht:
3530         * web-platform-tests/css/css-grid-1/grid-definition/grid-support-repeat-001.xht:
3531         * web-platform-tests/css/css-grid-1/grid-definition/grid-template-columns-rows-resolved-values-001.xht:
3532         * web-platform-tests/css/css-grid-1/grid-items/w3c-import.log:
3533         * web-platform-tests/css/css-grid-1/grid-model/grid-computed-value-display-floated-items-001.xht:
3534         * web-platform-tests/css/css-grid-1/grid-model/grid-support-display-001.xht:
3535         * web-platform-tests/css/css-grid-1/grid-model/w3c-import.log:
3536         * web-platform-tests/css/requirements.txt: Added.
3537         * web-platform-tests/css/w3c-import.log: Added.
3538         * web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
3539         * web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt:
3540         * web-platform-tests/dom/lists/DOMTokenList-iteration.html:
3541         * web-platform-tests/dom/lists/README.md: Added.
3542         * web-platform-tests/dom/lists/w3c-import.log:
3543         * web-platform-tests/dom/nodes/Document-createEvent-expected.txt:
3544         * web-platform-tests/dom/nodes/Document-createEvent.html:
3545         * web-platform-tests/dom/nodes/Document-createEvent.js:
3546         * web-platform-tests/encrypted-media/content/content-metadata.js:
3547         * web-platform-tests/encrypted-media/content/w3c-import.log:
3548         * web-platform-tests/fetch/OWNERS:
3549         * web-platform-tests/fetch/api/basic/accept-header-expected.txt: Removed.
3550         * web-platform-tests/fetch/api/basic/accept-header-worker-expected.txt: Removed.
3551         * web-platform-tests/fetch/api/basic/accept-header-worker.html: Removed.
3552         * web-platform-tests/fetch/api/basic/accept-header.any-expected.txt: Added.
3553         * web-platform-tests/fetch/api/basic/accept-header.any.html: Added.
3554         * web-platform-tests/fetch/api/basic/accept-header.any.js: Added.
3555         (promise_test):
3556         * web-platform-tests/fetch/api/basic/accept-header.html: Removed.
3557         * web-platform-tests/fetch/api/basic/accept-header.js: Removed.
3558         * web-platform-tests/fetch/api/basic/accept-header.worker-expected.txt: Added.
3559         * web-platform-tests/fetch/api/basic/accept-header.worker.html: Added.
3560         * web-platform-tests/fetch/api/basic/mode-same-origin-expected.txt: Removed.
3561         * web-platform-tests/fetch/api/basic/mode-same-origin-worker-expected.txt: Removed.
3562         * web-platform-tests/fetch/api/basic/mode-same-origin-worker.html: Removed.
3563         * web-platform-tests/fetch/api/basic/mode-same-origin.any-expected.txt: Added.
3564         * web-platform-tests/fetch/api/basic/mode-same-origin.any.html: Added.
3565         * web-platform-tests/fetch/api/basic/mode-same-origin.any.js: Added.
3566         * web-platform-tests/fetch/api/basic/mode-same-origin.html: Removed.
3567         * web-platform-tests/fetch/api/basic/mode-same-origin.js: Removed.
3568         * web-platform-tests/fetch/api/basic/mode-same-origin.worker-expected.txt: Added.
3569         * web-platform-tests/fetch/api/basic/mode-same-origin.worker.html: Added.
3570         * web-platform-tests/fetch/api/basic/referrer-expected.txt: Removed.
3571         * web-platform-tests/fetch/api/basic/referrer-worker-expected.txt: Removed.
3572         * web-platform-tests/fetch/api/basic/referrer-worker.html: Removed.
3573         * web-platform-tests/fetch/api/basic/referrer.any-expected.txt: Added.
3574         * web-platform-tests/fetch/api/basic/referrer.any.html: Added.
3575         * web-platform-tests/fetch/api/basic/referrer.any.js: Added.
3576         * web-platform-tests/fetch/api/basic/referrer.html: Removed.
3577         * web-platform-tests/fetch/api/basic/referrer.js: Removed.
3578         * web-platform-tests/fetch/api/basic/referrer.worker-expected.txt: Added.
3579         * web-platform-tests/fetch/api/basic/referrer.worker.html: Added.
3580         * web-platform-tests/fetch/api/basic/request-forbidden-headers-expected.txt: Removed.
3581         * web-platform-tests/fetch/api/basic/request-forbidden-headers-worker-expected.txt: Removed.
3582         * web-platform-tests/fetch/api/basic/request-forbidden-headers-worker.html: Removed.
3583         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any-expected.txt: Added.
3584         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any.html: Added.
3585         * web-platform-tests/fetch/api/basic/request-forbidden-headers.any.js: Added.
3586         * web-platform-tests/fetch/api/basic/request-forbidden-headers.html: Removed.
3587         * web-platform-tests/fetch/api/basic/request-forbidden-headers.js: Removed.
3588         * web-platform-tests/fetch/api/basic/request-forbidden-headers.worker-expected.txt: Added.
3589         * web-platform-tests/fetch/api/basic/request-forbidden-headers.worker.html: Added.
3590         * web-platform-tests/fetch/api/basic/request-head-worker-expected.txt: Removed.
3591         * web-platform-tests/fetch/api/basic/request-head-worker.html: Removed.
3592         * web-platform-tests/fetch/api/basic/request-head.any-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-expected.txt.
3593         * web-platform-tests/fetch/api/basic/request-head.any.html: Added.
3594         * web-platform-tests/fetch/api/basic/request-head.any.js: Added.
3595         (promise_test):
3596         * web-platform-tests/fetch/api/basic/request-head.html: Removed.
3597         * web-platform-tests/fetch/api/basic/request-head.js: Removed.
3598         * web-platform-tests/fetch/api/basic/request-head.worker-expected.txt: Added.
3599         * web-platform-tests/fetch/api/basic/request-head.worker.html: Added.
3600         * web-platform-tests/fetch/api/basic/request-headers-expected.txt: Removed.
3601         * web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt: Removed.
3602         * web-platform-tests/fetch/api/basic/request-headers-worker.html: Removed.
3603         * web-platform-tests/fetch/api/basic/request-headers.any-expected.txt: Added.
3604         * web-platform-tests/fetch/api/basic/request-headers.any.html: Added.
3605         * web-platform-tests/fetch/api/basic/request-headers.any.js: Added.
3606         * web-platform-tests/fetch/api/basic/request-headers.html: Removed.
3607         * web-platform-tests/fetch/api/basic/request-headers.js: Removed.
3608         * web-platform-tests/fetch/api/basic/request-headers.worker-expected.txt: Added.
3609         * web-platform-tests/fetch/api/basic/request-headers.worker.html: Added.
3610         * web-platform-tests/fetch/api/basic/request-referrer-expected.txt: Removed.
3611         * web-platform-tests/fetch/api/basic/request-referrer-redirected-worker-expected.txt:
3612         * web-platform-tests/fetch/api/basic/request-referrer-redirected-worker.html:
3613         * web-platform-tests/fetch/api/basic/request-referrer-worker-expected.txt: Removed.
3614         * web-platform-tests/fetch/api/basic/request-referrer-worker.html: Removed.
3615         * web-platform-tests/fetch/api/basic/request-referrer.any-expected.txt: Added.
3616         * web-platform-tests/fetch/api/basic/request-referrer.any.html: Added.
3617         * web-platform-tests/fetch/api/basic/request-referrer.any.js: Added.
3618         * web-platform-tests/fetch/api/basic/request-referrer.html: Removed.
3619         * web-platform-tests/fetch/api/basic/request-referrer.js: Removed.
3620         * web-platform-tests/fetch/api/basic/request-referrer.worker-expected.txt: Added.
3621         * web-platform-tests/fetch/api/basic/request-referrer.worker.html: Added.
3622         * web-platform-tests/fetch/api/basic/request-upload-expected.txt: Removed.
3623         * web-platform-tests/fetch/api/basic/request-upload-worker-expected.txt: Removed.
3624         * web-platform-tests/fetch/api/basic/request-upload-worker.html: Removed.
3625         * web-platform-tests/fetch/api/basic/request-upload.any-expected.txt: Added.
3626         * web-platform-tests/fetch/api/basic/request-upload.any.html: Added.
3627         * web-platform-tests/fetch/api/basic/request-upload.any.js: Added.
3628         * web-platform-tests/fetch/api/basic/request-upload.html: Removed.
3629         * web-platform-tests/fetch/api/basic/request-upload.js: Removed.
3630         * web-platform-tests/fetch/api/basic/request-upload.worker-expected.txt: Added.
3631         * web-platform-tests/fetch/api/basic/request-upload.worker.html: Added.
3632         * web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt: Removed.
3633         * web-platform-tests/fetch/api/basic/scheme-about-worker.html: Removed.
3634         * web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-expected.txt.
3635         * web-platform-tests/fetch/api/basic/scheme-about.any.html: Added.
3636         * web-platform-tests/fetch/api/basic/scheme-about.any.js: Added.
3637         * web-platform-tests/fetch/api/basic/scheme-about.html: Removed.
3638         * web-platform-tests/fetch/api/basic/scheme-about.js: Removed.
3639         * web-platform-tests/fetch/api/basic/scheme-about.worker-expected.txt: Added.
3640         * web-platform-tests/fetch/api/basic/scheme-about.worker.html: Added.
3641         * web-platform-tests/fetch/api/basic/scheme-data-worker-expected.txt: Removed.
3642         * web-platform-tests/fetch/api/basic/scheme-data-worker.html: Removed.
3643         * web-platform-tests/fetch/api/basic/scheme-data.any-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-data-expected.txt.
3644         * web-platform-tests/fetch/api/basic/scheme-data.any.html: Added.
3645         * web-platform-tests/fetch/api/basic/scheme-data.any.js: Added.
3646         * web-platform-tests/fetch/api/basic/scheme-data.html: Removed.
3647         * web-platform-tests/fetch/api/basic/scheme-data.js: Removed.
3648         * web-platform-tests/fetch/api/basic/scheme-data.worker-expected.txt: Added.
3649         * web-platform-tests/fetch/api/basic/scheme-data.worker.html: Added.
3650         * web-platform-tests/fetch/api/basic/stream-response-expected.txt: Removed.
3651         * web-platform-tests/fetch/api/basic/stream-response-worker-expected.txt: Removed.
3652         * web-platform-tests/fetch/api/basic/stream-response-worker.html: Removed.
3653         * web-platform-tests/fetch/api/basic/stream-response.any-expected.txt: Added.
3654         * web-platform-tests/fetch/api/basic/stream-response.any.html: Added.
3655         * web-platform-tests/fetch/api/basic/stream-response.any.js: Added.
3656         (promise_test):
3657         * web-platform-tests/fetch/api/basic/stream-response.html: Removed.
3658         * web-platform-tests/fetch/api/basic/stream-response.js: Removed.
3659         * web-platform-tests/fetch/api/basic/stream-response.worker-expected.txt: Added.
3660         * web-platform-tests/fetch/api/basic/stream-response.worker.html: Added.
3661         * web-platform-tests/fetch/api/basic/w3c-import.log:
3662         * web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Removed.
3663         * web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Removed.
3664         * web-platform-tests/fetch/api/cors/cors-basic-worker.html: Removed.
3665         * web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Added.
3666         * web-platform-tests/fetch/api/cors/cors-basic.any.html: Added.
3667         * web-platform-tests/fetch/api/cors/cors-basic.any.js: Added.
3668         * web-platform-tests/fetch/api/cors/cors-basic.html: Removed.
3669         * web-platform-tests/fetch/api/cors/cors-basic.js: Removed.
3670         * web-platform-tests/fetch/api/cors/cors-basic.worker-expected.txt: Added.
3671         * web-platform-tests/fetch/api/cors/cors-basic.worker.html: Added.
3672         * web-platform-tests/fetch/api/cors/cors-cookies-expected.txt: Removed.
3673         * web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt: Removed.
3674         * web-platform-tests/fetch/api/cors/cors-cookies-worker.html: Removed.
3675         * web-platform-tests/fetch/api/cors/cors-cookies.any-expected.txt: Added.
3676         * web-platform-tests/fetch/api/cors/cors-cookies.any.html: Added.
3677         * web-platform-tests/fetch/api/cors/cors-cookies.any.js: Added.
3678         * web-platform-tests/fetch/api/cors/cors-cookies.html: Removed.
3679         * web-platform-tests/fetch/api/cors/cors-cookies.js: Removed.
3680         * web-platform-tests/fetch/api/cors/cors-cookies.worker-expected.txt: Added.
3681         * web-platform-tests/fetch/api/cors/cors-cookies.worker.html: Added.
3682         * web-platform-tests/fetch/api/cors/cors-filtering-expected.txt:
3683         * web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt:
3684         * web-platform-tests/fetch/api/cors/cors-filtering.js:
3685         (corsExposeFilter):
3686         * web-platform-tests/fetch/api/cors/cors-no-preflight-expected.txt: Removed.
3687         * web-platform-tests/fetch/api/cors/cors-no-preflight-worker-expected.txt: Removed.
3688         * web-platform-tests/fetch/api/cors/cors-no-preflight-worker.html: Removed.
3689         * web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Added.
3690         * web-platform-tests/fetch/api/cors/cors-no-preflight.any.html: Added.
3691         * web-platform-tests/fetch/api/cors/cors-no-preflight.any.js: Added.
3692         * web-platform-tests/fetch/api/cors/cors-no-preflight.html: Removed.
3693         * web-platform-tests/fetch/api/cors/cors-no-preflight.js: Removed.
3694         * web-platform-tests/fetch/api/cors/cors-no-preflight.worker-expected.txt: Added.
3695         * web-platform-tests/fetch/api/cors/cors-no-preflight.worker.html: Added.
3696         * web-platform-tests/fetch/api/cors/cors-origin-expected.txt: Removed.
3697         * web-platform-tests/fetch/api/cors/cors-origin-worker-expected.txt: Removed.
3698         * web-platform-tests/fetch/api/cors/cors-origin-worker.html: Removed.
3699         * web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Added.
3700         * web-platform-tests/fetch/api/cors/cors-origin.any.html: Added.
3701         * web-platform-tests/fetch/api/cors/cors-origin.any.js: Added.
3702         * web-platform-tests/fetch/api/cors/cors-origin.html: Removed.
3703         * web-platform-tests/fetch/api/cors/cors-origin.js: Removed.
3704         * web-platform-tests/fetch/api/cors/cors-origin.worker-expected.txt: Added.
3705         * web-platform-tests/fetch/api/cors/cors-origin.worker.html: Added.
3706         * web-platform-tests/fetch/api/cors/cors-preflight-expected.txt: Removed.
3707         * web-platform-tests/fetch/api/cors/cors-preflight-redirect-expected.txt: Removed.
3708         * web-platform-tests/fetch/api/cors/cors-preflight-redirect-worker-expected.txt: Removed.
3709         * web-platform-tests/fetch/api/cors/cors-preflight-redirect-worker.html: Removed.
3710         * web-platform-tests/fetch/api/cors/co