Bug 158305

Summary: LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, glenn, lforschler, ryanhaddad
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Description Aakash Jain 2016-06-02 10:55:30 PDT
While launching iOS Simulators during run-webkit-tests, sometimes we notice this alert:
“The last time you opened Simulator, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?”

Due to this automated tests fails to start. We should either handle this alert or prevent this from happening.

See <rdar://problem/26556310>
Comment 1 Aakash Jain 2016-06-02 11:00:23 PDT
Created attachment 280341 [details]
Proposed patch

State from previous runs are kept in "~/Library/Saved Application State/com.apple.iphonesimulator*.savedstate” folder. Removing this data makes the current run independent of the state in previous run.
Comment 2 WebKit Commit Bot 2016-06-02 11:41:23 PDT
Comment on attachment 280341 [details]
Proposed patch

Clearing flags on attachment: 280341

Committed r201606: <http://trac.webkit.org/changeset/201606>
Comment 3 WebKit Commit Bot 2016-06-02 11:41:27 PDT
All reviewed patches have been landed.  Closing bug.