Closed
Bug 1219237
Opened 9 years ago
Closed 9 years ago
WebExtension - accessing accessible resource return an error
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ido.y, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 Steps to reproduce: i tried to access a resource using the following function chrome.extension.getURL('SOME_URL') this page is defined as accessible in the manifest by the following attribute "web_accessible_resources": [ "SOME_URL" ] Actual results: got the following error ReferenceError: url is not defined Stack trace: api/<.extension.getURL@resource://gre/modules/ExtensionContent.jsm:88:7" Expected results: the url for the file in the extension "directory"
btw, i do succeed to access the resource from the browser moz-extension://EXTENSION_GUID/SOME_URL
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•