From da5da64ac3c75eda1b380dbd4ed311b9f90e6e2b Mon Sep 17 00:00:00 2001 From: Ali Juma Date: Thu, 31 Jan 2019 18:57:39 +0000 Subject: [PATCH] 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 --- .../web-platform/tests/fetch/api/basic/mode-no-cors.sub.any.js | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/web-platform/tests/fetch/api/basic/mode-no-cors.sub.any.js b/testing/web-platform/tests/fetch/api/basic/mode-no-cors.sub.any.js index 709eef5bf1db..a4abcac55f39 100644 --- a/testing/web-platform/tests/fetch/api/basic/mode-no-cors.sub.any.js +++ b/testing/web-platform/tests/fetch/api/basic/mode-no-cors.sub.any.js @@ -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"); });