mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 431003: Enable auto image resize for bug 369370 mochitest, r=dolske
This commit is contained in:
parent
fb58175abd
commit
e01072ae3d
@ -87,10 +87,16 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=369370
|
||||
is(kidDoc.body.scrollTop, 0, "Checking scrollTop");
|
||||
|
||||
kidWin.close();
|
||||
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
|
||||
prefs.clearUserPref("browser.enable_automatic_image_resizing");
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
|
||||
var prefs = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch);
|
||||
prefs.setBoolPref("browser.enable_automatic_image_resizing", true);
|
||||
|
||||
var kidWin = window.open("bug369370-popup.png", "bug369370", "width=400,height=300");
|
||||
var kidDoc; // will init onload
|
||||
|
Loading…
Reference in New Issue
Block a user