Bumping manifests a=b2g-bump
[gecko.git] / dom / base / SlowScriptDebug.js
blobc9603abe2aee1a158cc0f7b8132bfa2be253ffcc
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 "use strict";
7 Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
9 function SlowScriptDebug() { }
11 SlowScriptDebug.prototype = {
12   classID: Components.ID("{e740ddb4-18b4-4aac-8ae1-9b0f4320769d}"),
13   classDescription: "Slow script debug handler",
14   contractID: "@mozilla.org/dom/slow-script-debug;1",
15   QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsISlowScriptDebug]),
17   get activationHandler()   { return this._activationHandler; },
18   set activationHandler(cb) { return this._activationHandler = cb; },
21 this.NSGetFactory = XPCOMUtils.generateNSGetFactory([SlowScriptDebug]);