Open Bug 933424 Opened 11 years ago Updated 2 years ago

ChromeWorker "Failed to load script file://"

Categories

(Core :: DOM: Workers, defect, P5)

25 Branch
x86_64
All
defect

Tracking

()

People

(Reporter: devel, Unassigned)

References

Details

(Whiteboard: [bugday-20131106])

Attachments

(1 file)

Attached file test1.xpi (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 Steps to reproduce: Install test1.xpi (see attached), restart, open Browser Console, navigate to "test1:test" Actual results: Browser Console shows "Failed to load script: file:///C:/Users/User1/AppData/Roaming/Mozilla/Firefox/Profiles/5697xjrm.test/extensions/test1@yoy.be/test2.js (nsresult = 0x805303f4)" Expected results: Browser Console should show the "test1:ping" and "test1:pong" messages from the console.log calls
Confirmed with firefox-25.0.ru.linux64 (I had to remove the platform specification from install.rdf to install the add-on; also maxVersion to test on Nightly). 2013-11-06-03-02-00-mozilla-central-firefox-28.0a1.en-US.linux-x86_64 crashed: 31c35202-2649-483c-80aa-550bd2131106
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Whiteboard: [bugday-20131106]
Depends on: 935692
Component: Untriaged → DOM: Workers
Product: Firefox → Core
Confirmed also with 2013-11-05-03-02-06-mozilla-central-firefox-28.0a1.en-US.linux-x86_64, which doesn't crash.
doesn't know how to open: 2011-01-01-03-mozilla-central-firefox-4.0b9pre.en-US.linux-x86_64 no msg: 2011-10-04-03-08-58-mozilla-central-firefox-10.0a1.en-US.linux-x86_64 doesn't know how to open + Fecha y hora: 07/11/13 01:03:06 Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///tmp/profilemanager/1383771754772/qv6u9pjo.null/extensions/test1@yoy.be/test1.js :: <TOP_LEVEL> :: line 6" data: no] 2012-02-02-03-12-38-es-ES-x86_64 Timestamp: 07/11/13 01:04:47 Error: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import] Source File: file:///tmp/profilemanager/1383771854560/96dmwfgj.null/extensions/test1@yoy.be/test1.js Line: 6 2012-04-25-03-06-47-mozilla-central-firefox-15.0a1.en-US.linux-x86_64 bug: 2012-07-02-03-05-51-mozilla-central-firefox-16.0a1.en-US.linux-x86_64
For what it's worth: in the mean time I've added "content test1 files/" to chrome.manifest, and use 'new ChromeWorker("chrome://test1/content/test2.js")', provided test2.js is in the "files" folder.
Also, I've been using the browser debugger, and the script started in a ChromeWorker doesn't apear in the list of files. Should I open a separate issue about that?
Reproduced with 2013-12-10-03-02-02-mozilla-central-firefox-29.0a1.en-US.linux-x86_64.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: