Index: Source/core/xml/XMLHttpRequest.h |
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h |
index d63cb6042844048a3702b3c9a018308963e39d90..d7a37156d1dafb15073e8d37113514285b486755 100644 |
--- a/Source/core/xml/XMLHttpRequest.h |
+++ b/Source/core/xml/XMLHttpRequest.h |
@@ -69,6 +69,7 @@ public: |
enum ResponseTypeCode { |
ResponseTypeDefault, |
ResponseTypeText, |
+ ResponseTypeJSON, |
ResponseTypeDocument, |
ResponseTypeBlob, |
ResponseTypeArrayBuffer |
@@ -107,6 +108,7 @@ public: |
String getAllResponseHeaders(ExceptionState&) const; |
String getResponseHeader(const AtomicString& name, ExceptionState&) const; |
ScriptString responseText(ExceptionState&); |
+ ScriptString responseJSONSource(ExceptionState&); |
Document* responseXML(ExceptionState&); |
Blob* responseBlob(); |
unsigned long timeout() const { return m_timeoutMilliseconds; } |