summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 22:21:34 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 22:21:34 +0200
commit80edefc958f4216bb5982e48a58fd241c69a54db (patch)
treeb962e73406abac996cc04a7b446cec00a1ebc9b5 /testing
parent41e3d0719ae44ffc28b4fa12c884273c3328c907 (diff)
downloadUXP-80edefc958f4216bb5982e48a58fd241c69a54db.tar
UXP-80edefc958f4216bb5982e48a58fd241c69a54db.tar.gz
UXP-80edefc958f4216bb5982e48a58fd241c69a54db.tar.lz
UXP-80edefc958f4216bb5982e48a58fd241c69a54db.tar.xz
UXP-80edefc958f4216bb5982e48a58fd241c69a54db.zip
Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test
Diffstat (limited to 'testing')
-rw-r--r--testing/web-platform/tests/service-workers/service-worker/fetch-frame-resource.https.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/web-platform/tests/service-workers/service-worker/fetch-frame-resource.https.html b/testing/web-platform/tests/service-workers/service-worker/fetch-frame-resource.https.html
index cc1dac472..fd7419832 100644
--- a/testing/web-platform/tests/service-workers/service-worker/fetch-frame-resource.https.html
+++ b/testing/web-platform/tests/service-workers/service-worker/fetch-frame-resource.https.html
@@ -110,7 +110,8 @@ async_test(function(t) {
frame.src =
scope + '?mode=cors&url=' +
encodeURIComponent(host_info['HTTPS_REMOTE_ORIGIN'] + path +
- '?ACAOrigin=' + host_info['HTTPS_ORIGIN']);
+ '?ACAOrigin=' + host_info['HTTPS_ORIGIN'] +
+ '&ACACredentials=true');
document.body.appendChild(frame);
return getLoadedFrameAsObject(frame);
})
@@ -183,7 +184,8 @@ async_test(function(t) {
var win = window.open(
scope + '?mode=cors&url=' +
encodeURIComponent(host_info['HTTPS_REMOTE_ORIGIN'] + path +
- '?ACAOrigin=' + host_info['HTTPS_ORIGIN']));
+ '?ACAOrigin=' + host_info['HTTPS_ORIGIN'] +
+ '&ACACredentials=true'));
return getLoadedWindowAsObject(win);
})
.then(function(result) {