зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
2adb4a2d1e
Коммит
58bdf90e75
|
@ -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();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче