[whatwg/xhr] Editorial: pass require well-formed when serializing a Document (PR #413)

Matching the logic intended by 59c9cd9a of not throwing for documents that cannot be serialized as well formed XML.

--- 

Found fixing a bug in ladybird where we weren't doing the "converted" part to make it scalar, and noticed we were already passing this flag which spec didn't mention.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/xhr/413.html" title="Last updated on Oct 25, 2026, 8:04 AM UTC (e65e692)">Preview</a> | <a href="https://whatpr.org/xhr/413/46c74b4...e65e692.html" title="Last updated on Oct 25, 2026, 8:04 AM UTC (e65e692)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/xhr/pull/413

-- Commit Summary --

  * Editorial: pass require well-formed when serializing a Document

-- File Changes --

    M xhr.bs (4)

-- Patch Links --

https://github.com/whatwg/xhr/pull/413.patch
https://github.com/whatwg/xhr/pull/413.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/413
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/xhr/pull/413@github.com>

Received on Sunday, 25 October 2026 08:05:03 UTC