When parsing an SVG image loaded via <img>, the XMLDocumentBuilder's document_end() would spin the event loop waiting for scripts, load events, and other page lifecycle milestones that are irrelevant for a decoded SVG image. Skip this entirely, as SVG-as-image operates in secure static mode where external resources are also disabled. |
||
|---|---|---|
| .. | ||
| XMLDocumentBuilder.cpp | ||
| XMLDocumentBuilder.h | ||
| XMLFragmentParser.cpp | ||
| XMLFragmentParser.h | ||