Title: [190757] trunk/LayoutTests
Revision
190757
Author
[email protected]
Date
2015-10-08 16:19:27 -0700 (Thu, 08 Oct 2015)

Log Message

Cleaning up after revision 190339
https://bugs.webkit.org/show_bug.cgi?id=149732

Patch by Jiewen Tan <[email protected]> on 2015-10-08
Reviewed by Myles C. Maxfield.

* svg/custom/invalid-xslt-crash.svg:
* svg/custom/invalid-xslt-crash-expected.txt:
Replace render tree dump test with text dump.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (190756 => 190757)


--- trunk/LayoutTests/ChangeLog	2015-10-08 23:14:34 UTC (rev 190756)
+++ trunk/LayoutTests/ChangeLog	2015-10-08 23:19:27 UTC (rev 190757)
@@ -1,3 +1,14 @@
+2015-10-08  Jiewen Tan  <[email protected]>
+
+        Cleaning up after revision 190339
+        https://bugs.webkit.org/show_bug.cgi?id=149732
+
+        Reviewed by Myles C. Maxfield.
+
+        * svg/custom/invalid-xslt-crash.svg:
+        * svg/custom/invalid-xslt-crash-expected.txt:
+        Replace render tree dump test with text dump.
+
 2015-10-08  Ryan Haddad  <[email protected]>
 
         Marking http/tests/media/media-source/SourceBuffer-abort-updating.html as flaky

Modified: trunk/LayoutTests/svg/custom/invalid-xslt-crash-expected.txt (190756 => 190757)


--- trunk/LayoutTests/svg/custom/invalid-xslt-crash-expected.txt	2015-10-08 23:14:34 UTC (rev 190756)
+++ trunk/LayoutTests/svg/custom/invalid-xslt-crash-expected.txt	2015-10-08 23:19:27 UTC (rev 190757)
@@ -1,2 +1 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
+Pass if no crash

Modified: trunk/LayoutTests/svg/custom/invalid-xslt-crash.svg (190756 => 190757)


--- trunk/LayoutTests/svg/custom/invalid-xslt-crash.svg	2015-10-08 23:14:34 UTC (rev 190756)
+++ trunk/LayoutTests/svg/custom/invalid-xslt-crash.svg	2015-10-08 23:19:27 UTC (rev 190757)
@@ -1,7 +1,12 @@
-<?xml-stylesheet type="application/xml" href=""
 <svg xmlns="http://www.w3.org/2000/svg"
-		xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
-		xslt:version="1.0">
-  <!-- The test passes if it doesn't crash -->
-  <xslt:attribute nnnnnnnnnnname="fill">lime</xslt:attribute>
+     xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
+     xslt:version="1.0">
+    <script>
+        if (window.testRunner)
+            testRunner.dumpAsText();
+    </script>
+
+    <!-- The test passes if it doesn't crash -->
+    <xslt:attribute nnnnnnnnnnname="fill">lime</xslt:attribute>
+    <text>Pass if no crash</text>
 </svg>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to