Yes, other browsers display a dialog when JavaScript is taking too long to execute. If I run code that would cause that dialog to pop up in other browsers, I get the "want to kill this tab?" message. It seems that something is causing V8 to crash, and I'm just trying to figure out what exactly that is. Or maybe it's that V8 just crashes at some point and that hooks into Chromium's crash handling?
-Nicholas On Jan 15, 9:50 pm, Brett Wilson <[email protected]> wrote: > On Jan 14, 3:01 pm, "Nicholas C. Zakas" <[email protected]> > wrote: > > > I've been poking around the source code trying to figure out how > > Chromium determines that a script has run for too long and thus > > invokes the crash mechanism. Can anyone provide details about how this > > works and/or where I should be looking in the source? > > I don't believe we have such a feature. Are you referring to the > feature of some other browsers that prompts you when a script is > running too long? I don't think we have that, either, because you can > always close a misbehaving tab. > > Brett --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
