Chromium Code Reviews

Unified Diff: Source/core/xml/XMLHttpRequest.idl

Issue 478223002: XMLHttpRequest::overrideMimeType should throw InvalidStateError (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add tests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« Source/core/xml/XMLHttpRequest.cpp ('K') | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.idl
diff --git a/Source/core/xml/XMLHttpRequest.idl b/Source/core/xml/XMLHttpRequest.idl
index 9493a79632b8bf3709d57b8185930305ccf4c564..0635d8ac8fa6f27e501845fc94c261f3fe32035f 100644
--- a/Source/core/xml/XMLHttpRequest.idl
+++ b/Source/core/xml/XMLHttpRequest.idl
@@ -81,5 +81,5 @@ enum XMLHttpRequestResponseType {
readonly attribute DOMString statusText;
// Extension
- void overrideMimeType(DOMString override);
+ [RaisesException] void overrideMimeType(DOMString override);
};
« Source/core/xml/XMLHttpRequest.cpp ('K') | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine