Closed
Bug 857652
Opened 12 years ago
Closed 12 years ago
XPCShellEnvironment's 'quit' doesn't ask event loop to quit
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jimb, Assigned: jimb)
References
Details
Attachments
(1 file)
ipc/testshell/XPCShellEnvironment.cpp's 'Quit' function relies on throwing a termination (an error with no JavaScript exception set) to exit the process, but things like observers and nsIMessageListeners get called in places that ignore errors.
XPCShellEnvironment's 'quit' should call XRE_ShutdownChildProcess, to properly ask the child's event loop to stop running.
Patch coming up; will r? if try likes it.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jimb
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Here's an interesting failure. Looks like the new tests don't work too well on B2G.
https://tbpl.mozilla.org/?tree=Try&rev=0dee616103f4&jobname=b2g_ics_armv7a_gecko_emulator_vm%20try%20opt%20test%20xpcshell
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
(In reply to Jim Blandy :jimb from comment #3)
> This one as well:
>
> https://tbpl.mozilla.org/?tree=Try&rev=0dee616103f4&jobname=Rev3%20WINNT%205.
> 1%20try%20opt%20test%20xpcshell
The Windows failures look like known oranges, no? Bug 855757 and bug 824022?
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Panos Astithas [:past] from comment #4)
> The Windows failures look like known oranges, no? Bug 855757 and bug 824022?
Yes, I think that's right.
Assignee | ||
Comment 6•12 years ago
|
||
With the patch in bug 874755, we may not need XPCShellEnvironment at all any more, so working on XPCShellEnvironment is probably not worth it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•