mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1072798 - Fix webapp runtime chrome tests. r=marco
This commit is contained in:
parent
dc6e2e7d01
commit
fd0f97fa14
@ -40,7 +40,7 @@ function loadWebapp(manifest, parameters, onLoad) {
|
||||
let { DOMApplicationRegistry } = Cu.import("resource://gre/modules/Webapps.jsm", {});
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
DOMApplicationRegistry.uninstall(url.spec, () => {
|
||||
DOMApplicationRegistry.uninstall(url.spec).then(() => {
|
||||
// Load another page in the browser element, this is needed for tests
|
||||
// that use the same app (that have the same URL).
|
||||
gAppBrowser.setAttribute("src", "about:blank");
|
||||
|
Loading…
Reference in New Issue
Block a user