зеркало из https://github.com/mozilla/gecko-dev.git
Bug 916874 - Reenable toolkit/devtools/apps/test/unit/test_webappsActor.js
This commit is contained in:
Родитель
03bf8c4453
Коммит
02ba7a7cb4
|
@ -82,6 +82,12 @@ function setup() {
|
|||
// as only launchable apps are returned
|
||||
Components.utils.import('resource://gre/modules/Webapps.jsm');
|
||||
DOMApplicationRegistry.allAppsLaunchable = true;
|
||||
|
||||
// Mock WebappOSUtils
|
||||
Cu.import("resource://gre/modules/WebappOSUtils.jsm");
|
||||
WebappOSUtils.getPackagePath = function(aApp) {
|
||||
return aApp.basePath + "/" + aApp.id;
|
||||
}
|
||||
}
|
||||
|
||||
function do_get_webappsdir() {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
const {devtools} = Cu.import("resource://gre/modules/devtools/Loader.jsm", {});
|
||||
const {require} = devtools;
|
||||
const {installHosted, installPackaged} = require("devtools/app-actor-front");
|
||||
|
|
|
@ -4,4 +4,4 @@ tail = tail_apps.js
|
|||
support-files = data/app.zip
|
||||
|
||||
[test_webappsActor.js]
|
||||
skip-if = (os == "win" || "linux" || "mac")
|
||||
skip-if = buildapp == "b2g"
|
||||
|
|
Загрузка…
Ссылка в новой задаче