<?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>199183</bug_id>
          
          <creation_ts>2019-06-24 20:40:56 -0700</creation_ts>
          <short_desc>Duplicate Fetch API requests in Safari</short_desc>
          <delta_ts>2019-07-08 13:29:42 -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>Page Loading</component>
          <version>Safari 12</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>199492</dup_id>
          
          <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="Nate Rojas">rojasinate</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>karl</cc>
    
    <cc>mike</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1547624</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Rojas">rojasinate</who>
    <bug_when>2019-06-24 20:40:56 -0700</bug_when>
    <thetext>Problem:
1. Use fetch API to make a request in an HTML page - see request at server (encountered with Node.js server)
2. Reload page - see request at server (again) but with a duplicate request as well

The expected behavior is that every time the page loads there should only be one request sent to the server, but in fact after the first request Safari will make duplicate requests each subsequent page load. That is, two requests will be made at a time. 

The bug was first encountered June 22 2018 on a 2017 MacBook Pro 

The bug does not occur in google Chrome. 

See this Stack Overflow post for more details: 
https://stackoverflow.com/questions/56728800/why-is-safari-duplicating-get-request-but-chrome-does-not?noredirect=1#comment100050133_56728800</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1550946</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2019-07-08 13:29:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 199492 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>