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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/keygenerator.htm

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title>Keygenerator</title> 3 <title>Keygenerator</title>
4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
5 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html# key-generator-concept"> 5 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html# key-generator-concept">
6 <link rel=assert title="The current number of a key generator is always set to 1 when the object store for that key generator is first created."> 6 <link rel=assert title="The current number of a key generator is always set to 1 when the object store for that key generator is first created.">
7 <link rel=assert title="When a key generator is used to generate a new key for a object store, the key generator's current number is used as the new key value a nd then the key generator's current number is increased by 1."> 7 <link rel=assert title="When a key generator is used to generate a new key for a object store, the key generator's current number is used as the new key value a nd then the key generator's current number is increased by 1.">
8 <link rel=assert title="When a record is stored in a object store which uses a k ey generator, and an explicit key is defined, if the key's value is a float grea ter than or equal to the key generator's current number, then the key generator' s current number is set to the smallest integer number larger than the explicit key. Only explicit keys which are float values affect the current number of the key generator."> 8 <link rel=assert title="When a record is stored in a object store which uses a k ey generator, and an explicit key is defined, if the key's value is a float grea ter than or equal to the key generator's current number, then the key generator' s current number is set to the smallest integer number larger than the explicit key. Only explicit keys which are float values affect the current number of the key generator.">
9 <script src="../../../resources/testharness.js"></script> 9 <script src="../../../resources/testharness.js"></script>
10 <script src="../../../resources/testharnessreport.js"></script> 10 <script src="../../../resources/testharnessreport.js"></script>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 keygenerator([2, null, 5, null, 6.66, 7], [2, 3, 5, 6, 6.66, 7], 57 keygenerator([2, null, 5, null, 6.66, 7], [2, 3, 5, 6, 6.66, 7],
58 "increments by one from last set key"); 58 "increments by one from last set key");
59 59
60 keygenerator([-10, null, "6", 6.3, [10], -2, 4, null], [-10, -2, 1, 4, 6.3 , 7, "6", [10]], 60 keygenerator([-10, null, "6", 6.3, [10], -2, 4, null], [-10, -2, 1, 4, 6.3 , 7, "6", [10]],
61 "don't increment when new key is not bigger than current"); 61 "don't increment when new key is not bigger than current");
62 62
63 </script> 63 </script>
64 64
65 <div id="log"></div> 65 <div id="log"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698