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

Unified Diff: LayoutTests/http/tests/appcache/idempotent-update.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 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
Index: LayoutTests/http/tests/appcache/idempotent-update.html
diff --git a/LayoutTests/http/tests/appcache/idempotent-update.html b/LayoutTests/http/tests/appcache/idempotent-update.html
deleted file mode 100644
index 0fad0e4be6784dd3cf23e434c5cb0b88aadcb2a8..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/appcache/idempotent-update.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<html manifest="resources/idempotent-update.manifest">
-<body>
-<p>Test what applicationCache.update() does if update is already in progess.</p>
-<p>Should say DONE, with no failures:</p>
-<div id=result></div>
-
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function log(message)
-{
- document.getElementById("result").innerHTML += message + "<br>";
-}
-
-function test()
-{
- // During update, additional update() should be no-op (the spec says that fake checking and
- // downloading events need to be dispatched, but that's only when the update algorithm is invoked
- // with a browsing context).
- if (applicationCache.status != applicationCache.IDLE)
- log("FAIL: Unexpected cache status while preparing to test: " + applicationCache.status);
-
- var checkingCount = 0;
- applicationCache.onchecking = function() { if (++checkingCount != 1) log("FAIL: Too many checking events received.") }
-
- applicationCache.update();
- applicationCache.update();
- applicationCache.update();
- applicationCache.update();
- applicationCache.update();
-
- applicationCache.onnoupdate = done;
- applicationCache.oncached = function() { log("FAIL: received unexpected cached event") }
-}
-
-function done()
-{
- setTimeout(function() {
- log("DONE");
- if (window.testRunner)
- testRunner.notifyDone();
- }, 10);
-}
-
-applicationCache.oncached = test;
-applicationCache.onnoupdate = test;
-
-applicationCache.onupdateready = function() { log("FAIL: received unexpected updateready event") }
-applicationCache.onerror = function() { log("FAIL: received unexpected error event") }
-
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/workers/worker-cloneport-expected.txt ('k') | LayoutTests/http/tests/appcache/idempotent-update-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698