Title: [225012] trunk/LayoutTests
- Revision
- 225012
- Author
- [email protected]
- Date
- 2017-11-17 20:46:30 -0800 (Fri, 17 Nov 2017)
Log Message
Test case for r224995.
https://bugs.webkit.org/show_bug.cgi?id=179854
* fast/dom/getSVGDocument-on-object-crash-expected.txt: Added.
* fast/dom/getSVGDocument-on-object-crash.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (225011 => 225012)
--- trunk/LayoutTests/ChangeLog 2017-11-18 03:42:17 UTC (rev 225011)
+++ trunk/LayoutTests/ChangeLog 2017-11-18 04:46:30 UTC (rev 225012)
@@ -1,3 +1,11 @@
+2017-11-17 Zalan Bujtas <[email protected]>
+
+ Test case for r224995.
+ https://bugs.webkit.org/show_bug.cgi?id=179854
+
+ * fast/dom/getSVGDocument-on-object-crash-expected.txt: Added.
+ * fast/dom/getSVGDocument-on-object-crash.html: Added.
+
2017-11-17 Chris Dumez <[email protected]>
[Service Workers] Implement "Notify Controller Change" algorithm
Added: trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash-expected.txt (0 => 225012)
--- trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash-expected.txt 2017-11-18 04:46:30 UTC (rev 225012)
@@ -0,0 +1,2 @@
+CONSOLE MESSAGE: line 12: NotSupportedError: The operation is not supported.
+PASS if no crash.
Added: trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash.html (0 => 225012)
--- trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash.html (rev 0)
+++ trunk/LayoutTests/fast/dom/getSVGDocument-on-object-crash.html 2017-11-18 04:46:30 UTC (rev 225012)
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>This tests that we don't crash while calling getSVGDocument.</title>
+</head>
+<body>
+PASS if no crash.
+<object id="object"></object>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+object.getSVGDocument();
+</script>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes