mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -17,6 +17,8 @@ Cu.import("resource://gre/modules/FxAccountsCommon.js");
|
|||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
|
||||
var haveLoginManager = true;
|
||||
|
||||
// A helper function so code can check what fields are able to be stored by
|
||||
// the storage manager without having a reference to a manager instance.
|
||||
function FxAccountsStorageManagerCanStoreField(fieldName) {
|
||||
|
|
@ -602,8 +604,3 @@ LoginManagerStorage.prototype = {
|
|||
}),
|
||||
}
|
||||
|
||||
// A global variable to indicate if the login manager is available - it doesn't
|
||||
// exist on b2g. Defined here as the use of preprocessor directives skews line
|
||||
// numbers in the runtime, meaning stack-traces etc end up off by a few lines.
|
||||
// Doing it at the end of the file makes that less of a pita.
|
||||
var haveLoginManager = !AppConstants.MOZ_B2G;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue