diff options
29 files changed, 26 insertions, 94 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index b18f993ad02..4784fc9c167 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -28534,6 +28534,10 @@ "url": "/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html" }, { + "path": "webdriver/interface.html", + "url": "/webdriver/interface.html" + }, + { "path": "webgl/bufferSubData.html", "url": "/webgl/bufferSubData.html" }, @@ -40893,7 +40897,7 @@ } ] }, - "rev": "5582e4d2bfcfd1fa9f105406b143170ee2af7db1", + "rev": "15ad8eaadd91425cc9331b2e658d4c2796ae5ad8", "url_base": "/", "version": 3 } diff --git a/tests/wpt/metadata/html/dom/interfaces.html.ini b/tests/wpt/metadata/html/dom/interfaces.html.ini index f8bce1adc76..b6637b50ec7 100644 --- a/tests/wpt/metadata/html/dom/interfaces.html.ini +++ b/tests/wpt/metadata/html/dom/interfaces.html.ini @@ -8036,7 +8036,7 @@ [Document interface: iframe.contentDocument must inherit property "createTreeWalker" with the proper type (27)] expected: FAIL - + [Document interface: iframe.contentDocument must inherit property "styleSheets" with the proper type (28)] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/document-metadata/the-link-element/link-load-event.html.ini b/tests/wpt/metadata/html/semantics/document-metadata/the-link-element/link-load-event.html.ini deleted file mode 100644 index 6eda6d6645a..00000000000 --- a/tests/wpt/metadata/html/semantics/document-metadata/the-link-element/link-load-event.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[link-load-event.html] - type: testharness - expected: TIMEOUT diff --git a/tests/wpt/metadata/mozilla-sync b/tests/wpt/metadata/mozilla-sync index 09a98a1b512..a5890f0d625 100644 --- a/tests/wpt/metadata/mozilla-sync +++ b/tests/wpt/metadata/mozilla-sync @@ -1 +1 @@ -9f892edd87441393e5de00790a5abb7fc93a09de
\ No newline at end of file +0397e2a24d3e5c988b089ef100002397f4cabdfa
\ No newline at end of file diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/015a.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/015a.html.ini deleted file mode 100644 index a9b20fac1a0..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/015a.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[015a.html] - type: testharness - expected: TIMEOUT - [ scheduler: DOM added inline+external+inline script earlier in document] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/050.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/050.html.ini deleted file mode 100644 index 4f63ad00efe..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/050.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[050.html] - type: testharness - expected: TIMEOUT diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/069.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/069.html.ini deleted file mode 100644 index dbea327fb0c..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/069.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[069.html] - type: testharness - expected: TIMEOUT - [scheduler: external files added through DOM should not block further parsing while loading] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/078.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/078.html.ini deleted file mode 100644 index 6ce0192273a..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/078.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[078.html] - type: testharness - [ adding several types of scripts through the DOM and removing some of them confuses scheduler (slow-loading scripts) ] - expected: FAIL - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/081.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/081.html.ini deleted file mode 100644 index e382f1a0cb1..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/081.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[081.html] - type: testharness - expected: TIMEOUT - [ scheduler: slow loading external script added with DOM (appendChild)] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/082.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/082.html.ini deleted file mode 100644 index 193bc002bfd..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/082.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[082.html] - type: testharness - expected: TIMEOUT - [ scheduler: multiple slow loading external scripts added with DOM (appendChild)] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/085.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/085.html.ini deleted file mode 100644 index 04ba21a97dc..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/085.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[085.html] - type: testharness - expected: TIMEOUT - [ scheduler: async script and slow-loading defer script] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/086.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/086.html.ini index c11fd3443cf..cd50dc032c5 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/086.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/086.html.ini @@ -1,6 +1,5 @@ [086.html] type: testharness - expected: TIMEOUT [ scheduler: async script and slow-loading async script] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/087.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/087.html.ini deleted file mode 100644 index d2c63c53f22..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/087.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[087.html] - type: testharness - expected: TIMEOUT - [ scheduler: multiple defer scripts, one slow loading] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/088.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/088.html.ini index d6bc34e68bb..aee34579ac2 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/088.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/088.html.ini @@ -1,6 +1,5 @@ [088.html] type: testharness - expected: TIMEOUT [ scheduler: multiple scripts with defer and async attributes] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/091.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/091.html.ini index 733bf4d4a6c..0005354951a 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/091.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/091.html.ini @@ -1,6 +1,5 @@ [091.html] type: testharness - expected: TIMEOUT [ scheduler: force-async off on non-parser-inserted script] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/092.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/092.html.ini deleted file mode 100644 index 69d70461fd3..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/092.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[092.html] - type: testharness - expected: TIMEOUT - [ scheduler: defer script and slow-loading non-async external script] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/095.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/095.html.ini deleted file mode 100644 index b2a6658cbaf..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/095.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[095.html] - type: testharness - expected: TIMEOUT - [ scheduler: slow-loading script added from defer blocking load event] - expected: NOTRUN - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/105.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/105.html.ini index dadc55a73bf..253a757e9a1 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/105.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/105.html.ini @@ -1,6 +1,5 @@ [105.html] type: testharness - expected: TIMEOUT [ scheduler: adding async attribute at runtime] - expected: NOTRUN + expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-import.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-import.html.ini index 5401ffb383e..e138b39ddec 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-import.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-import.html.ini @@ -1,6 +1,5 @@ [106-import.html] type: testharness - expected: TIMEOUT [ scheduler: stylesheets blocking scripts] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-noimport.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-noimport.html.ini deleted file mode 100644 index 5dfc213aa93..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/106-noimport.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[106-noimport.html] - type: testharness - expected: TIMEOUT diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/111.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/111.html.ini index f7b95426c51..b48570d329b 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/111.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/111.html.ini @@ -1,6 +1,5 @@ [111.html] type: testharness - expected: TIMEOUT [ scheduler: removing async attribute at runtime] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/112.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/112.html.ini index f16c8e348e7..ae9b23716a9 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/112.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/112.html.ini @@ -1,6 +1,5 @@ [112.html] type: testharness - expected: TIMEOUT [ scheduler: removing async attribute at runtime, script also has defer attribute] expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/122.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/122.html.ini index d595c24561e..6432a9d5140 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/122.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/122.html.ini @@ -1,9 +1,5 @@ [122.html] type: testharness - expected: TIMEOUT [Reinserted script async IDL attribute] expected: FAIL - [scheduler: altering the type attribute and adding/removing external script ] - expected: TIMEOUT - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/123.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/123.html.ini index 20876e05ee9..cb08c989a08 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/123.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/123.html.ini @@ -1,6 +1,5 @@ [123.html] type: testharness - expected: TIMEOUT [scheduler: altering the type attribute and adding/removing external script with async=false ] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/125.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/125.html.ini deleted file mode 100644 index 4277672a7e1..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/125.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[125.html] - type: testharness - expected: TIMEOUT - [scheduler: altering the type attribute and changing script data external script ] - expected: TIMEOUT - diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/126.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/126.html.ini index 6f7f2c7a601..f4bb635c593 100644 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/126.html.ini +++ b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/126.html.ini @@ -1,6 +1,5 @@ [126.html] type: testharness - expected: TIMEOUT [scheduler: altering the type attribute and changing script data external script async=false ] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/130.html.ini b/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/130.html.ini deleted file mode 100644 index e9f66b19816..00000000000 --- a/tests/wpt/metadata/old-tests/submission/Opera/script_scheduling/130.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[130.html] - type: testharness - expected: TIMEOUT - [scheduler: appending external script element to script ] - expected: TIMEOUT - diff --git a/tests/wpt/web-platform-tests/tools/wptserve/wptserve/pipes.py b/tests/wpt/web-platform-tests/tools/wptserve/wptserve/pipes.py index 44cd1a29375..d0b9e764439 100644 --- a/tests/wpt/web-platform-tests/tools/wptserve/wptserve/pipes.py +++ b/tests/wpt/web-platform-tests/tools/wptserve/wptserve/pipes.py @@ -249,7 +249,7 @@ def trickle(request, response, delays): yield item if not repeat and offset[0] < len(content): - modified_content.append(content[offset[0]:]) + yield content[offset[0]:] response.content = add_content(delays) return response diff --git a/tests/wpt/web-platform-tests/webdriver/interface.html b/tests/wpt/web-platform-tests/webdriver/interface.html new file mode 100644 index 00000000000..143a8643f3c --- /dev/null +++ b/tests/wpt/web-platform-tests/webdriver/interface.html @@ -0,0 +1,15 @@ +<!doctype html> +<meta charset=utf-8> +<title>WebDriver interface test</title> +<script src=/resources/testharness.js></script> +<script src=/resources/testharnessreport.js></script> +<script src=/resources/WebIDLParser.js></script> +<script src=/resources/idlharness.js></script> + +<script> +var t = new IdlArray(); +t.add_untested_idls("interface Navigator {};"); +t.add_idls("partial interface Navigator { readonly attribute boolean webdriver; };"); +t.add_objects({Navigator: ["navigator"]}); +t.test(); +</script> |