[Webkit-unassigned] [Bug 46146] New: XMLHttpRequest: responseXML returns null if the Content-Type is valid (end in +xml) in some cases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 20 17:41:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46146
Summary: XMLHttpRequest: responseXML returns null if the
Content-Type is valid (end in +xml) in some cases
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jianli at chromium.org
CC: ap at webkit.org, fishd at chromium.org,
dimich at chromium.org, levin at chromium.org,
jianli at chromium.org
XMLHttpRequest: responseXML returns null if the Content-Type is valid (end in +xml) in some cases
Per the XHR spec:
2. If final MIME type is not null, text/html, text/xml, application/xml, or does not end in +xml terminate these steps and return null.
3. If final MIME type is text/html let document be a cookie-free Document object that represents the response entity body parsed following the rules set forth in the HTML specification for an HTML parser with scripting disabled and then terminate this algorithm. [HTML5]
Test: http://tc.labs.opera.com/apis/XMLHttpRequest/responsexml-media-type.htm
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list