Speedometer 2.0: Vanilla JS test doesn't mark all todo items as completed
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 09:19:01 +0000 (09:19 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 May 2017 09:19:01 +0000 (09:19 +0000)
commit8bb9cfccdf18c5e75ccdff9c8d74735acdec0969
treeecaff8b6d1711f4fe915f5113f34f5272e2debd6
parent6736ad5de889eb9df826a2fa0cb1edcf8ec3354b
Speedometer 2.0: Vanilla JS test doesn't mark all todo items as completed
https://bugs.webkit.org/show_bug.cgi?id=172348

Reviewed by Antti Koivisto.

The bug was caused by the in-memory store class using the milisecond precision timestamp as an ID.
Because we inserts 50 items all at once, this can result in multiple data items sharing a single ID.

Fixed the bug by using a mononotically increasing ID instead.

* Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/store.js:
(Store.prototype.save):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@217107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/store.js