title: Safari does not include cookies when requesting es2015 module files
body: <p>My webserver requires that an authentication cookie be present before serving any file, including .js files.</p>
  
  <p>Since updating one of my sites to offer es2015 modules in a <code>&lt;script type="module"&gt;</code> tag, the authentication cookie is not sent with the request for that file by Safari.  It works as expected in Chrome.</p>
  
  <p>Is there a behavior in Safari that is blocking cookies on js module requests? I can rollback to not supporting modules to restore service but then loose the module benefits for browsers which support them.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script src="module.js" type="module"&gt;&lt;/script&gt;
  &lt;script src="legacy.js" nomodule&gt;&lt;/script&gt;
  ---
  &lt;script src="legacy.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>First party cookies are set in the headers of the server's response for the page requesting the js files.
  When the first two script tags are present, Safari requests module.js not legacy.js, as expected, but does not include any cookies with that request.
  If the third script tag is used instead, Safari requests legacy.js, including the cookies with that request.</p>
  
  <p>Is there a way to get Safari to send cookies with the module request?
  Is there risk that other browsers will adopt Safari's behavior?
  Does the ECMAScript 6 specification prescribe the behavior here one way or another?</p>