Bug 1623667 - [devtools] Update Storage panel to use Box Model Highlighter r=ladybenko

Depends on D92227

Update Storage panel to use Toolbox shortcut to highlighter introduced in D92222.

Differential Revision: https://phabricator.services.mozilla.com/D92228
This commit is contained in:
Razvan Caliman 2020-10-23 10:08:39 +00:00
Родитель 2adb4a2d1e
Коммит 58bdf90e75
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -2937,12 +2937,12 @@ Variable.prototype = extend(Scope.prototype, {
if (!this._nodeFront) {
const inspectorFront = await this.toolbox.target.getFront("inspector");
this.nodeFront = await inspectorFront.getNodeFrontFromNodeGrip(
this._nodeFront = await inspectorFront.getNodeFrontFromNodeGrip(
this._valueGrip
);
}
await this.nodeFront.highlighterFront.highlight(this._nodeFront);
await this.toolbox.getHighlighter().highlight(this._nodeFront);
},
/**
@ -2954,7 +2954,7 @@ Variable.prototype = extend(Scope.prototype, {
return;
}
this.nodeFront.highlighterFront.unhighlight();
this.toolbox.getHighlighter().unhighlight();
},
/**