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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbcursor-advance-invalid.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 <title>IDBCursor.advance() - invalid</title> 2 <title>IDBCursor.advance() - invalid</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# widl-IDBCursor-advance-void-unsigned-long-count"> 4 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html# widl-IDBCursor-advance-void-unsigned-long-count">
5 <link rel=assert title="If the value for count is 0 (zero) or a negative number, this method must throw a JavaScript TypeError exception."> 5 <link rel=assert title="If the value for count is 0 (zero) or a negative number, this method must throw a JavaScript TypeError exception.">
6 <link rel=assert title="TypeError The value passed into the count parameter was zero or a negative number."> 6 <link rel=assert title="TypeError The value passed into the count parameter was zero or a negative number.">
7 <link rel=assert title="InvalidStateError The cursor is currently being iterated , or has iterated past its end."> 7 <link rel=assert title="InvalidStateError The cursor is currently being iterated , or has iterated past its end.">
8 <link rel=assert title="Calling this method more than once before new cursor dat a has been loaded is not allowed and results in a DOMException of type InvalidSt ateError being thrown. For example, calling advance() twice from the same onsucc ess handler results in a DOMException of type InvalidStateError being thrown on the second call."> 8 <link rel=assert title="Calling this method more than once before new cursor dat a has been loaded is not allowed and results in a DOMException of type InvalidSt ateError being thrown. For example, calling advance() twice from the same onsucc ess handler results in a DOMException of type InvalidStateError being thrown on the second call.">
9 <link rel=assert title="Before this method returns, unless an exception was thro wn, it sets the got value flag on the cursor to false."> 9 <link rel=assert title="Before this method returns, unless an exception was thro wn, it sets the got value flag on the cursor to false.">
10 <script src="../../../resources/testharness.js"></script> 10 <script src="../../../resources/testharness.js"></script>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 }); 179 });
180 180
181 181
182 // Stop blocking the testing system from hereon 182 // Stop blocking the testing system from hereon
183 done(); 183 done();
184 } 184 }
185 185
186 </script> 186 </script>
187 187
188 <div id=log></div> 188 <div id=log></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698