--- /home/clopez/webkit/webkit/layout-test-results/storage/indexeddb/cursor-key-order-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/storage/indexeddb/cursor-key-order-actual.txt @@ -119,156 +119,148 @@ cursor = curreq.result PASS compare(cursor.key, '') is true getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, '\0') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, 'a') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, 'aa') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, 'b') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, 'ba') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, '¢') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, '水') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, '𝄞') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, '�') is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, []) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [-Infinity]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [-Number.MAX_VALUE]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [-1]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [-Number.MIN_VALUE]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [0]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [Number.MIN_VALUE]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [1]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [Number.MAX_VALUE]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [Infinity]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [new Date(0)]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [new Date(1000)]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [new Date(1317399931023)]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['\0']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['a']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['aa']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['b']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['ba']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['¢']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['水']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['𝄞']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, ['�']) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [[]]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [[], []]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [[], [], []]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [[[]]]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -cursor = curreq.result -PASS compare(cursor.key, [[[[]]]]) is true -getreq = store.get(cursor.key) -PASS getreq.result is count++ -PASS count is keys.length +FAIL getreq.result should be 12. Was 13. +cursor = curreq.result +FAIL compare(cursor.key, '\0') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 13. Was 14. +cursor = curreq.result +FAIL compare(cursor.key, 'a') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 14. Was 15. +cursor = curreq.result +FAIL compare(cursor.key, 'aa') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 15. Was 16. +cursor = curreq.result +FAIL compare(cursor.key, 'b') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 16. Was 17. +cursor = curreq.result +FAIL compare(cursor.key, 'ba') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 17. Was 18. +cursor = curreq.result +FAIL compare(cursor.key, '¢') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 18. Was 19. +cursor = curreq.result +FAIL compare(cursor.key, '水') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 19. Was 20. +cursor = curreq.result +FAIL compare(cursor.key, '𝄞') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 20. Was 21. +cursor = curreq.result +FAIL compare(cursor.key, '�') should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 21. Was 22. +cursor = curreq.result +FAIL compare(cursor.key, []) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 22. Was 23. +cursor = curreq.result +FAIL compare(cursor.key, [-Infinity]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 23. Was 24. +cursor = curreq.result +FAIL compare(cursor.key, [-Number.MAX_VALUE]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 24. Was 25. +cursor = curreq.result +FAIL compare(cursor.key, [-1]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 25. Was 26. +cursor = curreq.result +FAIL compare(cursor.key, [-Number.MIN_VALUE]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 26. Was 27. +cursor = curreq.result +FAIL compare(cursor.key, [0]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 27. Was 28. +cursor = curreq.result +FAIL compare(cursor.key, [Number.MIN_VALUE]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 28. Was 29. +cursor = curreq.result +FAIL compare(cursor.key, [1]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 29. Was 30. +cursor = curreq.result +FAIL compare(cursor.key, [Number.MAX_VALUE]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 30. Was 31. +cursor = curreq.result +FAIL compare(cursor.key, [Infinity]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 31. Was 32. +cursor = curreq.result +FAIL compare(cursor.key, [new Date(0)]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 32. Was 33. +cursor = curreq.result +FAIL compare(cursor.key, [new Date(1000)]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 33. Was 34. +cursor = curreq.result +FAIL compare(cursor.key, [new Date(1317399931023)]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 34. Was 36. +cursor = curreq.result +FAIL compare(cursor.key, ['']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 35. Was 37. +cursor = curreq.result +FAIL compare(cursor.key, ['\0']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 36. Was 38. +cursor = curreq.result +FAIL compare(cursor.key, ['a']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 37. Was 39. +cursor = curreq.result +FAIL compare(cursor.key, ['aa']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 38. Was 40. +cursor = curreq.result +FAIL compare(cursor.key, ['b']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 39. Was 41. +cursor = curreq.result +FAIL compare(cursor.key, ['ba']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 40. Was 42. +cursor = curreq.result +FAIL compare(cursor.key, ['¢']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 41. Was 43. +cursor = curreq.result +FAIL compare(cursor.key, ['水']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 42. Was 44. +cursor = curreq.result +FAIL compare(cursor.key, ['𝄞']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 43. Was 45. +cursor = curreq.result +FAIL compare(cursor.key, ['�']) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 44. Was 46. +cursor = curreq.result +FAIL compare(cursor.key, [[]]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 45. Was 47. +cursor = curreq.result +FAIL compare(cursor.key, [[], []]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 46. Was 48. +cursor = curreq.result +FAIL compare(cursor.key, [[], [], []]) should be true. Was false. +getreq = store.get(cursor.key) +FAIL getreq.result should be 47. Was 49. +FAIL count should be 50. Was 48. validate compare function PASS compare(undefined, undefined) is true @@ -897,6 +889,7 @@ PASS compare([[123], 123], [[123], 'abc']) is false PASS compare([[123], 123], [[123], 123]) is true PASS successfullyParsed is true +Some tests failed. TEST COMPLETE