| 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 5246c4b2265abf93f758f3321a31a95a6933d791..87a5c2599828ec560780ac339fc3b41aa99cbf12 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -213,6 +213,10 @@ class AppletElement extends Element native "*HTMLAppletElement" {
|
|
|
|
|
| /// @domName DOMApplicationCache; @docsEditable true
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@SupportedBrowser(SupportedBrowser.FIREFOX)
|
| +@SupportedBrowser(SupportedBrowser.IE, '10')
|
| +@SupportedBrowser(SupportedBrowser.SAFARI)
|
| class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
|
|
|
| static const EventStreamProvider<Event> cachedEvent = const EventStreamProvider<Event>('cached');
|
| @@ -231,6 +235,9 @@ class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
|
|
|
| static const EventStreamProvider<Event> updateReadyEvent = const EventStreamProvider<Event>('updateready');
|
|
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => JS('bool', '!!(window.applicationCache)');
|
| +
|
| /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| ApplicationCacheEvents get on =>
|
| new ApplicationCacheEvents(this);
|
|
|