mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test
native in moebius
This commit is contained in:
parent
85d21fcfdb
commit
642196594b
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue