From 5fabb5830630723a6b0db13844cacda1d17aa50a Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 9 Oct 2018 22:38:11 +0200 Subject: [PATCH] Change how module scripts are fetched * Module scripts are always fetched with request credentials mode "same-origin" by default, instead of the previous default of "omit". Only worker module scripts can still set that to "omit", using the credentials option to the Worker constructor. Non-worker module scripts, which only have the crossorigin="" attribute available, can only toggle between "same-origin" and "include", similar to how crossorigin="" works for other platform features. * Similarly, import() statements inside of classic scripts now use the "same-origin" credentials mode, instead of "omit". This affects both