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

Side by Side Diff: LayoutTests/storage/quota/durability.html

Issue 1110063011: WIP Durable storage, webkit side (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToT Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/modules/quota/StorageQuota.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <script type="text/javascript">
7 description("This tests durability.");
8
9 var usage;
10 var grantedQuota;
11
12 function onrejected(error) {
13 testFailed(error.name + ": " + error.message);
14 finishJSTest();
15 }
16
17 function runTest() {
18 debug("calling requestDurability");
19 navigator.storageQuota.requestDurability().then(function(storageInfo) {
20 testPassed("then got called");
21 finishJSTest();
22 }, onrejected);
23 }
24
25 if (navigator.storageQuota) {
26 window.jsTestIsAsync = true;
27 runTest();
28 } else {
29 testFailed("This test requires navigator.storageQuota.");
30 }
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/modules/quota/StorageQuota.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698