Bug 1222008 - P8: Expected failure for wpt tests since we mean to reject the cors response for same-origin request. r=bkelly

Expected failure and add annotation
"issue: https://github.com/whatwg/fetch/issues/629" to track these tests for
modifying or fixing them after the spec issue is finalized.

--HG--
extra : rebase_source : 6654c4fa0239caef521c36bb5e2d8a45c43bd21c
This commit is contained in:
Tom Tung 2017-11-29 15:02:47 +08:00
Родитель c24bbe2dc8
Коммит dd03a5c40a
2 изменённых файлов: 25 добавлений и 0 удалений

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

@ -0,0 +1,20 @@
[fetch-response-taint.https.html]
type: testharness
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3D*&mode=cors&credentials=omit&" mode:"same-origin" credentials:"omit" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3D*&mode=cors&credentials=omit&" mode:"same-origin" credentials:"same-origin" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3D*&mode=cors&credentials=omit&" mode:"same-origin" credentials:"include" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443%26ACACredentials%3Dtrue&mode=cors&credentials=include&" mode:"same-origin" credentials:"omit" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443%26ACACredentials%3Dtrue&mode=cors&credentials=include&" mode:"same-origin" credentials:"same-origin" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629
[fetching url:"https://web-platform.test:8443/?url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443%26ACACredentials%3Dtrue&mode=cors&credentials=include&" mode:"same-origin" credentials:"include" should succeed.]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629

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

@ -0,0 +1,5 @@
[worker-interception.https.html]
type: testharness
[Verify worker script intercepted by cors response succeeds]
expected: FAIL # issue: https://github.com/whatwg/fetch/issues/629