Bug 1664718 - Fix selectors unit tests.
☠☠ backed out by 4bb4dfe9dc2d ☠ ☠
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 14 Sep 2020 17:37:36 +0200
changeset 548561 62e71d3b6b321799015a9a2d24e83f6a665a5294
parent 548560 c6d80d05c8f4106b90ddbdbffcc33235b5f7a09f
child 548562 fb205b42ce8bd8401bd37e9310efba28c62ca39c
push id126257
push useremilio@crisal.io
push dateMon, 14 Sep 2020 15:38:16 +0000
treeherderautoland@62e71d3b6b32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1664718
milestone82.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 1664718 - Fix selectors unit tests. MANUAL PUSH: Fix BR bustage. CLOSED TREE
servo/components/selectors/parser.rs
--- a/servo/components/selectors/parser.rs
+++ b/servo/components/selectors/parser.rs
@@ -2686,16 +2686,20 @@ pub mod tests {
         fn parse_slotted(&self) -> bool {
             true
         }
 
         fn parse_is_and_where(&self) -> bool {
             true
         }
 
+        fn is_and_where_error_recovery(&self) -> ParseErrorRecovery {
+            ParseErrorRecovery::DiscardList
+        }
+
         fn parse_part(&self) -> bool {
             true
         }
 
         fn parse_non_ts_pseudo_class(
             &self,
             location: SourceLocation,
             name: CowRcStr<'i>,