| Index: tests/html/cache_test.dart
|
| diff --git a/tests/html/cache_test.dart b/tests/html/cache_test.dart
|
| index d771cce5ae9919f0eaa291c062abb593026861b0..d70a2875feb1b1e15783dd52d497f95adbd3afbf 100644
|
| --- a/tests/html/cache_test.dart
|
| +++ b/tests/html/cache_test.dart
|
| @@ -6,24 +6,24 @@ import 'dart:html';
|
| main() {
|
| useHtmlConfiguration();
|
| test('ApplicationCache', () {
|
| - DOMApplicationCache appCache = window.applicationCache;
|
| + ApplicationCache appCache = window.applicationCache;
|
| expect(cacheStatusToString(appCache.status), equals("UNCACHED"));
|
| });
|
| }
|
|
|
| String cacheStatusToString(int status) {
|
| switch (status) {
|
| - case DOMApplicationCache.UNCACHED: // UNCACHED == 0
|
| + case ApplicationCache.UNCACHED: // UNCACHED == 0
|
| return 'UNCACHED';
|
| - case DOMApplicationCache.IDLE: // IDLE == 1
|
| + case ApplicationCache.IDLE: // IDLE == 1
|
| return 'IDLE';
|
| - case DOMApplicationCache.CHECKING: // CHECKING == 2
|
| + case ApplicationCache.CHECKING: // CHECKING == 2
|
| return 'CHECKING';
|
| - case DOMApplicationCache.DOWNLOADING: // DOWNLOADING == 3
|
| + case ApplicationCache.DOWNLOADING: // DOWNLOADING == 3
|
| return 'DOWNLOADING';
|
| - case DOMApplicationCache.UPDATEREADY: // UPDATEREADY == 4
|
| + case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4
|
| return 'UPDATEREADY';
|
| - case DOMApplicationCache.OBSOLETE: // OBSOLETE == 5
|
| + case ApplicationCache.OBSOLETE: // OBSOLETE == 5
|
| return 'OBSOLETE';
|
| default:
|
| return 'UNKNOWN CACHE STATUS';
|
|
|