зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham
This commit is contained in:
Родитель
3cc300f189
Коммит
cd37a8aa61
|
@ -1,10 +0,0 @@
|
|||
[fetch-frame-resource.https.html]
|
||||
type: testharness
|
||||
[CORS type response could be loaded in the iframe.]
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1184967
|
||||
expected: FAIL
|
||||
|
||||
[CORS type response could be loaded in the new window.]
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1184967
|
||||
expected: FAIL
|
||||
|
|
@ -106,7 +106,7 @@ async_test(function(t) {
|
|||
frame.src =
|
||||
scope + '?mode=cors&url=' +
|
||||
encodeURIComponent(host_info['HTTPS_REMOTE_ORIGIN'] + path +
|
||||
'?ACAOrigin=' + host_info['HTTP_ORIGIN']);
|
||||
'?ACAOrigin=' + host_info['HTTPS_ORIGIN']);
|
||||
document.body.appendChild(frame);
|
||||
return getLoadedFrameAsObject(frame);
|
||||
})
|
||||
|
@ -176,7 +176,7 @@ async_test(function(t) {
|
|||
var win = window.open(
|
||||
scope + '?mode=cors&url=' +
|
||||
encodeURIComponent(host_info['HTTPS_REMOTE_ORIGIN'] + path +
|
||||
'?ACAOrigin=' + host_info['HTTP_ORIGIN']));
|
||||
'?ACAOrigin=' + host_info['HTTPS_ORIGIN']));
|
||||
return getLoadedWindowAsObject(win);
|
||||
})
|
||||
.then(function(result) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче