Bug 793906 - Disable desktop ui while working on b2g. r=benadida

This commit is contained in:
Jed Parsons 2012-09-27 23:06:01 -04:00
parent 62ced97631
commit 603ef09c9b
2 changed files with 14 additions and 1 deletions

View File

@ -26,17 +26,29 @@ function log(...aMessageArgs) {
let SignInToWebsiteUX = {
init: function SignInToWebsiteUX_init() {
/*
* bug 793906 - temporarily disabling desktop UI so we can
* focus on b2g without worrying about desktop as well
*
Services.obs.addObserver(this, "identity-request", false);
Services.obs.addObserver(this, "identity-auth", false);
Services.obs.addObserver(this, "identity-auth-complete", false);
Services.obs.addObserver(this, "identity-login-state-changed", false);
*/
},
uninit: function SignInToWebsiteUX_uninit() {
/*
* As above:
* bug 793906 - temporarily disabling desktop UI so we can
* focus on b2g without worrying about desktop as well
*
Services.obs.removeObserver(this, "identity-request");
Services.obs.removeObserver(this, "identity-auth");
Services.obs.removeObserver(this, "identity-auth-complete");
Services.obs.removeObserver(this, "identity-login-state-changed");
*/
},
observe: function SignInToWebsiteUX_observe(aSubject, aTopic, aData) {

View File

@ -14,7 +14,8 @@ include $(topsrcdir)/config/rules.mk
_BROWSER_FILES = \
browser_NetworkPrioritizer.js \
browser_TelemetryTimestamps.js \
browser_SignInToWebsite.js \
# bug 793906 - temporarily disabling desktop UI while working on b2g
# browser_SignInToWebsite.js \
$(NULL)
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)