<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>158305</bug_id>
          
          <creation_ts>2016-06-02 10:55:30 -0700</creation_ts>
          <short_desc>LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit</short_desc>
          <delta_ts>2016-06-02 11:41:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1198570</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-06-02 10:55:30 -0700</bug_when>
    <thetext>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 &lt;rdar://problem/26556310&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1198574</commentid>
    <comment_count>1</comment_count>
      <attachid>280341</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-06-02 11:00:23 -0700</bug_when>
    <thetext>Created attachment 280341
Proposed patch

State from previous runs are kept in &quot;~/Library/Saved Application State/com.apple.iphonesimulator*.savedstate” folder. Removing this data makes the current run independent of the state in previous run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1198596</commentid>
    <comment_count>2</comment_count>
      <attachid>280341</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-06-02 11:41:23 -0700</bug_when>
    <thetext>Comment on attachment 280341
Proposed patch

Clearing flags on attachment: 280341

Committed r201606: &lt;http://trac.webkit.org/changeset/201606&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1198597</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-06-02 11:41:27 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>280341</attachid>
            <date>2016-06-02 11:00:23 -0700</date>
            <delta_ts>2016-06-02 11:41:23 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>patch_simulator_savedstate</filename>
            <type>text/plain</type>
            <size>1607</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIwMTYwMSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE2LTA2LTAyICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwc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b3JfcGF0aChpKSwgaWdub3JlX2Vycm9ycz1UcnVlKQogICAgICAg
ICAgICAgICAgIHNodXRpbC5ybXRyZWUob3MucGF0aC5qb2luKG9zLnBhdGguZXhwYW5kdXNlcigi
fiIpLCAiTGlicmFyeS9Mb2dzL0NvcmVTaW11bGF0b3IvIiwKICAgICAgICAgICAgICAgICAgICAg
c2VsZi50ZXN0aW5nX2RldmljZShpKS51ZGlkKSwgaWdub3JlX2Vycm9ycz1UcnVlKQorICAgICAg
ICAgICAgICAgIHNodXRpbC5ybXRyZWUob3MucGF0aC5qb2luKG9zLnBhdGguZXhwYW5kdXNlcigi
fiIpLCAiTGlicmFyeS9TYXZlZCBBcHBsaWNhdGlvbiBTdGF0ZS8iLAorICAgICAgICAgICAgICAg
ICAgICBzZWxmLlNJTVVMQVRPUl9CVU5ETEVfSUQgKyBzdHIoaSkgKyAiLnNhdmVkU3RhdGUiKSwg
aWdub3JlX2Vycm9ycz1UcnVlKQogICAgICAgICAgICAgICAgIFNpbXVsYXRvcigpLmRlbGV0ZV9k
ZXZpY2Uoc2VsZi50ZXN0aW5nX2RldmljZShpKS51ZGlkKQogICAgICAgICAgICAgZXhjZXB0Ogog
ICAgICAgICAgICAgICAgIF9sb2cud2FybmluZygnVW5hYmxlIHRvIHJlbW92ZSBTaW11bGF0b3In
ICsgc3RyKGkpKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>