Would be useful for fuzzing.
Created attachment 566600 [details] [diff] [review] patch 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.
Status: NEW → RESOLVED
Last Resolved: 7 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
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).
You need to log in before you can comment on or make changes to this bug.