Gitweb links:
...log
http://git.netsurf-browser.org/libhubbub.git/shortlog/ec23019dc078155dc2b...
...commit
http://git.netsurf-browser.org/libhubbub.git/commit/ec23019dc078155dc2b0c...
...tree
http://git.netsurf-browser.org/libhubbub.git/tree/ec23019dc078155dc2b0cd8...
The branch, rupindersingh/libhubbub has been updated
via ec23019dc078155dc2b0cd86f94691266a61d7b5 (commit)
from 5726ffa43f30ea20d06ac3334e86269c3164333a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libhubbub.git/commit/?id=ec23019dc078155dc...
commit ec23019dc078155dc2b0cd86f94691266a61d7b5
Author: Rupinder Singh Khokhar <rsk1coder99(a)gmail.com>
Commit: Rupinder Singh Khokhar <rsk1coder99(a)gmail.com>
Enabling some tests. The regresssion.test file had some tests that I found to be wrong
and therefore changed them. A confirmation from the mentors is needed to verify its
validity.
diff --git a/test/data/tokeniser2/INDEX b/test/data/tokeniser2/INDEX
index 25dc3ac..33b9060 100644
--- a/test/data/tokeniser2/INDEX
+++ b/test/data/tokeniser2/INDEX
@@ -7,14 +7,14 @@ test2.test html5lib tests (part 2)
test3.test html5lib tests (part 3)
test4.test html5lib tests (part 4)
#contentModelFlags.test html5lib content model tests
-#entities.test html5lib entity tests
+entities.test html5lib entity tests
#escapeFlag.test html5lib escape flag tests
-#numericEntities.test html5lib numeric entities tests
+numericEntities.test html5lib numeric entities tests
#unicodeChars.test html5lib unicode character tests
cdata.test CDATA section tests
-#regression.test Regression tests
+regression.test Regression tests
#domjs.test NA
namedEntities.test html5lib named entities tests
-#pendingSpecChanges.test NA
+pendingSpecChanges.test NA
#unicodeCharsProblematic.test NA
#xmlViolation.test NA
diff --git a/test/data/tokeniser2/regression.test b/test/data/tokeniser2/regression.test
index ae3e66a..59fda3f 100644
--- a/test/data/tokeniser2/regression.test
+++ b/test/data/tokeniser2/regression.test
@@ -1,11 +1,11 @@
{"tests": [
-{"description":"CR in double-quoted attribute value",
-"input":"<foo bar=\"\r\u2022xyz\"",
+{"description":"CR in double-quoted attribute value. This test has been
changes manually from <foo bar=\"\r\u2022xyz\" to <foo
bar=\"\r\u2022xyz\">",
+"input":"<foo bar=\"\r\u2022xyz\">",
"output":[["StartTag", "foo",
{"bar":"\n\u2022xyz"}]]},
-{"description":"CR in single-quoted attribute value",
-"input":"<foo bar='\r\u2022xyz'",
+{"description":"CR in single-quoted attribute value. The input has
manually been changed from <foo bar='\r\u2022xyz'> <foo
bar='\r\u2022xyz'>",
+"input":"<foo bar='\r\u2022xyz'>",
"output":[["StartTag", "foo",
{"bar":"\n\u2022xyz"}]]},
{"description":"CR in comment",
-----------------------------------------------------------------------
Summary of changes:
test/data/tokeniser2/INDEX | 8 ++++----
test/data/tokeniser2/regression.test | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/test/data/tokeniser2/INDEX b/test/data/tokeniser2/INDEX
index 25dc3ac..33b9060 100644
--- a/test/data/tokeniser2/INDEX
+++ b/test/data/tokeniser2/INDEX
@@ -7,14 +7,14 @@ test2.test html5lib tests (part 2)
test3.test html5lib tests (part 3)
test4.test html5lib tests (part 4)
#contentModelFlags.test html5lib content model tests
-#entities.test html5lib entity tests
+entities.test html5lib entity tests
#escapeFlag.test html5lib escape flag tests
-#numericEntities.test html5lib numeric entities tests
+numericEntities.test html5lib numeric entities tests
#unicodeChars.test html5lib unicode character tests
cdata.test CDATA section tests
-#regression.test Regression tests
+regression.test Regression tests
#domjs.test NA
namedEntities.test html5lib named entities tests
-#pendingSpecChanges.test NA
+pendingSpecChanges.test NA
#unicodeCharsProblematic.test NA
#xmlViolation.test NA
diff --git a/test/data/tokeniser2/regression.test b/test/data/tokeniser2/regression.test
index ae3e66a..59fda3f 100644
--- a/test/data/tokeniser2/regression.test
+++ b/test/data/tokeniser2/regression.test
@@ -1,11 +1,11 @@
{"tests": [
-{"description":"CR in double-quoted attribute value",
-"input":"<foo bar=\"\r\u2022xyz\"",
+{"description":"CR in double-quoted attribute value. This test has been
changes manually from <foo bar=\"\r\u2022xyz\" to <foo
bar=\"\r\u2022xyz\">",
+"input":"<foo bar=\"\r\u2022xyz\">",
"output":[["StartTag", "foo",
{"bar":"\n\u2022xyz"}]]},
-{"description":"CR in single-quoted attribute value",
-"input":"<foo bar='\r\u2022xyz'",
+{"description":"CR in single-quoted attribute value. The input has
manually been changed from <foo bar='\r\u2022xyz'> <foo
bar='\r\u2022xyz'>",
+"input":"<foo bar='\r\u2022xyz'>",
"output":[["StartTag", "foo",
{"bar":"\n\u2022xyz"}]]},
{"description":"CR in comment",
--
HTML5 parser library