mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
0a8ff0ad85
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35951 --HG-- extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
11 lines
394 B
JavaScript
11 lines
394 B
JavaScript
SimpleTest.waitForExplicitFinish();
|
|
|
|
// This test loads in an iframe, to ensure that the navigator instance is
|
|
// loaded with the correct value of the preference.
|
|
SpecialPowers.pushPrefEnv({ set: [["dom.netinfo.enabled", true]] }, () => {
|
|
let iframe = document.createElement("iframe");
|
|
iframe.id = "f1";
|
|
iframe.src = "test_navigator_iframe.html";
|
|
document.body.appendChild(iframe);
|
|
});
|