зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523562 [wpt PR 14940] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=193553, a=testonly
Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=193553 (#14940) * FetchResponse::url should return the empty string for tainted responses -- wpt-commits: d3a7b003821596386fb708fe18decf696c563277 wpt-pr: 14940
This commit is contained in:
Родитель
1bfa0ee80d
Коммит
da5da64ac3
|
@ -7,6 +7,7 @@ function fetchNoCors(url, isOpaqueFiltered) {
|
|||
return fetch(url + urlQuery, {"mode": "no-cors"}).then(function(resp) {
|
||||
assert_equals(resp.status, 0, "Opaque filter: status is 0");
|
||||
assert_equals(resp.statusText, "", "Opaque filter: statusText is \"\"");
|
||||
assert_equals(resp.url, "", "Opaque filter: url is \"\"");
|
||||
assert_equals(resp.type , "opaque", "Opaque filter: response's type is opaque");
|
||||
assert_equals(resp.headers.get("x-is-filtered"), null, "Header x-is-filtered is filtered");
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче