On Fri Aug 22 17:43:37 2025 +0000, Jacek Caban wrote:
Is it really specific to `DOMParser`? Shouldn't we do a similar thing if a frame navigates to SVG or XML document? Could we somehow get the type from `nsdoc` instead of guessing it from other sources?
I doubt it's specific to DOMParser, but I figured the rest would've been out of scope for this MR. Well, unless I can find out a way to obtain it from gecko's nsdoc (and I'm not sure if Gecko supports XHTML separately from XML either, will look).