Unreviewed WPE gardening.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Jun 2018 10:19:06 +0000 (10:19 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Jun 2018 10:19:06 +0000 (10:19 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/wpe/TestExpectations
LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/security/block-test-expected.txt

index 7872c92..b4f6d37 100644 (file)
@@ -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  <zdobersek@igalia.com>
+
+        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.
index 64e1b76..3e94658 100644 (file)
@@ -1171,3 +1171,16 @@ webkit.org/b/185676 fullscreen/video-controls-rtl.html [ Failure ]
 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 ]
diff --git a/LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt b/LayoutTests/platform/wpe/http/tests/cache/disk-cache/redirect-chain-limits-expected.txt
new file mode 100644 (file)
index 0000000..d648568
--- /dev/null
@@ -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
+
diff --git a/LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt b/LayoutTests/platform/wpe/http/tests/cache/iframe-304-crash-expected.txt
new file mode 100644 (file)
index 0000000..0b5dea2
--- /dev/null
@@ -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
diff --git a/LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt b/LayoutTests/platform/wpe/http/tests/cache/network-error-during-revalidation-expected.txt
new file mode 100644 (file)
index 0000000..ffb62df
--- /dev/null
@@ -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
+
index 1110f0e..8df74f8 100644 (file)
@@ -138,17 +138,17 @@ http://255.255.255.255:6697/test.jpg - didFailLoadingWithError: <NSError domain
 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