Firefox code inspector hangs when trying to investigate elements


(Alex) #1

The inspector opens, but the element you are trying to inspect did not show up, it shows only head and body tags. Example site:
https://ldsreflections.com/

Firefox Quantum 59.0.2, Win8

Please help!


(Patrick Brosset) #2

Hi. I tested on Firefox 59 and 60, both on Windows 10, and didn’t have the same problem. The elements appeared correctly.

One thing that might help is if you ever run into this again, check into the browser console (ctrl+shift+J) to see if there are any errors in there that appear as you try to inspect an element.

Hopefully, this helps resolve the issue.


(Mike Ratcliffe) #3

I can reproduce this in Developer Edition (60.0b8) on OSX.

I see various errors in the browser console:

TypeError: currentPanel is undefined
Stack trace:
destroyInspector/this._destroyingInspector<@resource://devtools/shared/base-loader.js -> resource://devtools/client/framework/toolbox.js:2629:1
_run@resource://devtools/shared/base-loader.js -> resource://devtools/shared/task.js:310:39
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:928:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:748:11
Full Message: TypeError: panel is undefined
Full Stack: onLoad/<@resource://devtools/shared/base-loader.js -> resource://devtools/client/framework/toolbox.js:1753:13
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:928:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:748:11
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://www.youtube.com’) does not match the recipient window’s origin (‘https://ldsreflections.com’).

(Mike Ratcliffe) #4

Works fine in nightly 61.0a1 (2018-04-03)


Firefox is removing DOM elements from inspector
(Mike Ratcliffe) #5

This could be related to Firefox is removing DOM elements from inspector