Open
Bug 333060
Opened 19 years ago
Updated 2 years ago
Add unit tests for nsDocumentEncoder
Categories
(Core :: DOM: Serializers, defect)
Core
DOM: Serializers
Tracking
()
NEW
People
(Reporter: peterv, Unassigned)
References
Details
See bug 332239 for one testcase.
Comment 1•19 years ago
|
||
So what's basically needed here is to add a file in http://lxr.mozilla.org/seamonkey/source/content/test/unit/ that tests document encoders. See the parser and serializer tests there to get an idea of how things work? Lemme know if you have any questions!
Assignee: dom-to-text → jlurz24
Is there a way to get a scriptable HTML parser? I wanted to round trip using the encoder in both XML and HTML.
Comment 3•18 years ago
|
||
No way to do scriptable HTML parsing yet, no. At least not in xpcshell...
Comment 4•18 years ago
|
||
Bug 218277 has more testcases this could test.
Updated•18 years ago
|
Blocks: test-suites
Updated•18 years ago
|
Flags: in-testsuite?
Comment 5•16 years ago
|
||
My patch for bug 422403 (now landed in the trunk) brings several tests on DocumentEncoder, at least for HTML/XML/XHTML serializers.
Updated•15 years ago
|
QA Contact: dom-to-text
Comment 6•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: jlurz24 → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•