Skip to content

Servo isn't strict enough about what XMLHttpRequest response XML it will accept #24923

@pshaughn

Description

@pshaughn

WPT xhr/responsexml-basic, responsexml-media-type, and responsexml-non-well-formed reveal cases where an XMLHttpRequest shouldn't be producing an XML document but is:

  • an empty body
  • a body that's syntactically XML, but with a Content-Type header that says it's something else
  • lightly malformed XML

By WPT expectations and other browser behavior, these shouldn't parse into an XML document when they're the response to an XHR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domInteracting with the DOM from web contentA-content/parsersRelated to parsing HTML and XML

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions