[Bug 20257] IDBCursor should walk on secondary ordering of index value

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20257

--- Comment #3 from Kyaw Tun <kyawtun@yathit.com> ---
curent position ("a", 2)

cursor.continue() => { key: "a", primaryKey: 3 }
cursor.continue("a") => exception (key is less than or equal to current key)
cursor.continue("b") => { key: "b", primaryKey: 1 }
cursor.continue("c") => null
cursor.continue("a", 3) => ("a", 3)
cursor.continue("a", 4) => ("b", 1)
cursor.continue("b", 1) => ("b", 1)
cursor.continue("b", 4) => ("b", 4)
cursor.continue("b", 5) => null
cursor.continue("c", 1) => null
cursor.continue(null, 1) => exception, invalid cursor position
cursor.continue(null, 2) => exception
cursor.continue(null, 3) => exception
cursor.continue(null, 4) => exception
cursor.continue(null, 5) => exception

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 26 August 2013 22:59:21 UTC