mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove last use of enablePrivilege in layout/style mochitests. (Bug 653461, patch 4) r=bzbarsky
This commit is contained in:
parent
253be7632f
commit
74f7233cd3
@ -43,11 +43,8 @@ addLoadEvent(function() {
|
||||
|
||||
// Force cloning of inners
|
||||
document.styleSheets[1].cssRules[0];
|
||||
(function() {
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
document.styleSheets[2].cssRules[0];
|
||||
})();
|
||||
|
||||
SpecialPowers.wrap(document.styleSheets[2]).cssRules[0];
|
||||
|
||||
is(document.styleSheets[1].href,
|
||||
"data:text/css,%23myDiv{color:green;}",
|
||||
"Unexpected href for linked sheet after cloning");
|
||||
|
Loading…
Reference in New Issue
Block a user