Closed
Bug 1508239
Opened 6 years ago
Closed 6 years ago
WebExtension with <all_urls> or file:///* permission cannot load file:// resources
Categories
(WebExtensions :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1266960
People
(Reporter: cyberleo, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.92 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
Firefox 60.3.0ESR Gentoo x86_64
Build an extension that invokes browser.tabs.create() with a user-provided file:// url and active:false; add permission "<all_urls>" or "file:///*" to the manifest
Actual results:
No tab pops, and the following message is logged in the browser console:
Error: Illegal URL: file:///...
Expected results:
Open a tab loading the provided file:// URL.
Updated•6 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Component: Untriaged → General
Product: Firefox → WebExtensions
Resolution: --- → DUPLICATE
Refreshing patch for 68ESR.
Attachment #9026044 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•