Modified: trunk/LayoutTests/ChangeLog (232463 => 232464)
--- trunk/LayoutTests/ChangeLog 2018-06-04 07:42:43 UTC (rev 232463)
+++ trunk/LayoutTests/ChangeLog 2018-06-04 10:19:06 UTC (rev 232464)
@@ -2,6 +2,22 @@
Unreviewed WPE gardening.
+ Adding platform-specific baselines for three http/tests/cache/ tests.
+ Updating baseline for the security/block-test.html test.
+ Adding failure expectations for a few other failures, linking to existing bugs.
+
+ * platform/wpe/TestExpectations:
+ * platform/wpe/http/tests/cache: Added.
+ * platform/wpe/http/tests/cache/disk-cache: Added.
+ * platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt: Added.
+ * platform/wpe/http/tests/cache/iframe-304-crash-expected.txt: Added.
+ * platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt: Added.
+ * platform/wpe/security/block-test-expected.txt:
+
+2018-06-04 Zan Dobersek <[email protected]>
+
+ Unreviewed WPE gardening.
+
Manage the W3C test failures by rebaselining what can be rebaselined, and adding
failing expectations for the rest of the failures. This mostly addresses the
new CSS Text tests that were imported lately, as well as changes in console logging.
Modified: trunk/LayoutTests/platform/wpe/TestExpectations (232463 => 232464)
--- trunk/LayoutTests/platform/wpe/TestExpectations 2018-06-04 07:42:43 UTC (rev 232463)
+++ trunk/LayoutTests/platform/wpe/TestExpectations 2018-06-04 10:19:06 UTC (rev 232464)
@@ -1171,3 +1171,16 @@
webkit.org/b/185676 fullscreen/full-screen-plugin.html [ Timeout ]
webkit.org/b/186035 transitions/interrupted-transition-hardware.html [ ImageOnlyFailure ]
+
+webkit.org/b/185714 js/intl-numberformat-format-to-parts.html [ Failure ]
+webkit.org/b/185714 js/intl-pluralrules.html [ Failure ]
+
+webkit.org/b/184779 transitions/clip-path-path-transitions.html [ Failure ]
+webkit.org/b/184779 transitions/clip-path-transitions.html [ Failure ]
+
+webkit.org/b/186141 svg/dom/SVGGeometry-isPointInStroke.xhtml [ Failure ]
+
+webkit.org/b/185254 http/tests/cache/disk-cache/redirect-chain-limits.html [ Failure ]
+
+webkit.org/b/184501 imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures.worker.html [ Failure ]
+webkit.org/b/184501 imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes.worker.html [ Failure ]
Added: trunk/LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt (0 => 232464)
--- trunk/LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt 2018-06-04 10:19:06 UTC (rev 232464)
@@ -0,0 +1,33 @@
+CONSOLE MESSAGE: Load cannot follow more than 20 redirections
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/cache/disk-cache/resources/redirect-chain.php?length=20&uniqueId=807086901171&random=2016400226 due to access control checks.
+CONSOLE MESSAGE: Load cannot follow more than 20 redirections
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/cache/disk-cache/resources/redirect-chain.php?length=20&uniqueId=807086901171&random=1493541360 due to access control checks.
+Test the limits of redirect chain length.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Redirect chain length: 1
+Response status code: 200
+Response source: Disk cache
+
+Redirect chain length: 5
+Response status code: 200
+Response source: Disk cache
+
+Redirect chain length: 6
+Response status code: 200
+Response source: Network
+
+Redirect chain length: 20
+Response status code: 200
+Response source: Network
+
+Redirect chain length: 40
+Response status code: 0
+Response source: Null response
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt (0 => 232464)
--- trunk/LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt 2018-06-04 10:19:06 UTC (rev 232464)
@@ -0,0 +1,8 @@
+http://127.0.0.1:8000/cache/iframe-304-crash.html - didFinishLoading
+http://127.0.0.1:8000/cache/resources/iframe304.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/cache/resources/iframe304.php, main document URL http://127.0.0.1:8000/cache/iframe-304-crash.html, http method GET> redirectResponse (null)
+http://127.0.0.1:8000/cache/resources/iframe304.php - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/cache/resources/iframe304.php, http status code 200>
+http://127.0.0.1:8000/cache/resources/iframe304.php - didFinishLoading
+http://127.0.0.1:8000/cache/resources/iframe304.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/cache/resources/iframe304.php, main document URL http://127.0.0.1:8000/cache/iframe-304-crash.html, http method GET> redirectResponse (null)
+http://127.0.0.1:8000/cache/resources/iframe304.php - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/cache/resources/iframe304.php, http status code 304>
+http://127.0.0.1:8000/cache/resources/iframe304.php - didFinishLoading
+
Added: trunk/LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt (0 => 232464)
--- trunk/LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt 2018-06-04 10:19:06 UTC (rev 232464)
@@ -0,0 +1,11 @@
+CONSOLE MESSAGE: Load cannot follow more than 20 redirections
+CONSOLE MESSAGE: Cannot load image http://127.0.0.1:8000/resources/network-simulator.php?test=cache-network-error-during-revalidation&path=/misc/resources/compass.jpg&allow-caching=1 due to access control checks.
+Test that failing revalidation with a network error does not cause a crash.
+
+Enabling network
+Loading an image once to cache it
+Disabling network
+Reloading to revalidate the image
+Enabling network
+Done
+
Modified: trunk/LayoutTests/platform/wpe/security/block-test-expected.txt (232463 => 232464)
--- trunk/LayoutTests/platform/wpe/security/block-test-expected.txt 2018-06-04 07:42:43 UTC (rev 232463)
+++ trunk/LayoutTests/platform/wpe/security/block-test-expected.txt 2018-06-04 10:19:06 UTC (rev 232464)
@@ -138,17 +138,17 @@
http://255.255.255.255:65535/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:65535/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
http://255.255.255.255:65535/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:65535/test.jpg">
http://255.255.255.255:0/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:0/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-http://255.255.255.255:0/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255:0/test.jpg">
+http://255.255.255.255:0/test.jpg - didFailLoadingWithError: <NSError domain soup_http_error_quark, code 4, failing URL "http://255.255.255.255/test.jpg">
http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255/test.jpg">
+http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain soup_http_error_quark, code 4, failing URL "http://255.255.255.255/test.jpg">
http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255/test.jpg">
+http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain soup_http_error_quark, code 4, failing URL "http://255.255.255.255/test.jpg">
ftp://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255/test.jpg">
+ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 101, failing URL "ftp://255.255.255.255/test.jpg">
ftp://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255/test.jpg">
+ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 101, failing URL "ftp://255.255.255.255/test.jpg">
ftp://255.255.255.255:22/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255:22/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
-ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255:22/test.jpg">
+ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 101, failing URL "ftp://255.255.255.255:22/test.jpg">
This test attempts to change the src of an IMG tag to all black listed ports to confirm that WebKit returns the correct error for them - blocked instead of cannot find. It also tries the FTP ports for exemptions. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree