Bug 1065153 - Support call URLs with guest or FxA hawk session types, r=MattN
This commit is contained in:
@@ -5,7 +5,16 @@
|
||||
|
||||
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
|
||||
|
||||
Cu.importGlobalProperties(["indexedDB"]);
|
||||
// Make it possible to load LoopStorage.jsm in xpcshell tests
|
||||
try {
|
||||
Cu.importGlobalProperties(["indexedDB"]);
|
||||
} catch (ex) {
|
||||
// don't write this is out in xpcshell, since it's expected there
|
||||
if (typeof window !== 'undefined' && "console" in window) {
|
||||
console.log("Failed to import indexedDB; if this isn't a unit test," +
|
||||
" something is wrong", ex);
|
||||
}
|
||||
}
|
||||
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
Reference in New Issue
Block a user