mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1007057
- add logs to test in case of orange. r=pbrosset
This commit is contained in:
parent
7ee35374fb
commit
5e592ad7fa
@ -168,6 +168,7 @@ let UI = {
|
||||
let timeout = setTimeout(() => {
|
||||
this.unbusy();
|
||||
UI.reportError("error_operationTimeout", operationDescription);
|
||||
promise.reject("promise timeout: " + operationDescription);
|
||||
}, 30000);
|
||||
this.busy();
|
||||
promise.then(() => {
|
||||
|
@ -35,6 +35,7 @@ function openWebIDE() {
|
||||
win.addEventListener("load", function onLoad() {
|
||||
win.removeEventListener("load", onLoad);
|
||||
info("WebIDE open");
|
||||
SimpleTest.requestCompleteLog();
|
||||
SimpleTest.executeSoon(() => {
|
||||
deferred.resolve(win);
|
||||
});
|
||||
|
@ -25,6 +25,9 @@
|
||||
yield win.AppProjects.load();
|
||||
is(win.AppProjects.store.object.projects.length, 0, "IDB is empty");
|
||||
|
||||
info("to call importPackagedApp(" + packagedAppLocation + ")");
|
||||
ok(!win.UI._busyPromise, "UI is not busy");
|
||||
|
||||
yield win.Cmds.importPackagedApp(packagedAppLocation);
|
||||
|
||||
let project = win.AppManager.selectedProject;
|
||||
@ -58,6 +61,9 @@
|
||||
yield removeAllProjects();
|
||||
|
||||
SimpleTest.finish();
|
||||
}).then(null, e => {
|
||||
ok(false, "Exception: " + e);
|
||||
SimpleTest.finish();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user