Index: test/browser/elemHideEmulation.js |
=================================================================== |
--- a/test/browser/elemHideEmulation.js |
+++ b/test/browser/elemHideEmulation.js |
@@ -511,45 +511,45 @@ |
exports.testPseudoClassContainsText = function(test) |
{ |
let expectations = { |
parent: true, |
middle: true, |
inside: true, |
sibling: false, |
sibling2: true, |
- toHide: false |
+ toHide: true |
}; |
runTestPseudoClassContains( |
test, "#parent div:-abp-contains(to hide)", expectations); |
}; |
exports.testPseudoClassContainsRegexp = function(test) |
{ |
let expectations = { |
parent: true, |
middle: true, |
inside: true, |
sibling: false, |
sibling2: true, |
- toHide: false |
+ toHide: true |
}; |
runTestPseudoClassContains( |
test, "#parent div:-abp-contains(/to\\shide/)", expectations); |
}; |
exports.testPseudoClassContainsRegexpIFlag = function(test) |
{ |
let expectations = { |
parent: true, |
middle: true, |
inside: true, |
sibling: false, |
sibling2: true, |
- toHide: false |
+ toHide: true |
}; |
runTestPseudoClassContains( |
test, "#parent div:-abp-contains(/to\\sHide/i)", expectations); |
}; |
exports.testPseudoClassContainsWildcardNoMatch = function(test) |
{ |
let expectations = { |