WebKit Bugzilla
Attachment 340180 Details for
Bug 185544
: Rebase some fetch API tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-185544-20180511110740.patch (text/plain), 28.42 KB, created by
youenn fablet
on 2018-05-11 02:07:42 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
youenn fablet
Created:
2018-05-11 02:07:42 PDT
Size:
28.42 KB
patch
obsolete
>Subversion Revision: 231552 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 7263efdae78d63298f21db37ef5d8df73916bd89..738688140fa32b745b533373daa077b90e613f02 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,14 @@ >+2018-05-11 Youenn Fablet <youenn@apple.com> >+ >+ Rebase some fetch API tests >+ https://bugs.webkit.org/show_bug.cgi?id=185544 >+ >+ Unreviewed. >+ >+ * http/tests/fetch/fetching-same-resource-with-different-options-expected.txt: >+ * platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt: >+ * platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt: >+ > 2018-05-11 Youenn Fablet <youenn@apple.com> > > http/tests/appcache/deferred-events.html is flaky due to console log messages >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index c7e915727c52f4566e96527f5da65cd154dac96a..0b961c51b9919eba1b72dd46243dadb3b166d7b5 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,18 @@ >+2018-05-11 Youenn Fablet <youenn@apple.com> >+ >+ Rebase some fetch API tests >+ https://bugs.webkit.org/show_bug.cgi?id=185544 >+ >+ Unreviewed. >+ >+ * web-platform-tests/fetch/api/basic/integrity-expected.txt: >+ * web-platform-tests/fetch/api/redirect/redirect-count-expected.txt: >+ * web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt: >+ * web-platform-tests/fetch/api/redirect/redirect-location-expected.txt: >+ * web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: >+ * web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt: >+ * web-platform-tests/fetch/http-cache/partial-expected.txt: >+ > 2018-05-07 Chris Dumez <cdumez@apple.com> > > ASSERT(!childItemWithTarget(child->target())) is hit in HistoryItem::addChildItem() >diff --git a/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt b/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt >index 927b8fc50dac676a0c8f373f4d045c55a16321ca..0628474f4cd2362a8567f70dffadb7d2dbe7f8d9 100644 >--- a/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt >+++ b/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt >@@ -1,11 +1,11 @@ > CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1 due to access control checks. > CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2 due to access control checks. > CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3 due to access control checks. > CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4 due to access control checks. > > PASS Ensure cors checks work when loading in parallel the same resource with different modes > PASS Ensure cors checks work when loading successively the same resource with different modes >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >index b44f6cc105fcbcdd0141058af9523bfe9bcae9e4..60c9620ae92a5575f06494de8cb55347a37401a0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >@@ -1,7 +1,7 @@ >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. Failed integrity metadata check. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. Failed integrity metadata check. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. Failed integrity metadata check. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8801/fetch/api/resources/top.txt?pipe=header(Access-Control-Allow-Origin,*). Failed integrity metadata check. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/top.txt. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8801/fetch/api/resources/top.txt?pipe=header(Access-Control-Allow-Origin,*). > > PASS Empty string integrity > PASS SHA-256 integrity >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-expected.txt >index 8a3ce19440d23f516f1684c0ea613ce8e3054c45..d003d4a2b7f7e560639ac5263a619060c3b478dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-expected.txt >@@ -1,12 +1,12 @@ > >-FAIL Redirect 301 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 301 21 times >-FAIL Redirect 302 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 302 21 times >-FAIL Redirect 303 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 303 21 times >+FAIL Redirect 301 20 times assert_equals: Response's status is 200 expected 200 but got 301 >+FAIL Redirect 301 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 302 20 times assert_equals: Response's status is 200 expected 200 but got 302 >+FAIL Redirect 302 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 303 20 times assert_equals: Response's status is 200 expected 200 but got 303 >+FAIL Redirect 303 21 times assert_unreached: Should have rejected: undefined Reached unreachable code > FAIL Redirect 307 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 307 21 times >-FAIL Redirect 308 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 308 21 times >+FAIL Redirect 307 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 308 20 times assert_equals: Response's status is 200 expected 200 but got 308 >+FAIL Redirect 308 21 times assert_unreached: Should have rejected: undefined Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt >index 8a3ce19440d23f516f1684c0ea613ce8e3054c45..cadf78d0c348ee98f4dc772530fdd9d9510bf75a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-worker-expected.txt >@@ -1,12 +1,12 @@ > >-FAIL Redirect 301 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 301 21 times >-FAIL Redirect 302 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 302 21 times >-FAIL Redirect 303 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 303 21 times >-FAIL Redirect 307 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >+FAIL Redirect 301 20 times assert_equals: Response's status is 200 expected 200 but got 301 >+FAIL Redirect 301 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 302 20 times assert_equals: Response's status is 200 expected 200 but got 302 >+FAIL Redirect 302 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 303 20 times assert_equals: Response's status is 200 expected 200 but got 303 >+FAIL Redirect 303 21 times assert_unreached: Should have rejected: undefined Reached unreachable code >+FAIL Redirect 307 20 times assert_equals: Response's status is 200 expected 200 but got 307 > PASS Redirect 307 21 times >-FAIL Redirect 308 20 times promise_test: Unhandled rejection with value: object "TypeError: too many HTTP redirects" >-PASS Redirect 308 21 times >+FAIL Redirect 308 20 times assert_equals: Response's status is 200 expected 200 but got 308 >+FAIL Redirect 308 21 times assert_unreached: Should have rejected: undefined Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt >index beb7c1d3bc2b7aac5f46c3c25a986d171884c4ae..731ee23362f8026d2036263b5f030bf348901a9d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt >@@ -1,13 +1,23 @@ >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=301&location=invalidurl%3A due to access control checks. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=301&location=data%3A%2Cdata%2520url. Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=301&location=data%3A%2Cdata%2520url due to access control checks. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=302&location=invalidurl%3A due to access control checks. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=302&location=data%3A%2Cdata%2520url. Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=302&location=data%3A%2Cdata%2520url due to access control checks. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=303&location=invalidurl%3A due to access control checks. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=303&location=data%3A%2Cdata%2520url. Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=303&location=data%3A%2Cdata%2520url due to access control checks. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=307&location=invalidurl%3A due to access control checks. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=307&location=data%3A%2Cdata%2520url. Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=307&location=data%3A%2Cdata%2520url due to access control checks. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=308&location=invalidurl%3A due to access control checks. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=308&location=data%3A%2Cdata%2520url. Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8800/fetch/api/resources/redirect.py?redirect_status=308&location=data%3A%2Cdata%2520url due to access control checks. > > PASS Redirect 301 in "follow" mode without location > FAIL Redirect 301 in "manual" mode without location assert_equals: Response's status is 0 expected 0 but got 301 >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt >index 722716977219628ae7beb489e3eec7852dcda73e..5e0fc37e8b5ea11001c4f8b3c2c6be042b696b8b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt >@@ -1,7 +1,12 @@ >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. >+CONSOLE MESSAGE: Cross-origin redirection to invalidurl: denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > CONSOLE MESSAGE: Cross-origin redirection to data:,data%20url denied by Cross-Origin Resource Sharing policy: URL is either a non-HTTP URL or contains credentials. > > PASS Redirect 301 in "follow" mode without location >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt >index 46161f712aeb684702d94c5c24266a9573904867..55be39d4e43e2371652134f9ce24325dbe1e0e3e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt >@@ -1,10 +1,10 @@ >-CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=69f9b834-4667-495a-81ee-be9157ce49d7&content=0.9819692705225801&tag=0.7680205014062159&expires=Sat,%2001%20Sep%202018%2007:00:00%20GMT from frame with URL http://localhost:8800/fetch/api/request/request-cache-only-if-cached.html. Domains, protocols and ports must match. >+CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=ce6ffac1-30ee-4599-9a21-3c3bc8dd3811&content=0.7587677494390418&tag=0.6071735683284318&expires=Sat,%2004%20May%202019%2022:00:00%20GMT from origin http://localhost:8800. Domains, protocols and ports must match. > >-CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=1da03be6-407c-4242-bb6b-e63d0906174f&content=0.3230329514635788&date=Mon,%2018%20Sep%202017%2021:31:11%20GMT&expires=Sat,%2001%20Sep%202018%2007:00:00%20GMT from frame with URL http://localhost:8800/fetch/api/request/request-cache-only-if-cached.html. Domains, protocols and ports must match. >+CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=eee4af0a-4608-4633-a2c6-b20c8a201f2e&content=0.6883609857104735&date=Fri,%2011%20May%202018%2009:04:04%20GMT&expires=Sat,%2004%20May%202019%2022:00:00%20GMT from origin http://localhost:8800. Domains, protocols and ports must match. > >-CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=a17365b1-54f3-4581-9538-b32780b4f9d3&content=0.0720548510643727&tag=0.30203163673592615&expires=Thu,%2001%20Sep%202016%2007:00:00%20GMT from frame with URL http://localhost:8800/fetch/api/request/request-cache-only-if-cached.html. Domains, protocols and ports must match. >+CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=98e0687c-a6ad-43a7-b5d5-1f5d0b8f0f84&content=0.4297484792527445&tag=0.5302996298721283&expires=Thu,%2004%20May%202017%2022:00:00%20GMT from origin http://localhost:8800. Domains, protocols and ports must match. > >-CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=27f861b6-679a-4af6-9bf7-f08c3c7f8205&content=0.38678859974580115&date=Mon,%2018%20Sep%202017%2021:31:11%20GMT&expires=Thu,%2001%20Sep%202016%2007:00:00%20GMT from frame with URL http://localhost:8800/fetch/api/request/request-cache-only-if-cached.html. Domains, protocols and ports must match. >+CONSOLE MESSAGE: Unsafe attempt to load URL http://127.0.0.1:8800/fetch/api/request/resources/cache.py?token=15558b2a-19d7-4424-b537-e7f8ea393309&content=0.60391288329165&date=Fri,%2011%20May%202018%2009:04:04%20GMT&expires=Thu,%2004%20May%202017%2022:00:00%20GMT from origin http://localhost:8800. Domains, protocols and ports must match. > > > PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/http-cache/partial-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/http-cache/partial-expected.txt >index 248922cf8626bdd4f965ac5a8ac6fe4a408be0e9..73ca4ba0d45225dd58ec3558c0ca678f25c2afa5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/http-cache/partial-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/http-cache/partial-expected.txt >@@ -1,6 +1,10 @@ > >-FAIL HTTP cache stores partial content and reuses it. assert_equals: Response body expected "42984cca-6ce2-4a68-9cf8-4edc87e810c0" but got "01234" >-FAIL HTTP cache stores complete response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 >-FAIL HTTP cache stores partial response and serves smaller ranges from it. assert_less_than: Response used expected a number less than 2 but got 2 >+PASS HTTP cache stores partial content and reuses it. >+FAIL HTTP cache stores complete response and serves smaller ranges from it(byte-range-spec). assert_less_than: Response used expected a number less than 2 but got 2 >+FAIL HTTP cache stores complete response and serves smaller ranges from it(absent last-byte-pos). assert_less_than: Response used expected a number less than 2 but got 2 >+FAIL HTTP cache stores complete response and serves smaller ranges from it(suffix-byte-range-spec). assert_less_than: Response used expected a number less than 2 but got 2 >+FAIL HTTP cache stores partial response and serves smaller ranges from it(byte-range-spec). assert_less_than: Response used expected a number less than 2 but got 2 >+FAIL HTTP cache stores partial response and serves smaller ranges from it(absent last-byte-pos). assert_less_than: Response used expected a number less than 2 but got 2 >+FAIL HTTP cache stores partial response and serves smaller ranges from it(suffix-byte-range-spec). assert_less_than: Response used expected a number less than 2 but got 2 > FAIL HTTP cache stores partial content and completes it. assert_equals: expected (string) "bytes=5-" but got (undefined) undefined > >diff --git a/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt b/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt >index c7c90f2c2ed35a31d45146bfa7aa520aea125bfc..9c0250f30ab2ba720efce08fda864406e1e4872a 100644 >--- a/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt >+++ b/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt >@@ -7,13 +7,13 @@ PASS Fetch with POST without body > PASS Fetch with POST with text body > PASS Fetch with POST with FormData body > PASS Fetch with POST with URLSearchParams body >-FAIL Fetch with POST with Blob body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with ArrayBuffer body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Uint8Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Int8Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Float32Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Float64Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with DataView body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >+PASS Fetch with POST with Blob body >+PASS Fetch with POST with ArrayBuffer body >+PASS Fetch with POST with Uint8Array body >+PASS Fetch with POST with Int8Array body >+PASS Fetch with POST with Float32Array body >+PASS Fetch with POST with Float64Array body >+PASS Fetch with POST with DataView body > PASS Fetch with POST with Blob body with mime type > FAIL Fetch with Chicken assert_equals: Request should have header content-length: null expected (object) null but got (string) "0" > PASS Fetch with Chicken with body >diff --git a/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt b/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt >index cb9429afef5c35a82af38aab993de28e4501bc3d..0f98fba9efc2dad97fcba04ddf0b35b6f47527cf 100644 >--- a/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt >+++ b/LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt >@@ -7,13 +7,13 @@ PASS Fetch with POST without body > PASS Fetch with POST with text body > FAIL Fetch with POST with FormData body Can't find variable: FormData > PASS Fetch with POST with URLSearchParams body >-FAIL Fetch with POST with Blob body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with ArrayBuffer body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Uint8Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Int8Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Float32Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with Float64Array body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >-FAIL Fetch with POST with DataView body assert_equals: Request should have header content-type: null expected (object) null but got (string) "application/x-www-form-urlencoded" >+PASS Fetch with POST with Blob body >+PASS Fetch with POST with ArrayBuffer body >+PASS Fetch with POST with Uint8Array body >+PASS Fetch with POST with Int8Array body >+PASS Fetch with POST with Float32Array body >+PASS Fetch with POST with Float64Array body >+PASS Fetch with POST with DataView body > PASS Fetch with POST with Blob body with mime type > FAIL Fetch with Chicken assert_equals: Request should have header content-length: null expected (object) null but got (string) "0" > PASS Fetch with Chicken with body
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 185544
: 340180