Title: [119483] trunk/LayoutTests
- Revision
- 119483
- Author
- [email protected]
- Date
- 2012-06-05 04:35:30 -0700 (Tue, 05 Jun 2012)
Log Message
Hit ASSERT when editing attribute value in Element in SVG Document
https://bugs.webkit.org/show_bug.cgi?id=88179
Reviewed by Pavel Feldman.
Test setting attribute on non HTML element.
* inspector/elements/set-attribute-non-html-expected.txt: Added.
* inspector/elements/set-attribute-non-html.svg: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (119482 => 119483)
--- trunk/LayoutTests/ChangeLog 2012-06-05 11:32:22 UTC (rev 119482)
+++ trunk/LayoutTests/ChangeLog 2012-06-05 11:35:30 UTC (rev 119483)
@@ -1,3 +1,15 @@
+2012-06-05 Rob Buis <[email protected]>
+
+ Hit ASSERT when editing attribute value in Element in SVG Document
+ https://bugs.webkit.org/show_bug.cgi?id=88179
+
+ Reviewed by Pavel Feldman.
+
+ Test setting attribute on non HTML element.
+
+ * inspector/elements/set-attribute-non-html-expected.txt: Added.
+ * inspector/elements/set-attribute-non-html.svg: Added.
+
2012-06-05 Dongwoo Im <[email protected]>
Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
Added: trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt (0 => 119483)
--- trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt (rev 0)
+++ trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt 2012-06-05 11:35:30 UTC (rev 119483)
@@ -0,0 +1,3 @@
+Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
+
+
Added: trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg (0 => 119483)
--- trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg (rev 0)
+++ trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg 2012-06-05 11:35:30 UTC (rev 119483)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+<foreignObject>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script src=""
+<script src=""
+<script><![CDATA[
+
+function test()
+{
+ var targetNode;
+
+ InspectorTest.runTestSuite([
+ function testDumpInitial(next)
+ {
+ function callback(node)
+ {
+ targetNode = node;
+ next();
+ }
+ InspectorTest.selectNodeWithId("node", callback);
+ },
+
+ function testSetAttributeText(next)
+ {
+ function callback(error)
+ {
+ next();
+ }
+ targetNode.setAttribute("foo", "foo2='baz2' foo3='baz3'", callback);
+ }
+ ]);
+}
+]]>
+</script>
+</head>
+
+<body _onload_="runTest()">
+<p>
+Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
+</p>
+
+<div id="node"></div>
+
+</body>
+</html>
+</foreignObject>
+</svg>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes