зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1503628 - Stop storing threadActor on TabTarget. r=yulia
MozReview-Commit-ID: 28A1mNQG9P2 Depends on D11009 Differential Revision: https://phabricator.services.mozilla.com/D11010 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
85ae5e3944
Коммит
d93476b23f
|
@ -518,9 +518,8 @@ TabTarget.prototype = {
|
|||
|
||||
// Attach the target actor
|
||||
const attachBrowsingContextTarget = async () => {
|
||||
const [response, targetFront] = await this._client.attachTarget(this._form.actor);
|
||||
const [, targetFront] = await this._client.attachTarget(this._form.actor);
|
||||
this.activeTab = targetFront;
|
||||
this.threadActor = response.threadActor;
|
||||
|
||||
this.activeTab.on("tabNavigated", this._onTabNavigated);
|
||||
this._onFrameUpdate = packet => {
|
||||
|
@ -820,7 +819,6 @@ TabTarget.prototype = {
|
|||
this._root = null;
|
||||
this._title = null;
|
||||
this._url = null;
|
||||
this.threadActor = null;
|
||||
},
|
||||
|
||||
toString: function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче