Skip to content

Commit

Permalink
Use WITHOUT ROWID tables for IndexedDB, r=janv.
Browse files Browse the repository at this point in the history
  • Loading branch information
benturner authored and jgraham committed Apr 2, 2015
1 parent f786f90 commit 8a15766
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IndexedDB/key_valid.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<!-- Submitted from TestTWF Paris -->
<meta charset=utf-8">
<meta name="timeout" content="long">
<title>Valid key</title>
<link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct">
<link rel=assert title="A value is said to be a valid key if it is one of the following types: Array JavaScript objects [ECMA-262], DOMString [WEBIDL], Date [ECMA-262] or float [WEBIDL]. However Arrays are only valid keys if every item in the array is defined and is a valid key (i.e. sparse arrays can not be valid keys) and if the Array doesn't directly or indirectly contain itself. Any non-numeric properties are ignored, and thus does not affect whether the Array is a valid key. Additionally, if the value is of type float, it is only a valid key if it is not NaN, and if the value is of type Date it is only a valid key if its [[PrimitiveValue]] internal property, as defined by [ECMA-262], is not NaN. Conforming user agents must support all valid keys as keys.">
Expand Down

0 comments on commit 8a15766

Please sign in to comment.