Bug 1769590 [wpt PR 34077] - Rename expression_should_[not_]be_parseable, a=testonly
authorWeizhongX <77710146+WeizhongX@users.noreply.github.com>
Wed, 18 May 2022 03:33:23 +0000
changeset 618468 d97834db35854a2ea5fb5137d28bdb4b22e8480b
parent 618467 f04b37fba56721889827889e30032c52de982cd7
child 618469 546a404b0f5f13dd2e2728b08ba67d7ca55dfcc8
push id163295
push userwptsync@mozilla.com
push dateSun, 22 May 2022 08:42:45 +0000
treeherderautoland@28d8297085fe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1769590, 34077
milestone102.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1769590 [wpt PR 34077] - Rename expression_should_[not_]be_parseable, a=testonly Automatic update from web-platform-tests Rename expression_should_[not_]be_parseable (#34077) Renamed expression_should_be_parseable to expression_should_be_known Renamed expression_should_not_be_parseable to expression_should_be_unknown This is due to two changes landed roughly the same time in chromium and upstream. -- wpt-commits: eaa58c6e6c4991ea65e585374b7916cb8674a246 wpt-pr: 34077
testing/web-platform/tests/css/mediaqueries/test_media_queries.html
--- a/testing/web-platform/tests/css/mediaqueries/test_media_queries.html
+++ b/testing/web-platform/tests/css/mediaqueries/test_media_queries.html
@@ -602,21 +602,21 @@ setup({ "explicit_done": true });
     // Sanity check for overflow-inline
     test(function() {
       var any_overflow_inline = query_applies("(overflow-inline)");
       var overflow_inline_none = query_applies("(overflow-inline: none)");
       assert_not_equals(any_overflow_inline, overflow_inline_none, "overflow-inline should be equivalent to not (overflow-inline: none)");
     }, "Sanity check for overflow-inline");
 
     // Parsing tests for update from mediaqueries-4
-    expression_should_be_parseable("update")
-    expression_should_be_parseable("update: none")
-    expression_should_be_parseable("update: slow")
-    expression_should_be_parseable("update: fast")
-    expression_should_not_be_parseable("update: some-random-invalid-thing")
+    expression_should_be_known("update")
+    expression_should_be_known("update: none")
+    expression_should_be_known("update: slow")
+    expression_should_be_known("update: fast")
+    expression_should_be_unknown("update: some-random-invalid-thing")
 
     // Sanity check for update
     test(function() {
       var any_update = query_applies("(update)");
       var update_none = query_applies("(update: none)");
       assert_not_equals(any_update, update_none, "update should be equivalent to not (update: none)");
     }, "Sanity check for update");