[Webkit-unassigned] [Bug 49633] Add .responseType and .response to XMLHttpRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 20 12:30:56 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49633





--- Comment #13 from Chris Marrin <cmarrin at apple.com>  2010-11-20 12:30:55 PST ---
I agree with Alexey's earlier comment. I'd really like to see responseType take enumerated constants rather than strings. There should be a default of None which has the same behavior as before: responseText and responseXML return what they always have. In this mode I thing using response results in an exception. The other values (TEXT, DOCUMENT, BLOB AND ARRAYBUFFER) when set in responseType would return the appropriate value in response. In this mode responseText and responseXML would throw an exception. 

This would make the implementation easier and would avoid give authors the most clear guidance on how to use the new functionality.

-- 
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