Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham

This commit is contained in:
Ben Kelly 2015-09-01 07:58:34 -07:00
Родитель 3cc300f189
Коммит cd37a8aa61
2 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

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