How to use the devtools/server/protocol.Front function in devtools

To help you get started, we’ve selected a few devtools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joewalker / devtools.html / server / actors / webaudio.js View on Github external
initialize: function (client, form) {
    protocol.Front.prototype.initialize.call(this, client, form);
    // if we were manually passed a form, this was created manually and
    // needs to own itself for now.
    if (form) {
      this.manage(this);
    }
  }
});
github joewalker / devtools.html / server / actors / performance.js View on Github external
initialize: function (client, form) {
    protocol.Front.prototype.initialize.call(this, client, form);
    this.actorID = form.performanceActor;
    this.manage(this);
  },
github joewalker / devtools.html / server / actors / memprof.js View on Github external
initialize: function(client, form) {
    protocol.Front.prototype.initialize.call(this, client, form);
    this.actorID = form.memprofActor;
    this.manage(this);
  }
});
github joewalker / devtools.html / server / actors / promises.js View on Github external
destroy: function() {
    protocol.Front.prototype.destroy.call(this);
  }
});
github joewalker / devtools.html / server / actors / styles.js View on Github external
initialize: function(conn, form, ctx, detail) {
    protocol.Front.prototype.initialize.call(this, conn, form, ctx, detail);
    this.inspector = this.parent();
  },
github joewalker / devtools.html / server / actors / performance-recording.js View on Github external
destroy: function () {
    protocol.Front.prototype.destroy.call(this);
  },
github joewalker / devtools.html / server / actors / styleeditor.js View on Github external
destroy: function() {
    events.off(this, "property-change", this._onPropertyChange);

    protocol.Front.prototype.destroy.call(this);
  },
github joewalker / devtools.html / server / actors / canvas.js View on Github external
initialize: function(client, { canvasActor }) {
    protocol.Front.prototype.initialize.call(this, client, { actor: canvasActor });
    this.manage(this);
  }
});
github joewalker / devtools.html / server / actors / styleeditor.js View on Github external
initialize: function(client, tabForm) {
    protocol.Front.prototype.initialize.call(this, client);
    this.actorID = tabForm.styleEditorActor;
    this.manage(this);
  },
github joewalker / devtools.html / server / actors / stylesheets.js View on Github external
initialize: function(client, tabForm) {
    protocol.Front.prototype.initialize.call(this, client);
    this.actorID = tabForm.styleSheetsActor;
    this.manage(this);
  }
});