SlowScriptDebug.sys.mjs (694B)
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/. */ 4 5 export function SlowScriptDebug() {} 6 7 SlowScriptDebug.prototype = { 8 classDescription: "Slow script debug handler", 9 QueryInterface: ChromeUtils.generateQI(["nsISlowScriptDebug"]), 10 11 get activationHandler() { 12 return this._activationHandler; 13 }, 14 set activationHandler(cb) { 15 this._activationHandler = cb; 16 }, 17 18 get remoteActivationHandler() { 19 return this._remoteActivationHandler; 20 }, 21 set remoteActivationHandler(cb) { 22 this._remoteActivationHandler = cb; 23 }, 24 };