Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / dom / base / SlowScriptDebug.sys.mjs
blob0402c6d38d8169c3d08a664987e93889c89d30f7
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 export function SlowScriptDebug() {}
7 SlowScriptDebug.prototype = {
8   classDescription: "Slow script debug handler",
9   QueryInterface: ChromeUtils.generateQI(["nsISlowScriptDebug"]),
11   get activationHandler() {
12     return this._activationHandler;
13   },
14   set activationHandler(cb) {
15     this._activationHandler = cb;
16   },
18   get remoteActivationHandler() {
19     return this._remoteActivationHandler;
20   },
21   set remoteActivationHandler(cb) {
22     this._remoteActivationHandler = cb;
23   },