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
fixed in v44.0a2
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.