The problem is that the memory storage class uses ms precision wall clock as a storage ID. Because we're adding 50 items at all once, some items would inevitably end up having the same ID. This results in multiple todo items sharing a single ID and cause havoc. Use a monotonically increasing number as an ID instead.
Created attachment 310629 [details] Fixes the bug
Comment on attachment 310629 [details] Fixes the bug r=me
Comment on attachment 310629 [details] Fixes the bug Clearing flags on attachment: 310629 Committed r217107: <http://trac.webkit.org/changeset/217107>
All reviewed patches have been landed. Closing bug.