diff --git a/devtools/client/fronts/webconsole.js b/devtools/client/fronts/webconsole.js index f380f24c92d9..f4f667952c0c 100644 --- a/devtools/client/fronts/webconsole.js +++ b/devtools/client/fronts/webconsole.js @@ -24,7 +24,6 @@ class WebConsoleFront extends FrontClassWithSpec(webconsoleSpec) { constructor(client, targetFront, parentFront) { super(client, targetFront, parentFront); this._client = client; - this.traits = {}; this.events = []; // Attribute name from which to retrieve the actorID out of the target actor's form @@ -306,7 +305,6 @@ class WebConsoleFront extends FrontClassWithSpec(webconsoleSpec) { async startListeners(listeners) { const response = await super.startListeners(listeners); this.hasNativeConsoleAPI = response.nativeConsoleAPI; - this.traits = response.traits; return response; } diff --git a/devtools/server/actors/webconsole.js b/devtools/server/actors/webconsole.js index 42b4e704628d..62321bd52445 100644 --- a/devtools/server/actors/webconsole.js +++ b/devtools/server/actors/webconsole.js @@ -198,8 +198,6 @@ const WebConsoleActor = ActorClassWithSpec(webconsoleSpec, { "last-pb-context-exited" ); } - - this.traits = {}; }, /** * Debugger instance. @@ -236,12 +234,6 @@ const WebConsoleActor = ActorClassWithSpec(webconsoleSpec, { */ conn: null, - /** - * List of supported features by the console actor. - * @type object - */ - traits: null, - /** * The global we work with (this can be a Window, a Worker global or even a Sandbox * for processes and addons). @@ -791,7 +783,6 @@ const WebConsoleActor = ActorClassWithSpec(webconsoleSpec, { return { startedListeners: startedListeners, nativeConsoleAPI: this.hasNativeConsoleAPI(this.global), - traits: this.traits, }; }, diff --git a/devtools/shared/specs/webconsole.js b/devtools/shared/specs/webconsole.js index f2788b1942f8..d793c82091b3 100644 --- a/devtools/shared/specs/webconsole.js +++ b/devtools/shared/specs/webconsole.js @@ -12,12 +12,9 @@ const { Arg, } = require("devtools/shared/protocol"); -types.addDictType("console.traits", {}); - types.addDictType("console.startlisteners", { startedListeners: "array:string", nativeConsoleAPI: "nullable:boolean", - traits: "console.traits", }); types.addDictType("console.stoplisteners", {