Bug 1272774 - remove unused update() method on tab actor;r=ochameau

MozReview-Commit-ID: FdrEAsIBsvj

--HG--
extra : rebase_source : 0e2166305f42b2487ce7558490a473eb9adec443
This commit is contained in:
Julian Descottes 2018-01-05 09:57:03 +01:00
parent 1d94b51b97
commit a649bddbb2

View File

@ -15,7 +15,6 @@
var { Ci, Cu, Cr, Cc } = require("chrome");
var Services = require("Services");
var { XPCOMUtils } = require("resource://gre/modules/XPCOMUtils.jsm");
var promise = require("promise");
var {
ActorPool, createExtraActors, appendExtraActors
} = require("devtools/server/actors/common");
@ -443,15 +442,6 @@ TabActor.prototype = {
return this._sources;
},
/**
* This is called by BrowserTabList.getList for existing tab actors prior to
* calling |form| below. It can be used to do any async work that may be
* needed to assemble the form.
*/
update() {
return promise.resolve(this);
},
form() {
assert(!this.exited,
"form() shouldn't be called on exited browser actor.");