mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 793906 - Disable desktop ui while working on b2g. r=benadida
This commit is contained in:
parent
62ced97631
commit
603ef09c9b
@ -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) {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user