mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm
This commit is contained in:
parent
5494414b34
commit
9f3e48cb12
@ -4,8 +4,7 @@ self.addEventListener("install", function(event) {
|
||||
event.waitUntil(
|
||||
self.caches.open("origin-cache")
|
||||
.then(c => {
|
||||
return c.add(new Request(prefix + 'index-https.sjs',
|
||||
{ redirect: 'manual' }));
|
||||
return c.add(prefix + 'index-https.sjs');
|
||||
})
|
||||
);
|
||||
});
|
||||
|
@ -0,0 +1 @@
|
||||
Access-Control-Allow-Origin: https://example.com
|
@ -6,10 +6,8 @@ self.addEventListener("install", function(event) {
|
||||
.then(c => {
|
||||
return Promise.all(
|
||||
[
|
||||
c.add(new Request(prefix + 'index.sjs',
|
||||
{ redirect: 'manual' } )),
|
||||
c.add(new Request(prefix + 'index-to-https.sjs',
|
||||
{ redirect: 'manual' } ))
|
||||
c.add(prefix + 'index.sjs'),
|
||||
c.add(prefix + 'index-to-https.sjs')
|
||||
]
|
||||
);
|
||||
})
|
||||
|
@ -0,0 +1 @@
|
||||
Access-Control-Allow-Origin: http://mochi.test:8888
|
@ -53,11 +53,13 @@ support-files =
|
||||
fetch/origin/index.sjs
|
||||
fetch/origin/index-to-https.sjs
|
||||
fetch/origin/realindex.html
|
||||
fetch/origin/realindex.html^headers^
|
||||
fetch/origin/register.html
|
||||
fetch/origin/unregister.html
|
||||
fetch/origin/origin_test.js
|
||||
fetch/origin/https/index-https.sjs
|
||||
fetch/origin/https/realindex.html
|
||||
fetch/origin/https/realindex.html^headers^
|
||||
fetch/origin/https/register.html
|
||||
fetch/origin/https/unregister.html
|
||||
fetch/origin/https/origin_test.js
|
||||
|
Loading…
Reference in New Issue
Block a user