From 6e31a60830056e0fa1a3278915c05470946d9201 Mon Sep 17 00:00:00 2001 From: moz-wptsync-bot Date: Fri, 25 May 2018 23:11:01 +0000 Subject: [PATCH] Bug 1464525 [wpt PR 11171] - Update wpt metadata, a=testonly wpt-pr: 11171 wpt-type: metadata --- .../fetch-in-iframe.html.ini | 19 ++++++++++++ .../fetch.html.ini | 31 +++++++++++++++++++ .../iframe-loads.html.ini | 4 +++ .../image-loads.html.ini | 10 ++++++ .../script-loads.html.ini | 10 ++++++ .../claim-with-redirect.https.html.ini | 7 +++++ 6 files changed, 81 insertions(+) create mode 100644 testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini create mode 100644 testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch.html.ini create mode 100644 testing/web-platform/meta/fetch/cross-origin-resource-policy/iframe-loads.html.ini create mode 100644 testing/web-platform/meta/fetch/cross-origin-resource-policy/image-loads.html.ini create mode 100644 testing/web-platform/meta/fetch/cross-origin-resource-policy/script-loads.html.ini create mode 100644 testing/web-platform/meta/service-workers/service-worker/claim-with-redirect.https.html.ini diff --git a/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini b/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini new file mode 100644 index 0000000000000..b0709f93d150e --- /dev/null +++ b/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini @@ -0,0 +1,19 @@ +[fetch-in-iframe.html] + [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Cross-origin fetch in a cross origin iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + + [Cross-origin fetch in a data: iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + + [Cross-origin fetch in a cross origin iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + + [Cross-origin fetch in a cross origin iframe load fails if the server blocks cross-origin loads with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + diff --git a/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch.html.ini b/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch.html.ini new file mode 100644 index 0000000000000..076fa90a441e1 --- /dev/null +++ b/testing/web-platform/meta/fetch/cross-origin-resource-policy/fetch.html.ini @@ -0,0 +1,31 @@ +[fetch.html] + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + + [Cross-origin no-cors fetch to a same-site URL with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Valid cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same' response header after a redirection.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same' redirect response header.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + + [Cross-origin no-cors fetch to a same-site URL with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same-origin' response header after a redirection.] + expected: FAIL + + [Cross-origin no-cors fetch with a 'Cross-Origin-Resource-Policy: same-origin' redirect response header.] + expected: FAIL + diff --git a/testing/web-platform/meta/fetch/cross-origin-resource-policy/iframe-loads.html.ini b/testing/web-platform/meta/fetch/cross-origin-resource-policy/iframe-loads.html.ini new file mode 100644 index 0000000000000..4d9e1ffbc0282 --- /dev/null +++ b/testing/web-platform/meta/fetch/cross-origin-resource-policy/iframe-loads.html.ini @@ -0,0 +1,4 @@ +[iframe-loads.html] + [Load an iframe that has Cross-Origin-Resource-Policy header] + expected: FAIL + diff --git a/testing/web-platform/meta/fetch/cross-origin-resource-policy/image-loads.html.ini b/testing/web-platform/meta/fetch/cross-origin-resource-policy/image-loads.html.ini new file mode 100644 index 0000000000000..e012bc2b3d506 --- /dev/null +++ b/testing/web-platform/meta/fetch/cross-origin-resource-policy/image-loads.html.ini @@ -0,0 +1,10 @@ +[image-loads.html] + [Cross-origin no-cors image load with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Cross-origin no-cors image load with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + + [Cross-origin no-cors image load with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + diff --git a/testing/web-platform/meta/fetch/cross-origin-resource-policy/script-loads.html.ini b/testing/web-platform/meta/fetch/cross-origin-resource-policy/script-loads.html.ini new file mode 100644 index 0000000000000..1e4b6fcf797e4 --- /dev/null +++ b/testing/web-platform/meta/fetch/cross-origin-resource-policy/script-loads.html.ini @@ -0,0 +1,10 @@ +[script-loads.html] + [Cross-origin no-cors script load with a 'Cross-Origin-Resource-Policy: same' response header.] + expected: FAIL + + [Cross-origin no-cors script load with a 'Cross-Origin-Resource-Policy: same-site' response header.] + expected: FAIL + + [Cross-origin no-cors script load with a 'Cross-Origin-Resource-Policy: same-origin' response header.] + expected: FAIL + diff --git a/testing/web-platform/meta/service-workers/service-worker/claim-with-redirect.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/claim-with-redirect.https.html.ini new file mode 100644 index 0000000000000..754d51242d8de --- /dev/null +++ b/testing/web-platform/meta/service-workers/service-worker/claim-with-redirect.https.html.ini @@ -0,0 +1,7 @@ +[claim-with-redirect.https.html] + expected: + if not debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT + [Claim works after redirection to another origin] + expected: + if not debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): TIMEOUT +