Open Bug 333060 Opened 19 years ago Updated 2 years ago

Add unit tests for nsDocumentEncoder

Categories

(Core :: DOM: Serializers, defect)

defect

Tracking

()

People

(Reporter: peterv, Unassigned)

References

Details

See bug 332239 for one testcase.
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.
No way to do scriptable HTML parsing yet, no. At least not in xpcshell...
Bug 218277 has more testcases this could test.
Flags: in-testsuite?
Depends on: 422403
My patch for bug 422403 (now landed in the trunk) brings several tests on DocumentEncoder, at least for HTML/XML/XHTML serializers.
QA Contact: dom-to-text

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: jlurz24 → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.