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

Unified Diff: LayoutTests/dart/dom/Cache.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/dart/dom/CSS-expected.txt ('k') | LayoutTests/dart/dom/Cache.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
- };
-}
« no previous file with comments | « LayoutTests/dart/dom/CSS-expected.txt ('k') | LayoutTests/dart/dom/Cache.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698