2010-09-21 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2010 17:05:32 +0000 (17:05 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2010 17:05:32 +0000 (17:05 +0000)
        Reviewed by Darin Adler.

        HTML parser double quote error recovery doesn't match Firefox 3.0.x
        https://bugs.webkit.org/show_bug.cgi?id=23970

        This bug is fixed by the HTML5 parser.  Adding test.

        * fast/tokenizer/unterminated-quote-in-noscript-expected.txt: Added.
        * fast/tokenizer/unterminated-quote-in-noscript.html: Added.
        * html5lib/resources/webkit02.dat:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67962 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/tokenizer/unterminated-quote-in-noscript-expected.txt [new file with mode: 0644]
LayoutTests/fast/tokenizer/unterminated-quote-in-noscript.html [new file with mode: 0644]
LayoutTests/html5lib/resources/webkit02.dat

index dec4cdb..430ce94 100644 (file)
@@ -1,3 +1,16 @@
+2010-09-21  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Darin Adler.
+
+        HTML parser double quote error recovery doesn't match Firefox 3.0.x
+        https://bugs.webkit.org/show_bug.cgi?id=23970
+
+        This bug is fixed by the HTML5 parser.  Adding test.
+
+        * fast/tokenizer/unterminated-quote-in-noscript-expected.txt: Added.
+        * fast/tokenizer/unterminated-quote-in-noscript.html: Added.
+        * html5lib/resources/webkit02.dat:
+
 2010-09-17  Tony Chang  <tony@chromium.org>
 
         Reviewed by Adam Barth.
diff --git a/LayoutTests/fast/tokenizer/unterminated-quote-in-noscript-expected.txt b/LayoutTests/fast/tokenizer/unterminated-quote-in-noscript-expected.txt
new file mode 100644 (file)
index 0000000..b29b1b1
--- /dev/null
@@ -0,0 +1 @@
+PASS: This text is visible.
diff --git a/LayoutTests/fast/tokenizer/unterminated-quote-in-noscript.html b/LayoutTests/fast/tokenizer/unterminated-quote-in-noscript.html
new file mode 100644 (file)
index 0000000..5bb3cd0
--- /dev/null
@@ -0,0 +1,12 @@
+<html>
+<body>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+</script>
+<noscript> 
+<img src="about:blank" alt=">
+</noscript>
+<div>PASS: This text is visible.</div>
+</body>
+</html>
index d29d124..69fbe5d 100644 (file)
 |     <div>
 |       <sarcasm>
 |         <div>
+
+#data
+<html><body><img src="" border="0" alt="><div>A</div></body></html>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>