IDB: Three tests crash the DatabaseProcess under ~KeyedDecoder Each of these tests encoded an empty array. The decoder handles decoding empty arrays, but the empty array is never encoded! Two of these tests now pass, and the other switches over to a "non-trivial text failure"
Created attachment 224107 [details] Patch v1
Comment on attachment 224107 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=224107&action=review > Source/WebCore/platform/KeyedCoding.h:154 > + // Even if this array is empty, the empty array still needs to be recorded. > + if (begin == end) { > + beginArray(key); > + endArray(); > return; > + } Just remove this instead, the code below will do the right thing.
http://trac.webkit.org/changeset/164062