summaryrefslogtreecommitdiff
path: root/test/wpt
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-01-02 23:52:38 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-01-10 19:54:57 +0800
commitc667325cbea83ef50c72484692ca5c9114b43c4a (patch)
treea1d3b194c3379a142a3c1af5fb5a1780ccc09354 /test/wpt
parent8906e5209bb477c815534dbc965739f648d7ec11 (diff)
downloadandroid-node-v8-c667325cbea83ef50c72484692ca5c9114b43c4a.tar.gz
android-node-v8-c667325cbea83ef50c72484692ca5c9114b43c4a.tar.bz2
android-node-v8-c667325cbea83ef50c72484692ca5c9114b43c4a.zip
test: support more icu requirements in the WPT status file
Support `small-icu` and `full-icu` requirements, where `full-icu` implies `small-icu`. PR-URL: https://github.com/nodejs/node/pull/25321 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/wpt')
-rw-r--r--test/wpt/README.md2
-rw-r--r--test/wpt/status/url.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/wpt/README.md b/test/wpt/README.md
index ff9092e6a1..15318b2aef 100644
--- a/test/wpt/README.md
+++ b/test/wpt/README.md
@@ -151,7 +151,7 @@ expected failures.
{
"something.scope.js": { // the file name
// Optional: If the requirement is not met, this test will be skipped
- "requires": ["intl"], // currently only intl is supported
+ "requires": ["small-icu"], // supports: "small-icu", "full-icu"
// Optional: the test will be skipped with the reason printed
"skip": "explain why we cannot run a test that's supposed to pass",
diff --git a/test/wpt/status/url.json b/test/wpt/status/url.json
index 42b5f6fb1a..fa27b25abd 100644
--- a/test/wpt/status/url.json
+++ b/test/wpt/status/url.json
@@ -1,10 +1,10 @@
{
"toascii.window.js": {
- "requires": ["intl"],
+ "requires": ["small-icu"],
"skip": "TODO: port from .window.js"
},
"historical.any.js": {
- "requires": ["intl"]
+ "requires": ["small-icu"]
},
"urlencoded-parser.any.js": {
"fail": "missing Request and Response"