Allow opening data: URIs from tabs.create
Categories
(WebExtensions :: Frontend, defect, P5)
Tracking
(Not tracked)
People
(Reporter: zombie, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: addon-compat, DevAdvocacy, Whiteboard: triaged)
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•5 years ago
|
||
As an extension developer, what is the best, working way to send background data to a new window ?
I tried tabs.executeScript
with window.open
(https://stackoverflow.com/questions/11965087/open-a-new-tab-window-and-write-something-to-it/49019549#49019549), but that gives a permission error Error: Permission denied to access property "document" on cross-origin object
Comment 11•5 years ago
|
||
(In reply to 13hu from comment #10)
As an extension developer, what is the best, working way to send background data to a new window ?
Bundle an extension page with your extension, and pass the content via extension messaging or the URL. If you use the URL, make sure that there are protections in place to prevent others (web pages/extension/user) from breaking your extension when forged data is passed.
I tried
tabs.executeScript
withwindow.open
(https://stackoverflow.com/questions/11965087/open-a-new-tab-window-and-write-something-to-it/49019549#49019549), but that gives a permission errorError: Permission denied to access property "document" on cross-origin object
That is unrelated to this issue; I filed a new bug at bug 1616228.
Updated•2 years ago
|
Comment 12•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 10 votes.
:robwu, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 13•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Description
•