Open janodvarko opened 8 years ago
@janodvarko By looking at the sources it seems that the problem is happening in the firefox-sdk
npm (jpm) dependency, in particular it seems that the Rdp.registerGlobalActor
helper doesn't always return a promise, e.g. if checkCompatibility
returns false, then registerGlobalActor
return null instead of rejecting the promise:
https://github.com/firebug/firebug.sdk/blob/master/lib/core/rdp.js#L33
I am seeing the following error when opening RDPi Console: (Firefox Nightly)
Console Service ERROR [JavaScript Error: "TypeError: Rdp.registerGlobalActor(...) is undefined" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://rdpinspector-at-getfirebug-dot-com/lib/inspector-service.js" line: 280}] [JavaScript Error: "TypeError: Rdp.registerGlobalActor(...) is undefined" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://rdpinspector-at-getfirebug-dot-com/lib/inspector-service.js" line: 280}]
@rpl Any tips why this happens?
Honza