Title: [242612] trunk/LayoutTests
Revision
242612
Author
[email protected]
Date
2019-03-07 14:17:40 -0800 (Thu, 07 Mar 2019)

Log Message

REGRESSION: ( r231040 ) Layout Test http/tests/security/xss-DENIED-xsl-external-entity.xml is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=189724
<rdar://problem/48422520>

Reviewed by Geoffrey Garen.

Copy the flaky test into a new test for which we use DumpJSConsoleLogInStdErr.
This should make the new test no longer flaky in WK1.
Run this new test for WK1 only and run the original test for WK2 only.

* TestExpectations:
* http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt: Added.
* http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml: Added.
* platform/ios-wk1/TestExpectations:
* platform/mac-wk1/TestExpectations:
* platform/wk2/TestExpectations:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (242611 => 242612)


--- trunk/LayoutTests/ChangeLog	2019-03-07 21:50:35 UTC (rev 242611)
+++ trunk/LayoutTests/ChangeLog	2019-03-07 22:17:40 UTC (rev 242612)
@@ -1,3 +1,22 @@
+2019-03-07  Youenn Fablet  <[email protected]>
+
+        REGRESSION: ( r231040 ) Layout Test http/tests/security/xss-DENIED-xsl-external-entity.xml is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=189724
+        <rdar://problem/48422520>
+
+        Reviewed by Geoffrey Garen.
+
+        Copy the flaky test into a new test for which we use DumpJSConsoleLogInStdErr.
+        This should make the new test no longer flaky in WK1.
+        Run this new test for WK1 only and run the original test for WK2 only.
+
+        * TestExpectations:
+        * http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt: Added.
+        * http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml: Added.
+        * platform/ios-wk1/TestExpectations:
+        * platform/mac-wk1/TestExpectations:
+        * platform/wk2/TestExpectations:
+
 2019-03-07  Devin Rousso  <[email protected]>
 
         Web Inspector: Protocol: add type checking when commands are called via invoke

Modified: trunk/LayoutTests/TestExpectations (242611 => 242612)


--- trunk/LayoutTests/TestExpectations	2019-03-07 21:50:35 UTC (rev 242611)
+++ trunk/LayoutTests/TestExpectations	2019-03-07 22:17:40 UTC (rev 242612)
@@ -56,6 +56,8 @@
 editing/pasteboard/ios [ Skip ]
 editing/pasteboard/mac [ Skip ]
 
+http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml [ Skip ]
+
 # window.showModalDialog is only tested in DumpRenderTree on Mac.
 editing/execCommand/show-modal-dialog-during-execCommand.html [ Skip ]
 http/tests/security/cross-origin-modal-dialog-base.html [ Skip ]

Added: trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt (0 => 242612)


--- trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt	2019-03-07 22:17:40 UTC (rev 242612)
@@ -0,0 +1,2 @@
+This test includes a cross-origin external entity. It passes if the load fails and thus there is no text below this line.
+

Added: trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml (0 => 242612)


--- trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml	                        (rev 0)
+++ trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml	2019-03-07 22:17:40 UTC (rev 242612)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
+<?xml-stylesheet type="text/xsl" href=""
+<xml>
+FAIL: XML stylesheet did not run.
+</xml>

Modified: trunk/LayoutTests/platform/ios-wk1/TestExpectations (242611 => 242612)


--- trunk/LayoutTests/platform/ios-wk1/TestExpectations	2019-03-07 21:50:35 UTC (rev 242611)
+++ trunk/LayoutTests/platform/ios-wk1/TestExpectations	2019-03-07 22:17:40 UTC (rev 242612)
@@ -3,6 +3,7 @@
 # See http://trac.webkit.org/wiki/TestExpectations for more information on this file.
 
 editing/input/focus-change-with-marked-text.html [ Pass ]
+http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml [ Pass ]
 
 # No service worker implementation for WK1
 imported/w3c/web-platform-tests/service-workers [ Skip ]
@@ -1773,7 +1774,7 @@
 http/tests/navigation/metaredirect-subframeload.html [ Crash Pass ]
 http/tests/security/xss-DENIED-xml-external-entity.xhtml [ Pass Failure ]
 http/tests/security/xss-DENIED-xsl-external-entity-redirect.xml [ Pass Failure ]
-http/tests/security/xss-DENIED-xsl-external-entity.xml [ Pass Failure ]
+http/tests/security/xss-DENIED-xsl-external-entity.xml [ Skip ]
 imported/blink/compositing/ancestor-painted-layer-should-appear.html [ Pass ImageOnlyFailure ]
 imported/blink/compositing/invisible-subtree-compositing-and-preserves-3d.html [ Pass ImageOnlyFailure ]
 imported/blink/compositing/will-change/stacking-context-creation.html [ Pass ImageOnlyFailure ]

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (242611 => 242612)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2019-03-07 21:50:35 UTC (rev 242611)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2019-03-07 22:17:40 UTC (rev 242612)
@@ -28,6 +28,8 @@
 fast/shadow-dom/dragging-element-inside-shadow-tree.html [ Pass ]
 http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html [ Pass ]
 
+http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml [ Pass ]
+
 #//////////////////////////////////////////////////////////////////////////////////////////
 # End platform-specific directories.
 #//////////////////////////////////////////////////////////////////////////////////////////
@@ -92,6 +94,7 @@
 webkit.org/b/178272 [ Sierra ] http/tests/security/canvas-remote-read-remote-video-localhost.html [ Pass Timeout ]
 webkit.org/b/178272 [ Sierra ] http/tests/security/canvas-remote-read-remote-video-redirect.html [ Pass Timeout ]
 webkit.org/b/178272 [ Sierra ] http/tests/security/video-cross-origin-caching.html [ Pass Timeout ]
+http/tests/security/xss-DENIED-xsl-external-entity.xml [ Skip ]
 
 # rdar://problem/20001985
 [ Sierra ] http/tests/xmlhttprequest/range-test.html [ Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to