| Index: LayoutTests/dart/dom/Cache.dart
|
| diff --git a/LayoutTests/dart/dom/Cache.dart b/LayoutTests/dart/dom/Cache.dart
|
| deleted file mode 100644
|
| index 9702b9c5001c0efbfd34ee5e2693b6a172ecc289..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/dart/dom/Cache.dart
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -#import('../../../../../dart/client/testing/unittest/unittest.dart');
|
| -#import('dart:dom');
|
| -
|
| -main() {
|
| - forLayoutTests();
|
| - test('ApplicationCache', () {
|
| - DOMApplicationCache appCache = window.applicationCache;
|
| - Expect.equals("UNCACHED", cacheStatusToString(appCache.status));
|
| - });
|
| -}
|
| -
|
| -String cacheStatusToString(int status) {
|
| - switch (status) {
|
| - case DOMApplicationCache.UNCACHED: // UNCACHED == 0
|
| - return 'UNCACHED';
|
| - case DOMApplicationCache.IDLE: // IDLE == 1
|
| - return 'IDLE';
|
| - case DOMApplicationCache.CHECKING: // CHECKING == 2
|
| - return 'CHECKING';
|
| - case DOMApplicationCache.DOWNLOADING: // DOWNLOADING == 3
|
| - return 'DOWNLOADING';
|
| - case DOMApplicationCache.UPDATEREADY: // UPDATEREADY == 4
|
| - return 'UPDATEREADY';
|
| - case DOMApplicationCache.OBSOLETE: // OBSOLETE == 5
|
| - return 'OBSOLETE';
|
| - default:
|
| - return 'UNKNOWN CACHE STATUS';
|
| - };
|
| -}
|
|
|