Bug 1508655 - "Migrate boxmodel utils out of highlighterutils". r=ochameau CLOSED TREE
authorYulia Startsev <ystartsev>
Fri, 23 Nov 2018 04:57:00 +0200
changeset 504244 95a9f538ae4faf91054c1ba4997aa493acb03ad6
parent 504243 745309a6ca85c724b9403fc0f669e90eae4f6f51
child 504245 0fa44cb3f4b686913a397c6297c26d5f9c64bcb9
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1508655
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508655 - "Migrate boxmodel utils out of highlighterutils". r=ochameau CLOSED TREE
devtools/client/inspector/inspector.js
--- a/devtools/client/inspector/inspector.js
+++ b/devtools/client/inspector/inspector.js
@@ -2494,17 +2494,17 @@ Inspector.prototype = {
    */
   isDeletable(nodeFront) {
     return !(nodeFront.isDocumentElement ||
            nodeFront.nodeType == nodeConstants.DOCUMENT_TYPE_NODE ||
            nodeFront.isAnonymous);
   },
 
   async inspectNodeActor(nodeActor, inspectFromAnnotation) {
-    const nodeFront = await this.walker.gripToNodeFront({ nodeActor });
+    const nodeFront = await this.walker.gripToNodeFront({ actor: nodeActor });
     if (!nodeFront) {
       console.error("The object cannot be linked to the inspector, the " +
                     "corresponding nodeFront could not be found.");
       return false;
     }
 
     const isAttached = await this.walker.isInDOMTree(nodeFront);
     if (!isAttached) {