forked from mirrors/gecko-dev
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
18 lines
773 B
JavaScript
18 lines
773 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
const {interfaces: Ci, classes: Cc, results: Cr, utils: Cu} = Components;
|
|
|
|
ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
|
|
// ================================================
|
|
// Load mocking/stubbing library, sinon
|
|
// docs: http://sinonjs.org/releases/v2.3.2/
|
|
/* exported sinon */
|
|
ChromeUtils.import("resource://gre/modules/Timer.jsm");
|
|
Services.scriptloader.loadSubScript("resource://testing-common/sinon-2.3.2.js", this);
|
|
/* globals sinon */
|
|
// ================================================
|
|
|
|
var gProfD = do_get_profile().QueryInterface(Ci.nsIFile);
|