Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 14989011: Fixing overrideMimeType on IE10. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 72411293646d15e7faecc87ec3eba50eec181bb1..7cc601d9a4e61c358c2ce694745bdf5f7f7f3bb2 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -11333,6 +11333,14 @@ class HttpRequest extends EventTarget {
return true;
}
+ /**
+ * Checks to see if the overrideMimeType method is supported on the current
+ * platform.
+ */
+ static bool get supportsOverrideMimeType {
+ return true;
+ }
+
HttpRequest.internal() : super.internal();
@DomName('XMLHttpRequest.abortEvent')
@@ -11594,6 +11602,9 @@ class HttpRequest extends EventTarget {
*/
@DomName('XMLHttpRequest.overrideMimeType')
@DocsEditable
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.FIREFOX)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
void overrideMimeType(String override) native "XMLHttpRequest_overrideMimeType_Callback";
@DomName('XMLHttpRequest.removeEventListener')
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698