Backed out changeset a1eca62826a1 (bug1431533) Backed out changeset 34c999fa006b (bug1431533) Backed out changeset e2674287e57f (bug1431533)
19 lines
755 B
JavaScript
19 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);
|