Before this change, we were producing a generic DOM::Document, which was not distinguishable from an XMLDocument by IDL interface type.
Stop worrying about tiny OOMs. Work towards #20405
Required by old versions of Pixi.js's XMLFormat bitmap font loader. db824181dc/packages/text-bitmap/src/formats/XMLFormat.ts (L16)
db824181dc/packages/text-bitmap/src/formats/XMLFormat.ts (L16)