Index: test/browser/elemHideEmulation.js |
=================================================================== |
--- a/test/browser/elemHideEmulation.js |
+++ b/test/browser/elemHideEmulation.js |
@@ -124,21 +124,18 @@ function applyElemHideEmulation(selector |
{ |
if (!selectors.length) |
return; |
var selector = selectors.join(", "); |
insertStyleRule(selector + "{display: none !important;}"); |
} |
); |
- elemHideEmulation.load(function() |
- { |
- elemHideEmulation.apply(); |
- callback(); |
- }); |
+ elemHideEmulation.apply(); |
+ callback(); |
} |
exports.testVerbatimPropertySelector = function(test) |
{ |
var toHide = createElementWithStyle("{background-color: #000}"); |
applyElemHideEmulation( |
["[-abp-properties='background-color: rgb(0, 0, 0)']"], |
function() |