<?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>133716</bug_id>
          
          <creation_ts>2014-06-10 20:48:53 -0700</creation_ts>
          <short_desc>Can&apos;t trigger a POST form resubmit confirm when using location.reload().</short_desc>
          <delta_ts>2014-06-10 20:49:33 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="j5726">jhyp5726</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1014650</commentid>
    <comment_count>0</comment_count>
    <who name="j5726">jhyp5726</who>
    <bug_when>2014-06-10 20:48:53 -0700</bug_when>
    <thetext>After a post query submit, When refresh the page, there should be a confirm dialog for users to resubmit the form.

But in the new webkit version, When using JS code as  location.reload(), the confirm dialog didn&apos;t be triggered, but directly reload the page and clear the query result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014651</commentid>
    <comment_count>1</comment_count>
      <attachid>232845</attachid>
    <who name="j5726">jhyp5726</who>
    <bug_when>2014-06-10 20:49:33 -0700</bug_when>
    <thetext>Created attachment 232845
bug demo

bug demo</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>232845</attachid>
            <date>2014-06-10 20:49:33 -0700</date>
            <delta_ts>2014-06-10 20:49:33 -0700</delta_ts>
            <desc>bug demo</desc>
            <filename>formbug.html</filename>
            <type>text/html</type>
            <size>294</size>
            <attacher name="j5726">jhyp5726</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHRpdGxlPkZvcm0gUmVzdWJtaXQgQ29uZmly
bSBCdWcgRGVtbzwvdGl0bGU+CjwvaGVhZD4KPGJvZHk+Cjxmb3JtIGFjdGlvbj0iIiBtZXRob2Q9
IlBPU1QiPgogICAgPGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0ia2V5IiB2YWx1ZT0iMSIgLz4K
ICAgIDxpbnB1dCB0eXBlPSJzdWJtaXQiIC8+CjwvZm9ybT4KPGlucHV0IHR5cGU9ImJ1dHRvbiIg
dmFsdWU9IkpTIFJlbG9hZCIgb25jbGljaz0ibG9jYXRpb24ucmVsb2FkKCk7IiAvPgo8L2JvZHk+
CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>