aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html
index 6fc16c74701..b1b50e04045 100644
--- a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html
+++ b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html
@@ -25,7 +25,8 @@ try {
}
});
} catch(ex) {
- if (ex.name == "TypeError" && ex.message == "Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The provided value cannot be converted to a sequence.")
+ // 'inputArguments' property is a string, not a sequence.
+ if (ex.name == 'TypeError')
testsPassed = true;
}