Open mykmelez opened 8 years ago
Hi,
I don't know about the project context but I got similar problems:
Handler function DebuggerProgressListener.prototype.onStateChange threw an exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIWebProgress.DOMWindow]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js :: _docShellToWindow :: line 768" data: no]
Stack: _docShellToWindow@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:768:9
_docShellsToWindows/<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:792:38
_docShellsToWindows@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:792:12
_notifyDocShellsUpdate@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:796:19
DebuggerProgressListener.prototype.onStateChange<@resource://devtools/shared/base-loader.js -> resource://devtools/server/actors/tab.js:1624:7
exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
Line: 768, column: 0 2 ThreadSafeDevToolsUtils.js:88:5
reportException resource://devtools/shared/ThreadSafeDevToolsUtils.js:88:5
exports.makeInfallible/< resource://devtools/shared/ThreadSafeDevToolsUtils.js:115:7
From:
view-source:resource://devtools/shared/ThreadSafeDevToolsUtils.js
At:
Nome Firefox
Versão 61.0a1
ID da compilação 20180321102906
Histórico de atualizações
Canal de atualização nightly
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
OS Linux 4.15.0-12-generic
Thanks!
For issues with Firefox like this, I would suggest reporting them over here:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Developer Tools
If you have more details on what you were doing or how to reproduce, that would help a lot!
Giving a BrowserWindow the system principal, which I did on the webview-branch (since merged to master), causes the BrowserWindow document body to appear empty in the Inspector devtool's tree view, when I open the Inspector for a given BrowserWindow. And opening the Inspector triggers these errors in the console:
@jryans Perhaps Inspector is not designed to support chrome HTML documents? Or maybe the way we give the system principal to the BrowserWindow document, which isn't at a chrome: URL, is the culprit?