[webkit-reviews] review granted: [Bug 168724] XMLHttpRequest: do not sniff text/html, and do not sniff XML when responseType is set to "text" : [Attachment 323465] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 11 15:21:11 PDT 2017


Ryosuke Niwa <rniwa at webkit.org> has granted Chris Dumez <cdumez at apple.com>'s
request for review:
Bug 168724: XMLHttpRequest: do not sniff text/html, and do not sniff XML when
responseType is set to "text"
https://bugs.webkit.org/show_bug.cgi?id=168724

Attachment 323465: Patch

https://bugs.webkit.org/attachment.cgi?id=323465&action=review




--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 323465
  --> https://bugs.webkit.org/attachment.cgi?id=323465
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=323465&action=review

> Source/WebCore/xml/XMLHttpRequest.cpp:1062
> +	   }

Don't we need to check if the response is HTML? We used to do that in the old
code.


More information about the webkit-reviews mailing list