Closed Bug 617000 Opened 9 years ago Closed 9 years ago

webconsole doesn't load for firefox-on-xulrunner setups

Categories

(DevTools :: General, defect)

All
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 4.0b8

People

(Reporter: wolfiR, Assigned: wolfiR)

Details

Attachments

(2 files)

Fehler: 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 :: resource:///modules/HUDService.jsm :: <TOP_LEVEL> :: line 53"  data: no]

Line 53 is:
Cu.import("resource://gre/modules/NetworkHelper.jsm");

but NetworkHelper.jsm is installed in //app/modules (as HUDService.js)

Proposed patch is coming
Pardon my ignorance. What is a firefox-on-xulrunner setup?
Attached patch initial patchSplinter Review
This patch fixes the resource links to NetworkHelper.jsm and PropertyPanel.jsm which are both installed in app/modules besides HUDService.jsm

_But_ I still get errors when trying to open webconsole.
I couldn't figure out why as the errors are still the same:

Fehler: 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 :: resource:///modules/HUDService.jsm :: <TOP_LEVEL> :: line 53"  data: no]
Fehler: 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 :: chrome://browser/content/browser.js :: <TOP_LEVEL> :: line 12914"  data: no]

But I can verify that the resource links are pointing to available modules.
(In reply to comment #1)
> Pardon my ignorance. What is a firefox-on-xulrunner setup?

running Firefox as xul app on top of xulrunner. Both are installed in different places and therefore //app and //gre are not pointing to the same place.
Attachment #495502 - Flags: review?(gavin.sharp)
Comment on attachment 495502 [details] [diff] [review]
initial patch

There are two PropertyPanel.jsm references in inspector.js that it wouldn't hurt to update as well.
Attachment #495502 - Flags: review?(gavin.sharp) → review+
patch for inspector.js
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Attachment #495505 - Flags: review?(gavin.sharp)
Comment on attachment 495502 [details] [diff] [review]
initial patch

webconsole does not load with firefox-on-xulrunner setups w/o this patch
Attachment #495502 - Flags: approval2.0?
Attachment #495502 - Flags: approval2.0? → approval2.0+
Attachment #495505 - Flags: review?(gavin.sharp)
Attachment #495505 - Flags: review+
Attachment #495505 - Flags: approval2.0+
http://hg.mozilla.org/mozilla-central/rev/5c5042709dd4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.