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

Side by Side Diff: LayoutTests/storage/indexeddb/index-basics.html

Issue 7065004: Merge 86665 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/index-basics-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> 3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script src="../../fast/js/resources/js-test-post-function.js"></script> 5 <script src="../../fast/js/resources/js-test-post-function.js"></script>
6 <script src="resources/shared.js"></script> 6 <script src="resources/shared.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 shouldBeTrue("'getKey' in indexObject"); 61 shouldBeTrue("'getKey' in indexObject");
62 shouldBeTrue("'get' in indexObject"); 62 shouldBeTrue("'get' in indexObject");
63 63
64 request = evalAndLog("store.add({x: 'value', y: 'zzz', z: 2.72}, 'key')"); 64 request = evalAndLog("store.add({x: 'value', y: 'zzz', z: 2.72}, 'key')");
65 request.onsuccess = addMore; 65 request.onsuccess = addMore;
66 request.onerror = unexpectedErrorCallback; 66 request.onerror = unexpectedErrorCallback;
67 } 67 }
68 68
69 function addMore() 69 function addMore()
70 { 70 {
71 request = evalAndLog("event.target.source.add({x: 'value2', y: 'zzz2', z: 2. 71}, 'key2')"); 71 request = evalAndLog("event.target.source.add({x: 'value2', y: 'zzz2', z: 2. 71, foobar: 12}, 'key2')");
72 request.onsuccess = getData; 72 request.onsuccess = getData;
73 request.onerror = unexpectedErrorCallback; 73 request.onerror = unexpectedErrorCallback;
74 window.indexObject4 = evalAndLog("store.createIndex('indexWhileAddIsInFlight ', 'x')"); 74 window.indexObject4 = evalAndLog("store.createIndex('indexWhileAddIsInFlight ', 'x')");
75 window.indexObject5 = evalAndLog("store.createIndex('indexWithWeirdKeyPath', 'foobar')");
75 } 76 }
76 77
77 function getData() 78 function getData()
78 { 79 {
79 request = evalAndLog("indexObject.getKey('value')"); 80 request = evalAndLog("indexObject.getKey('value')");
80 request.onsuccess = getObjectData; 81 request.onsuccess = getObjectData;
81 request.onerror = unexpectedErrorCallback; 82 request.onerror = unexpectedErrorCallback;
82 } 83 }
83 84
84 function getObjectData() 85 function getObjectData()
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 done(); 228 done();
228 } 229 }
229 230
230 test(); 231 test();
231 232
232 var successfullyParsed = true; 233 var successfullyParsed = true;
233 234
234 </script> 235 </script>
235 </body> 236 </body>
236 </html> 237 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/storage/indexeddb/index-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698