Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test

native in moebius
This commit is contained in:
janekptacijarabaci 2018-04-22 22:11:33 +02:00 committed by Roy Tam
commit 642196594b

View file

@ -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) {