Title: [162800] trunk/LayoutTests
- Revision
- 162800
- Author
- [email protected]
- Date
- 2014-01-26 02:26:44 -0800 (Sun, 26 Jan 2014)
Log Message
ASSERTION FAILED: !m_hasPendingCharacter
https://bugs.webkit.org/show_bug.cgi?id=110118
Patch by Benjamin Poulain <[email protected]> on 2014-01-26
Reviewed by Sam Weinig.
Add more test coverage for r144552 with a use case that use to hit the assertion.
* fast/dom/xml-parser-entity-in-attribute-value-expected.txt: Added.
* fast/dom/xml-parser-entity-in-attribute-value.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (162799 => 162800)
--- trunk/LayoutTests/ChangeLog 2014-01-26 08:39:12 UTC (rev 162799)
+++ trunk/LayoutTests/ChangeLog 2014-01-26 10:26:44 UTC (rev 162800)
@@ -1,3 +1,15 @@
+2014-01-26 Benjamin Poulain <[email protected]>
+
+ ASSERTION FAILED: !m_hasPendingCharacter
+ https://bugs.webkit.org/show_bug.cgi?id=110118
+
+ Reviewed by Sam Weinig.
+
+ Add more test coverage for r144552 with a use case that use to hit the assertion.
+
+ * fast/dom/xml-parser-entity-in-attribute-value-expected.txt: Added.
+ * fast/dom/xml-parser-entity-in-attribute-value.html: Added.
+
2014-01-26 Joseph Pecoraro <[email protected]>
Web Inspector: Move InspectorDebuggerAgent into _javascript_Core
Added: trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value-expected.txt (0 => 162800)
--- trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value-expected.txt 2014-01-26 10:26:44 UTC (rev 162800)
@@ -0,0 +1,11 @@
+This test verifies the parsing of unicode html entities used as an invalid style attribute.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS paragraphElement.getAttribute("style") is "0"
+PASS paragraphElement.style.cssText is ""
+PASS successfullyParsed is true
+
+TEST COMPLETE
+x
Added: trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value.html (0 => 162800)
--- trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value.html (rev 0)
+++ trunk/LayoutTests/fast/dom/xml-parser-entity-in-attribute-value.html 2014-01-26 10:26:44 UTC (rev 162800)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <script src=""
+ <title>Unicode XML character entities used for the style attribute of an element's style.</title>
+ </head>
+ <body>
+ <p id=target style="0񶔬">x</p>
+ <script>
+ description("This test verifies the parsing of unicode html entities used as an invalid style attribute.");
+
+ var paragraphElement = document.getElementById('target');
+ shouldBeEqualToString('paragraphElement.getAttribute("style")', '0\ud999\udd2c');
+ shouldBeEqualToString('paragraphElement.style.cssText', '');
+ </script>
+ <script src=""
+ </body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes