Bug 1515116 - Remove all useless constructor methods on Fronts. r=jdescottes

Depends on D14914

Differential Revision: https://phabricator.services.mozilla.com/D14915

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alexandre Poirot 2019-01-03 10:09:42 +00:00
Родитель 460c16cd22
Коммит 2f8299a363
5 изменённых файлов: 0 добавлений и 21 удалений

Просмотреть файл

@ -11,9 +11,6 @@ const { FrontClassWithSpec, registerFront } = require("devtools/shared/protocol"
loader.lazyImporter(this, "NetUtil", "resource://gre/modules/NetUtil.jsm");
class ActorActorFront extends FrontClassWithSpec(actorActorSpec) {
constructor(client, form) {
super(client, form);
}
}
exports.ActorActorFront = ActorActorFront;

Просмотреть файл

@ -10,10 +10,6 @@ const { FrontClassWithSpec, registerFront } = require("devtools/shared/protocol"
* The corresponding Front object for the FunctionCallActor.
*/
class FunctionCallFront extends FrontClassWithSpec(functionCallSpec) {
constructor(client, form) {
super(client, form);
}
/**
* Adds some generic information directly to this instance,
* to avoid extra roundtrips.

Просмотреть файл

@ -26,10 +26,6 @@ const HIDDEN_CLASS = "__fx-devtools-hide-shortcut__";
* Client side of a node list as returned by querySelectorAll()
*/
class NodeListFront extends FrontClassWithSpec(nodeListSpec) {
constructor(client, form) {
super(client, form);
}
marshallPool() {
return this.parent();
}

Просмотреть файл

@ -9,10 +9,6 @@ const {longStringSpec, SimpleStringFront} = require("devtools/shared/specs/strin
const { FrontClassWithSpec, registerFront } = require("devtools/shared/protocol");
class LongStringFront extends FrontClassWithSpec(longStringSpec) {
constructor(client) {
super(client);
}
destroy() {
this.initial = null;
this.length = null;

Просмотреть файл

@ -14,9 +14,6 @@ const { FrontClassWithSpec, registerFront } = require("devtools/shared/protocol"
* The corresponding Front object for the ShaderActor.
*/
class ShaderFront extends FrontClassWithSpec(shaderSpec) {
constructor(client, form) {
super(client, form);
}
}
exports.ShaderFront = ShaderFront;
@ -26,9 +23,6 @@ registerFront(ShaderFront);
* The corresponding Front object for the ProgramActor.
*/
class ProgramFront extends FrontClassWithSpec(programSpec) {
constructor(client, form) {
super(client, form);
}
}
exports.ProgramFront = ProgramFront;