aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-02-22 20:48:56 -0500
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-02-22 22:40:32 -0500
commit4334a9c855144a93a1df6347fe9aa29e544a2e7f (patch)
tree4ad253128c31ad5723eb6631c6aa57d1509342eb /tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
parent7f495fdd61f4ef2da8e6bff74925b703ce592d34 (diff)
downloadservo-4334a9c855144a93a1df6347fe9aa29e544a2e7f.tar.gz
servo-4334a9c855144a93a1df6347fe9aa29e544a2e7f.zip
Update web-platform-tests to revision 70df598b894bfa4a7122720608a3110cb25ceb42
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
index 664b7a8c1a0..e99ab05a88d 100644
--- a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
+++ b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
@@ -21,7 +21,8 @@ var testsPassed = false;
try {
registerPaint('', class { });
} catch(ex) {
- if (ex.name == 'TypeError' && ex.message == "Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The empty string is not a valid name.")
+ // The empty string is not a valid name.
+ if (ex.name == 'TypeError')
testsPassed = true;
}