Remove last use of enablePrivilege in layout/style mochitests. (Bug 653461, patch 4) r=bzbarsky

This commit is contained in:
L. David Baron 2012-09-06 21:16:09 -07:00
parent 253be7632f
commit 74f7233cd3

View File

@ -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");