forked from mirrors/gecko-dev
MozReview-Commit-ID: CJGX1aihFuV --HG-- extra : rebase_source : ea28a8ec1c16e95ce55cdd8b37e9d2c4c3abf5cd
18 lines
755 B
JavaScript
18 lines
755 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;
|
|
|
|
Cu.import("resource://gre/modules/Services.jsm");
|
|
|
|
// ================================================
|
|
// Load mocking/stubbing library, sinon
|
|
// docs: http://sinonjs.org/releases/v2.3.2/
|
|
/* exported sinon */
|
|
Cu.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);
|