bug 770771 - Implement WebappRT test framework on Windows; r=adw

This commit is contained in:
Marco Castelluccio
2012-07-13 15:49:40 -07:00
parent 36a4cc3446
commit 19cdcbdfc6
3 changed files with 39 additions and 11 deletions

View File

@@ -32,6 +32,8 @@ CommandLineHandler.prototype = {
if (!inTestMode) {
startUp(inTestMode);
} else {
DOMApplicationRegistry.allAppsLaunchable = true;
// startUp() accesses WebappRT.config, which in test mode is not valid
// until WebappRT.jsm observes an app installation.
Services.obs.addObserver(function onInstall(subj, topic, data) {