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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbcursor-direction-objectstore.htm

Issue 2010163003: Fix paths of testharness*, WebIDLParser.js, idlharness.js, vendor-prefix.js for remaining files … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <title>IDBCursor direction - object store</title> 2 <title>IDBCursor direction - object store</title>
3 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> 3 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
4 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html# cursor-iteration-operation"> 4 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html# cursor-iteration-operation">
5 <link rel=assert title='If direction is "next", let found record be the first re cord in records which satisfy all of the following requirements'> 5 <link rel=assert title='If direction is "next", let found record be the first re cord in records which satisfy all of the following requirements'>
6 <link rel=assert title="If position is defined, and source is an object store, t he record's key is greater than position."> 6 <link rel=assert title="If position is defined, and source is an object store, t he record's key is greater than position.">
7 <link rel=assert title='If direction is "prev", let found record be the last rec ord in records which satisfy all of the following requirements'> 7 <link rel=assert title='If direction is "prev", let found record be the last rec ord in records which satisfy all of the following requirements'>
8 <link rel=assert title="If position is defined, and source is an object store, t he record's key is less than position."> 8 <link rel=assert title="If position is defined, and source is an object store, t he record's key is less than position.">
9 <link rel=assert title="Set cursor's position to found record's key. If source i s an index, set cursor's object store position to found record's value."> 9 <link rel=assert title="Set cursor's position to found record's key. If source i s an index, set cursor's object store position to found record's value.">
10 <link rel=assert title="Set cursor's key to found record's key."> 10 <link rel=assert title="Set cursor's key to found record's key.">
11 <script src="../../../resources/testharness.js"></script> 11 <script src="/resources/testharness.js"></script>
12 <script src="../../../resources/testharnessreport.js"></script> 12 <script src="/resources/testharnessreport.js"></script>
13 <script src="support.js"></script> 13 <script src="support.js"></script>
14 14
15 <script> 15 <script>
16 var records = [ "Alice", "Bob", "Greg" ]; 16 var records = [ "Alice", "Bob", "Greg" ];
17 var directions = ["next", "prev", "nextunique", "prevunique"]; 17 var directions = ["next", "prev", "nextunique", "prevunique"];
18 var tests = {}; 18 var tests = {};
19 19
20 directions.forEach(function(dir) { 20 directions.forEach(function(dir) {
21 tests[dir] = async_test(document.title + ' - ' + dir); 21 tests[dir] = async_test(document.title + ' - ' + dir);
22 }); 22 });
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 directions.forEach(function(dir) { 71 directions.forEach(function(dir) {
72 tests[dir].step(function() { assert_unreached(name); }); 72 tests[dir].step(function() { assert_unreached(name); });
73 }); 73 });
74 }; 74 };
75 } 75 }
76 open_rq.onblocked = fail_helper('open_rq.onblocked'); 76 open_rq.onblocked = fail_helper('open_rq.onblocked');
77 open_rq.onerror = fail_helper('open_rq.onerror'); 77 open_rq.onerror = fail_helper('open_rq.onerror');
78 </script> 78 </script>
79 79
80 <div id=log> </div> 80 <div id=log> </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698