From 342377f7d119e4970eadc8fd13a3f65b1feffd07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sun, 21 Feb 2021 18:36:29 +0100 Subject: [PATCH] test: update all Web Platform Tests --- test/fixtures/wpt/README.md | 18 +- .../common/third_party/reftest-analyzer.xhtml | 934 ++++++++++++++++++ .../gb18030/gb18030-decoder.any.js | 63 ++ .../legacy-mb-schinese/gbk/gbk-decoder.any.js | 28 + .../wpt/encoding/textdecoder-arguments.any.js | 49 + .../wpt/encoding/textdecoder-labels.any.js | 1 + test/fixtures/wpt/hr-time/basic.any.js | 9 + .../timers/negative-setinterval.any.js | 12 + .../timers/negative-settimeout.any.js | 3 + .../timers/type-long-setinterval.any.js | 8 + .../timers/type-long-settimeout.any.js | 3 + test/fixtures/wpt/interfaces/html.idl | 97 +- test/fixtures/wpt/resources/idlharness.js | 18 +- test/fixtures/wpt/resources/test-only-api.js | 69 -- test/fixtures/wpt/resources/testharness.js | 379 ++++--- test/fixtures/wpt/url/url-constructor.any.js | 39 + test/fixtures/wpt/url/url-origin.any.js | 17 + .../url/urlsearchparams-constructor.any.js | 2 +- .../wpt/url/urlsearchparams-foreach.any.js | 10 +- test/fixtures/wpt/versions.json | 50 +- test/wpt/status/encoding.json | 11 + test/wpt/status/hr-time.json | 9 +- test/wpt/status/html/webappapis/timers.json | 15 +- test/wpt/status/url.json | 6 + test/wpt/test-hr-time.js | 3 + 25 files changed, 1573 insertions(+), 280 deletions(-) create mode 100644 test/fixtures/wpt/common/third_party/reftest-analyzer.xhtml create mode 100644 test/fixtures/wpt/encoding/legacy-mb-schinese/gb18030/gb18030-decoder.any.js create mode 100644 test/fixtures/wpt/encoding/legacy-mb-schinese/gbk/gbk-decoder.any.js create mode 100644 test/fixtures/wpt/encoding/textdecoder-arguments.any.js create mode 100644 test/fixtures/wpt/html/webappapis/timers/negative-setinterval.any.js create mode 100644 test/fixtures/wpt/html/webappapis/timers/negative-settimeout.any.js create mode 100644 test/fixtures/wpt/html/webappapis/timers/type-long-setinterval.any.js create mode 100644 test/fixtures/wpt/html/webappapis/timers/type-long-settimeout.any.js create mode 100644 test/fixtures/wpt/url/url-constructor.any.js create mode 100644 test/fixtures/wpt/url/url-origin.any.js diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index a3cbbe667434e2..ee3b1cb61460b8 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -10,17 +10,17 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run. Last update: +- common: https://github.com/web-platform-tests/wpt/tree/3586ff740b/common - console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console -- encoding: https://github.com/web-platform-tests/wpt/tree/3c9820d1cc/encoding -- url: https://github.com/web-platform-tests/wpt/tree/1783c9bccf/url -- resources: https://github.com/web-platform-tests/wpt/tree/351a99782b/resources -- interfaces: https://github.com/web-platform-tests/wpt/tree/b4be9a3fdf/interfaces -- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/2c5c3c4c27/html/webappapis/microtask-queuing -- html/webappapis/timers: https://github.com/web-platform-tests/wpt/tree/264f12bc7b/html/webappapis/timers -- hr-time: https://github.com/web-platform-tests/wpt/tree/a5d1774ecf/hr-time -- common: https://github.com/web-platform-tests/wpt/tree/841a51412f/common -- dom/abort: https://github.com/web-platform-tests/wpt/tree/7caa3de747/dom/abort +- dom/abort: https://github.com/web-platform-tests/wpt/tree/625e1310ce/dom/abort +- encoding: https://github.com/web-platform-tests/wpt/tree/35f70910d3/encoding - FileAPI: https://github.com/web-platform-tests/wpt/tree/3b279420d4/FileAPI +- hr-time: https://github.com/web-platform-tests/wpt/tree/9910784394/hr-time +- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/2c5c3c4c27/html/webappapis/microtask-queuing +- html/webappapis/timers: https://github.com/web-platform-tests/wpt/tree/5873f2d8f1/html/webappapis/timers +- interfaces: https://github.com/web-platform-tests/wpt/tree/8602e9c9a1/interfaces +- resources: https://github.com/web-platform-tests/wpt/tree/e366371a19/resources +- url: https://github.com/web-platform-tests/wpt/tree/59d28c8f2d/url [Web Platform Tests]: https://github.com/web-platform-tests/wpt [`git node wpt`]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-wpt diff --git a/test/fixtures/wpt/common/third_party/reftest-analyzer.xhtml b/test/fixtures/wpt/common/third_party/reftest-analyzer.xhtml new file mode 100644 index 00000000000000..4c7b26511acfa0 --- /dev/null +++ b/test/fixtures/wpt/common/third_party/reftest-analyzer.xhtml @@ -0,0 +1,934 @@ + + + + + + + + + Reftest analyzer + + + + + + +
+ +

Reftest analyzer: load reftest log

+ +

Either paste your log into this textarea:
+