зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1399216: Move HiddenFrame.jsm to testing-common. r=Mossop,glandium
MozReview-Commit-ID: GTBRCYEoYq2 --HG-- extra : rebase_source : 927843056383ab238a4f3b6d8e3f6eefce5400b1
This commit is contained in:
Родитель
7191827641
Коммит
b055a02b6f
|
@ -171,8 +171,6 @@ var whitelist = [
|
|||
{file: "resource://gre/modules/Manifest.jsm"},
|
||||
// Bug 1351097
|
||||
{file: "resource://gre/modules/accessibility/AccessFu.jsm"},
|
||||
// Bug 1399216
|
||||
{file: "resource://gre/modules/HiddenFrame.jsm"},
|
||||
];
|
||||
|
||||
whitelist = new Set(whitelist.filter(item =>
|
||||
|
|
|
@ -264,7 +264,7 @@ add_task(async function checkAllTheCSS() {
|
|||
// Create a clean iframe to load all the files into. This needs to live at a
|
||||
// chrome URI so that it's allowed to load and parse any styles.
|
||||
let testFile = getRootDirectory(gTestPath) + "dummy_page.html";
|
||||
let HiddenFrame = Cu.import("resource://gre/modules/HiddenFrame.jsm", {}).HiddenFrame;
|
||||
let HiddenFrame = Cu.import("resource://testing-common/HiddenFrame.jsm", {}).HiddenFrame;
|
||||
let hiddenFrame = new HiddenFrame();
|
||||
let win = await hiddenFrame.get();
|
||||
let iframe = win.document.createElementNS("http://www.w3.org/1999/xhtml", "html:iframe");
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Services.scriptloader.loadSubScript(new URL("head_webrequest.js", gTestPath).href,
|
||||
this);
|
||||
|
||||
Cu.import("resource://gre/modules/HiddenFrame.jsm", this);
|
||||
Cu.import("resource://testing-common/HiddenFrame.jsm", this);
|
||||
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
function createHiddenBrowser(url) {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
var HiddenFrame = Cu.import("resource://gre/modules/HiddenFrame.jsm", {}).HiddenFrame;
|
||||
var HiddenFrame = Cu.import("resource://testing-common/HiddenFrame.jsm", {}).HiddenFrame;
|
||||
|
||||
const HTML_NS = "http://www.w3.org/1999/xhtml";
|
||||
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
|
|
@ -154,6 +154,7 @@ BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|
|||
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
|
||||
|
||||
TESTING_JS_MODULES += [
|
||||
'HiddenFrame.jsm',
|
||||
'tests/modules/MockDocument.jsm',
|
||||
'tests/modules/PromiseTestUtils.jsm',
|
||||
'tests/xpcshell/TestIntegration.jsm',
|
||||
|
@ -196,7 +197,6 @@ EXTRA_JS_MODULES += [
|
|||
'GMPExtractorWorker.js',
|
||||
'GMPInstallManager.jsm',
|
||||
'GMPUtils.jsm',
|
||||
'HiddenFrame.jsm',
|
||||
'Http.jsm',
|
||||
'IndexedDB.jsm',
|
||||
'InlineSpellChecker.jsm',
|
||||
|
|
Загрузка…
Ссылка в новой задаче