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:
Alexandre Poirot 2018-11-08 10:09:02 +00:00
Родитель 85ae5e3944
Коммит d93476b23f
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -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() {