Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 7164f36

Browse files
author
Marco Castelluccio
committed
Bug 782476. Provide a notification for successful webapp installation. r=felipe
1 parent 28b8c2a commit 7164f36

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

toolkit/webapps/WebappsInstaller.jsm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ let WebappsInstaller = {
4646
return null;
4747
}
4848

49+
let data = {
50+
"installDir": shell.installDir.path,
51+
"app": aData.app
52+
};
53+
Services.obs.notifyObservers(null, "webapp-installed", JSON.stringify(data));
54+
4955
return shell;
5056
}
5157
}

0 commit comments

Comments
 (0)