Bug 43058

Summary: Would like a way to make the web process crash at random times for testing purposes
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, andersca, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Add a way to cause the web process to crash at a random time darin: review+

Description Adam Roben (:aroben) 2010-07-27 10:40:07 PDT
It would be useful to be able to put the web process into a mode where it would crash at a random time. This could help us find cases where the UI process doesn't handle a web process crash correctly, such as bug 43049.
Comment 1 Adam Roben (:aroben) 2010-07-27 10:40:36 PDT
<rdar://problem/8240150>
Comment 2 Adam Barth 2010-07-27 11:45:00 PDT
In Chrome, we use the about:crash URL to trigger these conditions.  That has the nice property that it's not accessible from web content.
Comment 3 Adam Roben (:aroben) 2010-09-08 13:59:20 PDT
Created attachment 66937 [details]
Add a way to cause the web process to crash at a random time
Comment 4 Darin Adler 2010-09-08 14:03:26 PDT
Comment on attachment 66937 [details]
Add a way to cause the web process to crash at a random time

It seems to me that a reproducible pseudo-random sequence is better than a higher quality random number for this purpose.
Comment 5 Adam Roben (:aroben) 2010-09-08 14:25:29 PDT
(In reply to comment #4)
> (From update of attachment 66937 [details])
> It seems to me that a reproducible pseudo-random sequence is better than a higher quality random number for this purpose.

I filed bug 45414 about this.
Comment 6 Adam Roben (:aroben) 2010-09-08 14:28:00 PDT
Committed r67016: <http://trac.webkit.org/changeset/67016>