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

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

Issue 1154573005: Expose Durable Storage API to script (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hacked up DEPS Created 5 years, 5 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/modules.gypi » ('j') | Source/modules/quota/StorageManager.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>requestPersistent returns a promise that is fulfilled</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script type="text/javascript">
6
7 test(function() { assert_true(!!navigator.storage); }, "This test requires navig ator.storage");
8 promise_test(function() {
9 var promise = navigator.storage.requestPersistent();
10 assert_true(promise instanceof Promise, "navigator.storage.requestPersistent () returned a Promise.")
11 return promise;
12 }, "navigator.storage.requestPersistent returns a promise that resolves.");
13
14 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/modules/modules.gypi » ('j') | Source/modules/quota/StorageManager.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698