<?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>189888</bug_id>
          
          <creation_ts>2018-09-22 12:21:57 -0700</creation_ts>
          <short_desc>Change default credentials mode for module scripts from omit to same-origin</short_desc>
          <delta_ts>2024-03-17 08:07:24 -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>DOM</component>
          <version>Safari 11</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210326</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Farolino">domfarolino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>annevk</cc>
    
    <cc>cdumez</cc>
    
    <cc>d</cc>
    
    <cc>fpizlo</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1462399</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Farolino">domfarolino</who>
    <bug_when>2018-09-22 12:21:57 -0700</bug_when>
    <thetext>The HTML Standard is changing such that module scripts (&lt;script type=module&gt;), and their descendants are fetched with &quot;same-origin&quot; credentials mode [1]. This means credentials must be included on same-origin module scripts requests by default. See point (1) in the following HTML PR: https://github.com/whatwg/html/pull/3656#issuecomment-421589162. Some of the other points in that PR are pending spec finalization, and a separate issue should be filed for them.

[1]: https://fetch.spec.whatwg.org/#concept-request-credentials-mode</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1463720</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-09-26 13:25:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/44805666&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467537</commentid>
    <comment_count>2</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2018-10-09 13:45:14 -0700</bug_when>
    <thetext>Spec change has now landed. See also #171550.

Web platform tests were changed in https://github.com/web-platform-tests/wpt/pull/13176 , with some additional related tests for module workers in https://github.com/web-platform-tests/wpt/pull/11274 and some additional test coverage ideas for dynamic import in https://github.com/web-platform-tests/wpt/issues/13426</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021646</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-03-17 08:07:24 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>