Closed Bug 693875 Opened 8 years ago Closed 8 years ago

Allow DOMParser to make SVGDocuments

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: jruderman, Assigned: smaug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Would be useful for fuzzing.
Assignee: nobody → Olli.Pettay
Attached patch patchSplinter Review
Do it in a simple way.
Once we need to be able to force different doc types, we can change aSVGDocument
parameter to an enum.
Attachment #566600 - Flags: review?(jst)
This should really be fixed by fixing 512688.
This is orthogonal to bug 512688.
Attachment #566600 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/85a61d68b152
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Since http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsIDOMParser.idl#80 lists the supported content types, it should probably be updated too.

dev-doc-needed for: https://developer.mozilla.org/en/DOMParser
Keywords: dev-doc-needed
OS: Mac OS X → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla10
I've updated (and created that §)
https://developer.mozilla.org/en/DOM/DOMParser#Parsing_a_SVG_document

It would need another update when bug 512688 will be fixed (I've added dev-doc-needed to that bug).
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.