[Chromium] WebIDBKeyRange should handle null left/right pointers
Created attachment 69888 [details] Patch
Comment on attachment 69888 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69888&action=review > WebKit/chromium/src/WebIDBKeyRange.cpp:44 > + if (left.type() == WebIDBKey::InvalidType && right.type() == WebIDBKey::InvalidType) Will it ever be the case that only one of these is invalid? LGTM otherwise.
Comment on attachment 69888 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69888&action=review >> WebKit/chromium/src/WebIDBKeyRange.cpp:44 >> + if (left.type() == WebIDBKey::InvalidType && right.type() == WebIDBKey::InvalidType) > > Will it ever be the case that only one of these is invalid? > > LGTM otherwise. Yeah. You can have items that are either left bounded or right bounded (but not both).
Committed r69208: <http://trac.webkit.org/changeset/69208>