mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 03:38:51 +02:00
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
18 lines
764 B
JavaScript
18 lines
764 B
JavaScript
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
|
|
|
|
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
|
|
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
XPCOMUtils.defineLazyGetter(this, "FxAccountsCommon", function() {
|
|
return ChromeUtils.import("resource://gre/modules/FxAccountsCommon.js", {});
|
|
});
|
|
|
|
do_get_profile(); // fxa needs a profile directory for storage.
|
|
|
|
// ================================================
|
|
// Load mocking/stubbing library, sinon
|
|
// docs: http://sinonjs.org/releases/v2.3.2/
|
|
ChromeUtils.import("resource://gre/modules/Timer.jsm");
|
|
Services.scriptloader.loadSubScript("resource://testing-common/sinon-2.3.2.js", this);
|
|
/* globals sinon */
|
|
// ================================================
|