The code for a sample addon at https://github.com/jmozmoz/testtabattach results in an exception: "err: [Exception... "Failure arg 0 [nsIScriptSecurityManager.isSystemPrincipal]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/joachim/AppData/Roaming/Mozilla/Firefox/Profilesfirstname.lastname@example.org!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/content/sandbox.js :: WorkerSandbox :: line 122" data: no]" index.js:9 This happens after the addon was installed and (reproducible after restarting firefox). Setting browser.tabs.remote.autostart to false does not result in the error. The error also does only appear if the function call in https://github.com/jmozmoz/testtabattach/blob/master/index.js#L24 includes parameters. The method resulting in the exception happens in this sequence: tabs.on -> tab.attach -> self.postMessage -> onMessage -> method call
This has (somehow) been fixed.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.