Closed
Bug 902421
Opened 11 years ago
Closed 11 years ago
|tools srcdir| breaks Firefox startup
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: msucan, Assigned: jryans)
Details
(Keywords: regression)
Attachments
(1 file)
4.56 KB,
patch
|
dcamp
:
review+
|
Details | Diff | Splinter Review |
I just pulled from fx-team and did a build. On startup none of my previous session tabs load, no toolbars are shown, no devtools, almost nothing is loaded. The terminal shows:
JavaScript error: resource://gre/modules/devtools/Loader.jsm, line 76: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]
I had to manually clear the devtools.loader.srcdir pref to bring Firefox back to life.
Yesterday this command worked well enough - it seems to be a very recent regression. Do we have tests for this command?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jryans
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Comment 1•11 years ago
|
||
Several people have added various paths to the loader without adding an equivalent path to the srcdir version.
I'd love to have a test here, but I am not sure what it would do... This issue only comes up new files are loaded, so they would not be part of some test, unless the test is trying to require files all over the place, which sounds a bit crazy.
Attachment #807966 -
Flags: review?(dcamp)
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Comment on attachment 807966 [details] [diff] [review]
Add correct paths to the SrcdirProvider
Review of attachment 807966 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, testing this is hard.
Attachment #807966 -
Flags: review?(dcamp) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
This is not resolved fixed yet. (until it merges to m-c)
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: FIXED → ---
Whiteboard: [fixed-in-fx-team]
Updated•11 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Reporter | ||
Comment 7•11 years ago
|
||
Do we have a bug about adding tests for this stuff? We should make sure such regressions do not happen too often. Thanks!
Assignee | ||
Comment 8•11 years ago
|
||
Filed bug 919686 to add tests.
Comment 9•11 years ago
|
||
Just ran into conflicts from this when uplifting bug 925199 to Aurora. Should we consider landing this there as well?
Assignee | ||
Comment 10•11 years ago
|
||
AFAIK, the srcdir feature is only used by Dev Tools contributors, and even then only sometimes, as it has some limitations with what changes will be picked up. Since it is merely a convenience for faster loading when hacking on the tools locally, I don't think it's necessary to pull this up to Aurora.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•