Jasper
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
Peter, your "solution" completely misses the point and would not work at all. It would be relatively simple if the entire Chrome process terminated, but that is not what is happening. When a tab process malfunctions or crashes the main Chrome process still exists so monitoring for the lack of a Chrome process won't do anything. Also, there is no way to effectively track the PID of a particular tab process (no way to programatically get that). And there can be multiple "child" processes relating to plugins and such, so that is just not viable at all.
What we need from Chrome is some type of notification system that can be subscribed to or polled for the state of all tabs and plugins. Clearly the primary Chrome process has access to that data in order to be able to replace a failed tab process with the "Aw snap" message. All we need is a way to get notified when that happens. I'd dive into the code myself but just don't have the time...
On Sunday, December 8, 2013 7:46:26 PM UTC-5, Peter Teoh wrote:I think not available, but best solution is to create another monitoring process that poll the existence of this chrome process by pid, and restart it it does not exists, and the new pid will be used for polling.Similar ideas are discussed here:The follow proposed a Javascript (but it is very irritating to refresh all the time):(you can read the side links in stackoverflow or superuser for more similar questions)On Mon, Apr 2, 2012 at 6:42 AM, Jasper H. <goo...@jasperheeffer.nl> wrote:
Hey all,
I'm wondering if there's a flag or option in chrome to reload a tab
the moment it crashes.
I'm building a kiosk-application and want to make it as independent as
possible. This includes a automatic recovery from possible crashes.
I've looked all over the web for an hour now but couldn't find if
chrome can do this.
So in other words: Is there an option or flag to automatically reload
the tab when it goes 'Aw snap...'