Closed
Bug 1057107
Opened 9 years ago
Closed 9 years ago
tab.attach throws exception if Electrolysis is turned on (firefox 34.0a1)
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: joachim.herb, Assigned: zombie)
References
Details
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/Profiles/fqv5dzqx.test01/extensions/@testtab.xpi!/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
Reporter | ||
Updated•9 years ago
|
Blocks: e10s-addons
Assignee: nobody → tomica+amo
Priority: -- → P1
Reporter | ||
Comment 1•9 years ago
|
||
This has (somehow) been fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 2•9 years ago
|
||
fixed in bug 1090147
Depends on: 1090147
Resolution: WORKSFORME → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•