Bug 45414 - Would like a way to make WEBKIT2_CRASH_WEB_PROCESS_RANDOMLY crash the web process at repeatable times
Summary: Would like a way to make WEBKIT2_CRASH_WEB_PROCESS_RANDOMLY crash the web pro...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-09-08 14:25 PDT by Adam Roben (:aroben)
Modified: 2010-09-08 15:39 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-09-08 14:25:13 PDT
From bug 43058 comment 4, in regard to the random delay chosen before crashing when WEBKIT2_CRASH_WEB_PROCESS_RANDOMLY is set:
> It seems to me that a reproducible pseudo-random sequence is better than a higher quality random number for this purpose.

This bug represents implementing this.
Comment 1 Adam Roben (:aroben) 2010-09-08 14:25:55 PDT
<rdar://problem/8407376>
Comment 2 Darin Adler 2010-09-08 15:39:19 PDT
I guess pseudo-random is only part of the story. We’d also somehow want to synchronize with the amount of CPU time used instead of using wall clock time or something like that. That may be impractical.