Closed Bug 1401121 Opened 7 years ago Closed 7 years ago

webextension browser.tabs.update with file url gives "Error: Illegal URL: file:///home/..."

Categories

(WebExtensions :: Untriaged, defect)

55 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1266960

People

(Reporter: blask, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170816210634

Steps to reproduce:

Use browser.tabs.update({url: "file:///home/..."})


Actual results:

Error: Illegal URL: file:///home/... in console


Expected results:

The file should have loaded. Works in Chrome, even without "allow access to file URL". https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/update doesn't mention this either.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.