Title: [261483] trunk/LayoutTests
Revision
261483
Author
[email protected]
Date
2020-05-11 11:28:23 -0700 (Mon, 11 May 2020)

Log Message

[ iOS wk2 ] http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html is failing.
https://bugs.webkit.org/show_bug.cgi?id=207583
<rdar://problem/59362947>

Reviewed by Geoffrey Garen.

Use in-test DumpJSConsoleLogInStdErr instead of TestExpectations to make sure this option is set for iOS.

* TestExpectations:
* http/wpt/beacon/cors/cors-preflight-blob-failure.html:
* http/wpt/beacon/cors/cors-preflight-blob-success.html:
* http/wpt/beacon/cors/cors-preflight-cookie.html:
* http/wpt/beacon/cors/cors-preflight-redirect-failure.html:
* http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html:
* http/wpt/beacon/cors/cors-preflight-redirect-success.html:
* http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
Update test to make sure that stderr console log lines will print whether the first load is failing or the second.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (261482 => 261483)


--- trunk/LayoutTests/ChangeLog	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/ChangeLog	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,3 +1,23 @@
+2020-05-11  Youenn Fablet  <[email protected]>
+
+        [ iOS wk2 ] http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html is failing.
+        https://bugs.webkit.org/show_bug.cgi?id=207583
+        <rdar://problem/59362947>
+
+        Reviewed by Geoffrey Garen.
+
+        Use in-test DumpJSConsoleLogInStdErr instead of TestExpectations to make sure this option is set for iOS.
+
+        * TestExpectations:
+        * http/wpt/beacon/cors/cors-preflight-blob-failure.html:
+        * http/wpt/beacon/cors/cors-preflight-blob-success.html:
+        * http/wpt/beacon/cors/cors-preflight-cookie.html:
+        * http/wpt/beacon/cors/cors-preflight-redirect-failure.html:
+        * http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html:
+        * http/wpt/beacon/cors/cors-preflight-redirect-success.html:
+        * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
+        Update test to make sure that stderr console log lines will print whether the first load is failing or the second.
+
 2020-05-11  Wenson Hsieh  <[email protected]>
 
         REGRESSION (r253267): issues on touchstart/touchend/touchmove (pointerdown/pointerup/pointermove) events

Modified: trunk/LayoutTests/TestExpectations (261482 => 261483)


--- trunk/LayoutTests/TestExpectations	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/TestExpectations	2020-05-11 18:28:23 UTC (rev 261483)
@@ -2267,14 +2267,6 @@
 # Ignore MIME type refused console messages when comparing nosniff tests results as their ordering is non-deterministic.
 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/sandbox-ascii-case-insensitive.html [ DumpJSConsoleLogInStdErr ]
 
-http/wpt/beacon/cors/cors-preflight-blob-failure.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/cors-preflight-blob-success.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/cors-preflight-cookie.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/cors-preflight-redirect-failure.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/cors-preflight-redirect-success.html [ DumpJSConsoleLogInStdErr ]
-http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html [ DumpJSConsoleLogInStdErr ]
-
 http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only.html [ Pass Failure ]
 
 # Imported css-text test suite from WPT

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-failure.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-failure.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-failure.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-success.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-success.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-blob-success.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-cookie.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-cookie.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-cookie.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-failure.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-failure.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-failure.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-from-crossorigin-to-sameorigin.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-success.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-success.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/cors-preflight-redirect-success.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">

Modified: trunk/LayoutTests/http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html (261482 => 261483)


--- trunk/LayoutTests/http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html	2020-05-11 17:54:33 UTC (rev 261482)
+++ trunk/LayoutTests/http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html	2020-05-11 18:28:23 UTC (rev 261483)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
   <head>
     <meta charset="utf-8">
@@ -31,7 +31,7 @@
 
   promise_test(async function(test) {
     var id = "ca33c073-1cf0-41e5-bbd4-55969fb1a6c7";
-    var testUrl = testBase + "beacon-preflight.py?allowCors=1&cmd=put&id=" + id;
+    var testUrl = testBase + "beacon-preflight.py?test1&allowCors=1&cmd=put&id=" + id;
     if (window.testRunner) {
       window.testRunner.setAllowsAnySSLCertificate(false);
       window.testRunner.terminateNetworkProcess();
@@ -46,7 +46,7 @@
 
   promise_test(async function(test) {
     var id = self.token();
-    var testUrl = testBase + "beacon-preflight.py?allowCors=1&cmd=put&id=" + id;
+    var testUrl = testBase + "beacon-preflight.py?test2&allowCors=1&cmd=put&id=" + id;
     if (window.testRunner) {
       window.testRunner.setAllowsAnySSLCertificate(true);
       window.testRunner.terminateNetworkProcess();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to