Open
Bug 1164459
Opened 10 years ago
Updated 2 months ago
Find a more graceful solution to restricting when getInfo.html can shut down the main browser process
Categories
(Testing :: Talos, defect, P4)
Testing
Talos
Tracking
(Not tracked)
NEW
People
(Reporter: mconley, Unassigned)
References
Details
(Whiteboard: [fxp][vision])
In bug 1124728, I updated talos to allow getInfo.html to quit the main browser process even when running out-of-process. We needed to do that, otherwise talos tests wouldn't run on OS X (since getInfo.html, before my patch, would just close the last window - which is fine on Windows and Linux, since that results in process termination, but not on OS X).
The problem with that is that since getInfo.html is in the history, anytime the newtab page shows up and attempts to show a thumbnail for history, getInfo.html is in there. And when we attempt to grab the thumbnail, getInfo.html is loaded out-of-process...which kills the main browser process.
We've got a workaround right now that bypasses getInfo's attempt at quitting if the process it's loaded in is using PRIORITY_LOW (which is the case for the background thumbnail browser).
That allows us to move forward, but we should probably find something a little less hacky.
Either:
1) Make sure getInfo.html, which (I believe) is only used once to get the window dimensions before a test runs, is not put into the browsing history.
2) Find some other solution to get the window dimensions before the test run that is not getInfo.html.
3) ???
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Robert Wood [:rwood] from comment #1)
> :mconley, is this still a valid concern?
Yeah, I think so. The hack is still in there. It'd be nice to get rid of it - though in the list of improvements and investments we should make for Talos, I suspect this ranks pretty low! :)
Flags: needinfo?(mconley)
Updated•7 years ago
|
Priority: -- → P3
Updated•5 years ago
|
Severity: normal → S4
Priority: P3 → P5
Updated•2 years ago
|
Whiteboard: [fxp]
Updated•2 years ago
|
Comment 3•1 year ago
|
||
making note, likely still an issue but low priority
Updated•2 months ago
|
Priority: P5 → P4
Updated•2 months ago
|
Whiteboard: [fxp] → [fxp][vision]
You need to log in
before you can comment on or make changes to this bug.
Description
•