Add a -xpcshell option to Firefox
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
4.17 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Now that xpcshell is just a (literal) shell around XRE_XPCShellMain, we can actually just make Firefox itself work as the xpcshell.
Assignee | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/2c9e3adfb02e for the "what is this environ of which you speak?" of https://treeherder.mozilla.org/logviewer.html#?job_id=21048823&repo=mozilla-inbound
Assignee | ||
Comment 4•8 years ago
|
||
Big facepalm on my part. Trivial change to make it build on all platforms.
Updated•8 years ago
|
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f5c043dfcb47
Comment 7•8 years ago
|
||
So is this supposed to do something now? firefox -xpcshell toolkit/components/autocomplete/tests/unit/test_finalCompleteValue_forceComplete.js It just produces no output and finishes.
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Magnus Melin from comment #7) > So is this supposed to do something now? > > firefox -xpcshell > toolkit/components/autocomplete/tests/unit/ > test_finalCompleteValue_forceComplete.js > > It just produces no output and finishes. It works for me on Linux, but I can reproduce on Windows. Unfortunately, I can't tell why it does that. Following with a debugger says it exists through https://dxr.mozilla.org/mozilla-central/rev/ae7413abfa4d3954a6a4ce7c1613a7100f367f9a/js/xpconnect/src/XPCShellImpl.cpp#1593 Bobby, any ideas? (this should probably be filed as a separate bug)
Comment 9•8 years ago
|
||
FWIW, I was testing on linux (though with a nightly, not a local build).
Comment 10•8 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #8) > (In reply to Magnus Melin from comment #7) > > So is this supposed to do something now? > > > > firefox -xpcshell > > toolkit/components/autocomplete/tests/unit/ > > test_finalCompleteValue_forceComplete.js > > > > It just produces no output and finishes. > > It works for me on Linux, but I can reproduce on Windows. Unfortunately, I > can't tell why it does that. Following with a debugger says it exists > through > https://dxr.mozilla.org/mozilla-central/rev/ > ae7413abfa4d3954a6a4ce7c1613a7100f367f9a/js/xpconnect/src/XPCShellImpl. > cpp#1593 > Bobby, any ideas? (this should probably be filed as a separate bug) That must means that something in ProcessArgs threw an exception or otherwise caused us to return false. You'll need to step into that function to get to the source.
Comment 11•9 months ago
|
||
(In reply to Mike Hommey [:glandium] from comment #8)
(In reply to Magnus Melin from comment #7)
So is this supposed to do something now?
firefox -xpcshell
toolkit/components/autocomplete/tests/unit/
test_finalCompleteValue_forceComplete.jsIt just produces no output and finishes.
It works for me on Linux, but I can reproduce on Windows. Unfortunately, I
can't tell why it does that. Following with a debugger says it exists
through
https://dxr.mozilla.org/mozilla-central/rev/
ae7413abfa4d3954a6a4ce7c1613a7100f367f9a/js/xpconnect/src/XPCShellImpl.
cpp#1593
Bobby, any ideas? (this should probably be filed as a separate bug)
I was hoping to use this functionality in https://bugzilla.mozilla.org/show_bug.cgi?id=1805919, and found that it is still broken. I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1807043 for it with some extremely rudimentary debugging.
Description
•