[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
abarth at webkit.org
abarth at webkit.org
Wed Dec 22 11:22:41 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b2eaf214701d4467c348b0e84e99960e0994494c
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jul 21 01:02:04 2010 +0000
2010-07-20 Adam Barth <abarth at webkit.org>
Reviewed by Sam Weinig.
Import HTML5 parsing tests from html5test.com
https://bugs.webkit.org/show_bug.cgi?id=42713
* html5lib/resources/html5test-com.dat: Added.
* html5lib/runner-expected-html5.txt:
* html5lib/runner-expected.txt:
* html5lib/runner.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index bbeb6b0..ea89d15 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2010-07-20 Adam Barth <abarth at webkit.org>
+
+ Reviewed by Sam Weinig.
+
+ Import HTML5 parsing tests from html5test.com
+ https://bugs.webkit.org/show_bug.cgi?id=42713
+
+ * html5lib/resources/html5test-com.dat: Added.
+ * html5lib/runner-expected-html5.txt:
+ * html5lib/runner-expected.txt:
+ * html5lib/runner.html:
+
2010-07-20 Gavin Peters <gavinp at chromium.org>
Reviewed by Adam Barth.
diff --git a/LayoutTests/html5lib/resources/html5test-com.dat b/LayoutTests/html5lib/resources/html5test-com.dat
new file mode 100644
index 0000000..d7cb71d
--- /dev/null
+++ b/LayoutTests/html5lib/resources/html5test-com.dat
@@ -0,0 +1,246 @@
+#data
+<div<div>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <div<div>
+
+#data
+<div foo<bar=''>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| foo<bar=""
+
+#data
+<div foo=`bar`>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| foo="`bar`"
+
+#data
+<div \"foo=''>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+| \"foo=""
+
+#data
+<a href='\nbar'></a>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <a>
+| href="\nbar"
+
+#data
+<!DOCTYPE html>
+#errors
+#document
+| <!DOCTYPE html>
+| <html>
+| <head>
+| <body>
+
+#data
+⟨⟩
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| "⟨⟩"
+
+#data
+'
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| "'"
+
+#data
+ⅈ
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| "ⅈ"
+
+#data
+𝕂
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| "𝕂"
+
+#data
+∉
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| "∉"
+
+#data
+<?import namespace="foo" implementation="#bar">
+#errors
+#document
+| <!-- ?import namespace="foo" implementation="#bar" -->
+| <html>
+| <head>
+| <body>
+
+#data
+<!--foo--bar-->
+#errors
+#document
+| <!-- foo--bar -->
+| <html>
+| <head>
+| <body>
+
+#data
+<![CDATA[x]]>
+#errors
+#document
+| <!-- [CDATA[x]] -->
+| <html>
+| <head>
+| <body>
+
+#data
+<textarea><!--</textarea>--></textarea>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <textarea>
+| "<!--"
+| "-->"
+
+#data
+<textarea><!--</textarea>-->
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <textarea>
+| "<!--"
+| "-->"
+
+#data
+<style><!--</style>--></style>
+#errors
+#document
+| <html>
+| <head>
+| <style>
+| "<!--"
+| <body>
+| "-->"
+
+#data
+<style><!--</style>-->
+#errors
+#document
+| <html>
+| <head>
+| <style>
+| "<!--"
+| <body>
+| "-->"
+
+#data
+<ul><li>A </li> <li>B</li></ul>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <ul>
+| <li>
+| "A "
+| " "
+| <li>
+| "B"
+
+#data
+<table><form><input type=hidden><input></form><div></div></table>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <input>
+| <div>
+| <table>
+| <form>
+| <input>
+| type="hidden"
+
+#data
+<i>A<b>B<p></i>C</b>D
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <i>
+| "A"
+| <b>
+| "B"
+| <b>
+| <p>
+| <b>
+| <i>
+| "C"
+| "D"
+
+#data
+<div></div>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <div>
+
+#data
+<svg></svg>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <svg svg>
+
+#data
+<math></math>
+#errors
+#document
+| <html>
+| <head>
+| <body>
+| <math math>
diff --git a/LayoutTests/html5lib/runner-expected-html5.txt b/LayoutTests/html5lib/runner-expected-html5.txt
index d58b2fb..504b278 100644
--- a/LayoutTests/html5lib/runner-expected-html5.txt
+++ b/LayoutTests/html5lib/runner-expected-html5.txt
@@ -172,6 +172,87 @@ resources/doctype01.dat: PASS
resources/scriptdata01.dat: PASS
+resources/html5test-com.dat:
+7
+9
+10
+11
+20
+
+Test 7 of 24 in resources/html5test-com.dat failed. Input:
+⟨⟩
+Got:
+| <html>
+| <head>
+| <body>
+| "〈〉"
+Expected:
+| <html>
+| <head>
+| <body>
+| "⟨⟩"
+
+Test 9 of 24 in resources/html5test-com.dat failed. Input:
+ⅈ
+Got:
+| <html>
+| <head>
+| <body>
+| "ⅈ"
+Expected:
+| <html>
+| <head>
+| <body>
+| "ⅈ"
+
+Test 10 of 24 in resources/html5test-com.dat failed. Input:
+𝕂
+Got:
+| <html>
+| <head>
+| <body>
+| "𝕂"
+Expected:
+| <html>
+| <head>
+| <body>
+| "𝕂"
+
+Test 11 of 24 in resources/html5test-com.dat failed. Input:
+∉
+Got:
+| <html>
+| <head>
+| <body>
+| "∉"
+Expected:
+| <html>
+| <head>
+| <body>
+| "∉"
+
+Test 20 of 24 in resources/html5test-com.dat failed. Input:
+<table><form><input type=hidden><input></form><div></div></table>
+Got:
+| <html>
+| <head>
+| <body>
+| <div>
+| <table>
+| <form>
+| <input>
+| type="hidden"
+| <input>
+Expected:
+| <html>
+| <head>
+| <body>
+| <input>
+| <div>
+| <table>
+| <form>
+| <input>
+| type="hidden"
resources/entities01.dat:
2
5
diff --git a/LayoutTests/html5lib/runner-expected.txt b/LayoutTests/html5lib/runner-expected.txt
index 834e8cb..9c5e6a5 100644
--- a/LayoutTests/html5lib/runner-expected.txt
+++ b/LayoutTests/html5lib/runner-expected.txt
@@ -4610,6 +4610,147 @@ Expected:
| "]>"
resources/scriptdata01.dat: PASS
+resources/html5test-com.dat:
+7
+9
+10
+11
+20
+21
+23
+24
+
+Test 7 of 24 in resources/html5test-com.dat failed. Input:
+⟨⟩
+Got:
+| <html>
+| <head>
+| <body>
+| "〈〉"
+Expected:
+| <html>
+| <head>
+| <body>
+| "⟨⟩"
+
+Test 9 of 24 in resources/html5test-com.dat failed. Input:
+ⅈ
+Got:
+| <html>
+| <head>
+| <body>
+| "ⅈ"
+Expected:
+| <html>
+| <head>
+| <body>
+| "ⅈ"
+
+Test 10 of 24 in resources/html5test-com.dat failed. Input:
+𝕂
+Got:
+| <html>
+| <head>
+| <body>
+| "𝕂"
+Expected:
+| <html>
+| <head>
+| <body>
+| "𝕂"
+
+Test 11 of 24 in resources/html5test-com.dat failed. Input:
+∉
+Got:
+| <html>
+| <head>
+| <body>
+| "∉"
+Expected:
+| <html>
+| <head>
+| <body>
+| "∉"
+
+Test 20 of 24 in resources/html5test-com.dat failed. Input:
+<table><form><input type=hidden><input></form><div></div></table>
+Got:
+| <html>
+| <head>
+| <body>
+| <input>
+| type="hidden"
+| <input>
+| <div>
+| <table>
+| <form>
+| <tbody>
+Expected:
+| <html>
+| <head>
+| <body>
+| <input>
+| <div>
+| <table>
+| <form>
+| <input>
+| type="hidden"
+
+Test 21 of 24 in resources/html5test-com.dat failed. Input:
+<i>A<b>B<p></i>C</b>D
+Got:
+| <html>
+| <head>
+| <body>
+| <i>
+| "A"
+| <b>
+| "B"
+| <b>
+| <p>
+| <b>
+| "C"
+| "D"
+Expected:
+| <html>
+| <head>
+| <body>
+| <i>
+| "A"
+| <b>
+| "B"
+| <b>
+| <p>
+| <b>
+| <i>
+| "C"
+| "D"
+
+Test 23 of 24 in resources/html5test-com.dat failed. Input:
+<svg></svg>
+Got:
+| <html>
+| <head>
+| <body>
+| <svg>
+Expected:
+| <html>
+| <head>
+| <body>
+| <svg svg>
+
+Test 24 of 24 in resources/html5test-com.dat failed. Input:
+<math></math>
+Got:
+| <html>
+| <head>
+| <body>
+| <math>
+Expected:
+| <html>
+| <head>
+| <body>
+| <math math>
resources/entities01.dat:
2
5
diff --git a/LayoutTests/html5lib/runner.html b/LayoutTests/html5lib/runner.html
index 78428a9..cb8836b 100644
--- a/LayoutTests/html5lib/runner.html
+++ b/LayoutTests/html5lib/runner.html
@@ -56,6 +56,7 @@ var test_files = [
'resources/webkit01.dat',
'resources/doctype01.dat',
'resources/scriptdata01.dat',
+ 'resources/html5test-com.dat',
'resources/entities01.dat',
'resources/entities02.dat',
'resources/comments01.dat',
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list