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

Side by Side Diff: LayoutTests/http/tests/appcache/max-size.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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html manifest="resources/maxsize.manifest">
2 <body>
3 <script>
4 if (window.testRunner) {
5 testRunner.setAppCacheMaximumSize(10 * 1024);
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
9
10 function log(message)
11 {
12 document.getElementById("result").innerHTML += message + "<br>";
13 if (window.testRunner) {
14 testRunner.setAppCacheMaximumSize(100 * 1024 * 1024);
15 testRunner.notifyDone();
16 }
17 }
18
19 applicationCache.onerror = function() { log("SUCCESS"); }
20 applicationCache.oncached = function() { log("FAIL: received unexpected cach ed event"); }
21 applicationCache.onnoupdate = function() { log("FAIL: received unexpected on noupdate event"); }
22 applicationCache.onupdateready = function() { log("FAIL: received unexpected onupdateready event"); }
23 </script>
24
25 <p>Cache a manifest that contains a resource that is too large to fit. The layou t test controller sets a maximum size of 10KB for the application cache database file.</p>
26 <div id=result></div>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/appcache/interrupted-update-expected.txt ('k') | LayoutTests/http/tests/appcache/max-size-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698