Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index fd31da0dffe415c5fb8bf0c701a0ced57ca856c3..77d3e75b68d700e105f2609e7fa46bb859044e0f 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -13450,32 +13450,6 @@ class HttpRequest extends XmlHttpRequestEventTarget native "XMLHttpRequest" { |
@DocsEditable() |
-@DomName('XMLHttpRequestProgressEvent') |
-@SupportedBrowser(SupportedBrowser.CHROME) |
-@SupportedBrowser(SupportedBrowser.SAFARI) |
-@Experimental() |
-@Experimental() // nonstandard |
-class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgressEvent" { |
- // To suppress missing implicit constructor warnings. |
- factory HttpRequestProgressEvent._() { throw new UnsupportedError("Not supported"); } |
- |
- /// Checks if this type is supported on the current platform. |
- static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgressEvent'); |
- |
- @DomName('XMLHttpRequestProgressEvent.position') |
- @DocsEditable() |
- final int position; |
- |
- @DomName('XMLHttpRequestProgressEvent.totalSize') |
- @DocsEditable() |
- final int totalSize; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
- |
-@DocsEditable() |
@DomName('XMLHttpRequestUpload') |
// http://xhr.spec.whatwg.org/#xmlhttprequestupload |
@Experimental() |
@@ -27594,6 +27568,18 @@ abstract class _WorkerNavigator extends Interceptor implements NavigatorOnLine, |
// BSD-style license that can be found in the LICENSE file. |
+@DocsEditable() |
+@DomName('XMLHttpRequestProgressEvent') |
+@Experimental() // nonstandard |
+abstract class _XMLHttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgressEvent" { |
+ // To suppress missing implicit constructor warnings. |
+ factory _XMLHttpRequestProgressEvent._() { throw new UnsupportedError("Not supported"); } |
+} |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+ |
abstract class _AttributeMap implements Map<String, String> { |
final Element _element; |