Closed
Bug 366936
Opened 18 years ago
Closed 18 years ago
Run WHATWG/html5lib tests on HTML parser
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha3
People
(Reporter: sayrer, Assigned: sayrer)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files, 10 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
Before we can move on bug 361449, we need better test coverage for the HTML parser, and it needs to be running automatically.
The http://html5lib.googlecode.com/ project has a decent test suite started, so we should use their cases. These can be run in the browser using mochitest, and then on the command line once bug 361449 lands.
Assignee | ||
Comment 1•18 years ago
|
||
a few syntax errors in the last version
Attachment #251403 -
Attachment is obsolete: true
Assignee | ||
Comment 2•18 years ago
|
||
Assignee | ||
Updated•18 years ago
|
Attachment #251415 -
Attachment mime type: application/x-javascript → text/plain
Assignee | ||
Comment 3•18 years ago
|
||
Attachment #251415 -
Attachment is obsolete: true
Assignee | ||
Comment 4•18 years ago
|
||
Attachment #251416 -
Attachment is obsolete: true
Assignee | ||
Comment 5•18 years ago
|
||
Attachment #251457 -
Attachment is obsolete: true
Assignee | ||
Comment 6•18 years ago
|
||
Looks like many of the failures are due to doctype capitalization and attribute order (todo).
The doctype capitalization should be an easy patch.
Attachment #251458 -
Attachment is obsolete: true
Assignee | ||
Comment 7•18 years ago
|
||
Patch in bug 366993 makes
Passing 97, Failing 79
Assignee | ||
Updated•18 years ago
|
OS: Linux → All
Hardware: PC → All
Assignee | ||
Comment 8•18 years ago
|
||
(with patch for bug 366993)
Attachment #251471 -
Attachment is obsolete: true
Assignee | ||
Comment 9•18 years ago
|
||
A little error in the test harness gets us three more
(with patch for bug 366993)
Attachment #251490 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Attachment #251505 -
Attachment mime type: application/x-javascript → text/plain
Assignee | ||
Comment 10•18 years ago
|
||
Attachment #251472 -
Attachment is obsolete: true
Attachment #251505 -
Attachment is obsolete: true
Assignee | ||
Comment 11•18 years ago
|
||
Attachment #256813 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Attachment #257190 -
Attachment is patch: true
Attachment #257190 -
Attachment mime type: text/x-patch → text/plain
Assignee | ||
Comment 12•18 years ago
|
||
Assignee | ||
Updated•18 years ago
|
Attachment #257196 -
Flags: review?(mrbkap)
Comment 13•18 years ago
|
||
Comment on attachment 257196 [details] [diff] [review]
integrate with build
Cool.
Attachment #257196 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 14•18 years ago
|
||
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5_tree_construction_exceptions.js,v
done
Checking in html5_tree_construction_exceptions.js;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5_tree_construction_exceptions.js,v <-- html5_tree_construction_exceptions.js
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_license.txt,v
done
Checking in html5lib_license.txt;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_license.txt,v <-- html5lib_license.txt
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat1.txt,v
done
Checking in html5lib_tree_dat1.txt;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat1.txt,v <-- html5lib_tree_dat1.txt
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat2.txt,v
done
Checking in html5lib_tree_dat2.txt;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat2.txt,v <-- html5lib_tree_dat2.txt
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat3.txt,v
done
Checking in html5lib_tree_dat3.txt;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/html5lib_tree_dat3.txt,v <-- html5lib_tree_dat3.txt
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/parser_datreader.js,v
done
Checking in parser_datreader.js;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/parser_datreader.js,v <-- parser_datreader.js
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/parser_web_testrunner.js,v
done
Checking in parser_web_testrunner.js;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/parser_web_testrunner.js,v <-- parser_web_testrunner.js
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/parser/htmlparser/tests/mochitest/test_html5_tree_construction.html,v
done
Checking in test_html5_tree_construction.html;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/test_html5_tree_construction.html,v <-- test_html5_tree_construction.html
initial revision: 1.1
done
Checking in Makefile.in;
/cvsroot/mozilla/parser/htmlparser/tests/mochitest/Makefile.in,v <-- Makefile.in
new revision: 1.3; previous revision: 1.2
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha3
Assignee | ||
Comment 15•18 years ago
|
||
I had to comment these out because JS is misbehaving, making our suite unable to run this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•18 years ago
|
Blocks: html5-parsing
Assignee | ||
Comment 16•18 years ago
|
||
relanded these without incident
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•