Diff
Modified: trunk/LayoutTests/ChangeLog (252426 => 252427)
--- trunk/LayoutTests/ChangeLog 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/ChangeLog 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,3 +1,13 @@
+2019-11-13 Youenn Fablet <[email protected]>
+
+ Several XHR and CORS tests are flaky due to inconsistent order of console messages
+ https://bugs.webkit.org/show_bug.cgi?id=179607
+
+ Reviewed by Alex Christensen.
+
+ Use DumpJSConsoleLogInStdErr to remove console lines.
+ * TestExpectations:
+
2019-11-13 Devin Rousso <[email protected]>
Web Inspector: inspector/model/remote-object-weak-collection.html is failing
Modified: trunk/LayoutTests/TestExpectations (252426 => 252427)
--- trunk/LayoutTests/TestExpectations 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/TestExpectations 2019-11-13 21:31:26 UTC (rev 252427)
@@ -486,8 +486,8 @@
imported/w3c/web-platform-tests/xhr/send-authentication-cors-basic-setrequestheader.htm [ DumpJSConsoleLogInStdErr ]
imported/w3c/web-platform-tests/cors/request-headers.htm [ DumpJSConsoleLogInStdErr ]
imported/w3c/web-platform-tests/xhr/event-error-order.sub.html [ DumpJSConsoleLogInStdErr ]
+imported/w3c/web-platform-tests/xhr/event-error.sub.html [ DumpJSConsoleLogInStdErr ]
-imported/w3c/web-platform-tests/xhr/event-error.sub.html [ Failure ]
imported/w3c/web-platform-tests/xhr/send-authentication-basic-setrequestheader-existing-session.htm [ Failure ]
imported/w3c/web-platform-tests/xhr/send-authentication-competing-names-passwords.htm [ Failure ]
imported/w3c/web-platform-tests/xhr/preserve-ua-header-on-redirect.htm [ Failure ]
@@ -718,17 +718,16 @@
imported/w3c/web-platform-tests/payment-request [ Skip ]
imported/w3c/web-platform-tests/xhr/send-redirect-bogus-sync.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179607 imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179607 imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-header-denied.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-method-denied.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-not-supported.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-header-denied.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-method-denied.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-not-supported.htm [ DumpJSConsoleLogInStdErr ]
+webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/send-conditional-cors.htm [ DumpJSConsoleLogInStdErr ]
-webkit.org/b/179607 imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async.htm [ Pass Failure ]
-webkit.org/b/179607 imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin.htm [ Pass Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-header-denied.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-method-denied.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-async-not-supported.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-header-denied.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-method-denied.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-not-supported.htm [ Failure ]
-webkit.org/b/179608 imported/w3c/web-platform-tests/xhr/send-conditional-cors.htm [ Failure ]
-webkit.org/b/179611 imported/w3c/web-platform-tests/xhr/send-entity-body-document.htm [ Pass Failure ]
webkit.org/b/184066 imported/w3c/web-platform-tests/IndexedDB/nested-cloning-large-multiple.html [ Skip ]
webkit.org/b/184066 imported/w3c/web-platform-tests/IndexedDB/nested-cloning-large.html [ Skip ]
webkit.org/b/184066 imported/w3c/web-platform-tests/IndexedDB/nested-cloning-small.html [ Skip ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,3 +1,21 @@
+2019-11-13 Youenn Fablet <[email protected]>
+
+ Several XHR and CORS tests are flaky due to inconsistent order of console messages
+ https://bugs.webkit.org/show_bug.cgi?id=179607
+
+ Reviewed by Alex Christensen.
+
+ * web-platform-tests/xhr/access-control-and-redirects-async-expected.txt:
+ * web-platform-tests/xhr/access-control-and-redirects-async-same-origin-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-async-header-denied-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-async-method-denied-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-async-not-supported-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-sync-header-denied-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-sync-method-denied-expected.txt:
+ * web-platform-tests/xhr/access-control-preflight-sync-not-supported-expected.txt:
+ * web-platform-tests/xhr/event-error.sub-expected.txt:
+ * web-platform-tests/xhr/send-conditional-cors-expected.txt:
+
2019-11-13 Rob Buis <[email protected]>
Support stale-while-revalidate cache strategy
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,13 +1,3 @@
-CONSOLE MESSAGE: Cross-origin redirection to http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py denied by Cross-Origin Resource Sharing policy: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/redirect-cors.py?location=http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py& due to access control checks.
-CONSOLE MESSAGE: Cross-origin redirection to http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py denied by Cross-Origin Resource Sharing policy: redirection URL http://username:[email protected]:8800/xhr/resources/access-control-basic-allow-star.py has credentials
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/redirect-cors.py?location=http://username:[email protected]:8800/xhr/resources/access-control-basic-allow-star.py&allow_origin=true due to access control checks.
-CONSOLE MESSAGE: Cross-origin redirection to foo://bar.cgi denied by Cross-Origin Resource Sharing policy: not allowed to follow a cross-origin CORS redirection with non CORS scheme
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/redirect-cors.py?location=foo://bar.cgi&allow_origin=true due to access control checks.
-CONSOLE MESSAGE: Preflight response is not successful
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/redirect-cors.py?location=http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py&allow_origin=true&redirect_preflight=true due to access control checks.
-CONSOLE MESSAGE: Preflight response is not successful
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/redirect-cors.py?location=http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py&allow_origin=true&allow_header=x-test&redirect_preflight=true due to access control checks.
PASS Request is redirected without CORS headers to a response with Access-Control-Allow-Origin=*
PASS Request is redirected to a response with Access-Control-Allow-Origin=*
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-and-redirects-async-same-origin-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,7 +1,3 @@
-CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-star.py due to access control checks.
-CONSOLE MESSAGE: Credentials flag is true, but Access-Control-Allow-Credentials is not "true".
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/access-control-basic-allow-no-credentials.py due to access control checks.
PASS Request without credentials is redirected to a cross-origin response with Access-Control-Allow-Origin=* (with star)
PASS Request with credentials is redirected to a cross-origin response with Access-Control-Allow-Origin=* (with star)
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-header-denied-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-header-denied-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-header-denied-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=e3414997-b8d9-44c5-ac25-b008d36bee33&command=header. Request header field x-test is not allowed by Access-Control-Allow-Headers.
PASS Async request denied at preflight
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-method-denied-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-method-denied-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-method-denied-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=1962aedd-a0e5-4366-a927-abb4eb2273ff&command=method. Method DELETE is not allowed by Access-Control-Allow-Methods.
PASS Async request denied at preflight
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-not-supported-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-not-supported-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-async-not-supported-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=9eb4bbeb-4ea2-4594-a908-491a02378bd9. Method PUT is not allowed by Access-Control-Allow-Methods.
PASS Async PUT request denied at preflight
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-header-denied-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-header-denied-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-header-denied-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 26: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=aaa7efac-176b-4187-a85f-9d06157bf792&command=header. Request header field x-test is not allowed by Access-Control-Allow-Headers.
PASS Sync request denied at preflight
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-method-denied-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-method-denied-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-method-denied-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 25: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=b70429f0-0dd0-44b0-a5e8-dc0b7d355e72&command=method. Method DELETE is not allowed by Access-Control-Allow-Methods.
PASS Sync request denied at preflight because of non-CORS-safelisted method
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-not-supported-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-not-supported-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/access-control-preflight-sync-not-supported-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 25: XMLHttpRequest cannot load http://127.0.0.1:8800/XMLHttpRequest/resources/access-control-preflight-denied.py?token=84ccb17b-d065-4a34-b161-0855f4d57d96. Method PUT is not allowed by Access-Control-Allow-Methods.
PASS Sync PUT request denied at preflight
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/event-error.sub-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/event-error.sub-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/event-error.sub-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,5 +1,4 @@
-Blocked access to external URL http://nonexistent-origin.localhost:8800/
-CONSOLE MESSAGE: line 22: XMLHttpRequest cannot load http://nonexistent-origin.localhost:8800/ due to access control checks.
+Blocked access to external URL http://nonexistent.localhost:8800/
PASS XMLHttpRequest Test: event - error
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-conditional-cors-expected.txt (252426 => 252427)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-conditional-cors-expected.txt 2019-11-13 21:11:09 UTC (rev 252426)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-conditional-cors-expected.txt 2019-11-13 21:31:26 UTC (rev 252427)
@@ -1,5 +1,3 @@
-CONSOLE MESSAGE: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8800/xhr/resources/conditional.py?tag=0.017259906889160348 due to access control checks.
PASS 304 without appropriate CORS header
PASS 304 with appropriate CORS header