RESOLVED FIXED Bug 113597
[Chromium] IndexedDB: Turn "should only be true in unit tests" comments into ASSERTs
https://bugs.webkit.org/show_bug.cgi?id=113597
Summary [Chromium] IndexedDB: Turn "should only be true in unit tests" comments into ...
Joshua Bell
Reported 2013-03-29 12:13:56 PDT
[Chromium] IndexedDB: Turn "should only be true in unit tests" comments into ASSERTs
Attachments
Patch (2.65 KB, patch)
2013-03-29 12:16 PDT, Joshua Bell
no flags
Patch (2.71 KB, patch)
2013-04-01 13:20 PDT, Joshua Bell
no flags
Joshua Bell
Comment 1 2013-03-29 12:16:17 PDT
Joshua Bell
Comment 2 2013-03-29 12:16:43 PDT
alecflett@, dgrogan@ - worth it or overkill?
David Grogan
Comment 3 2013-03-29 12:21:40 PDT
Comment on attachment 195778 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195778&action=review Definitely worth it. > Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp:1359 > + ASSERT(m_factory || WebKit::Platform::current()->unitTestSupport()); Does it make sense to put #else ASSERT(m_factory) Do the other ports have unit tests?
Joshua Bell
Comment 4 2013-03-29 12:27:57 PDT
Comment on attachment 195778 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195778&action=review >> Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp:1359 >> + ASSERT(m_factory || WebKit::Platform::current()->unitTestSupport()); > > Does it make sense to put > #else > ASSERT(m_factory) > > Do the other ports have unit tests? Not at this level of intrusion. Waffling on the #else - it's valid for now so probably worth adding.
Joshua Bell
Comment 5 2013-04-01 13:20:16 PDT
Joshua Bell
Comment 6 2013-04-01 13:20:40 PDT
abarth@ - could you take a look at this?
WebKit Review Bot
Comment 7 2013-04-01 22:28:02 PDT
Comment on attachment 196014 [details] Patch Clearing flags on attachment: 196014 Committed r147381: <http://trac.webkit.org/changeset/147381>
WebKit Review Bot
Comment 8 2013-04-01 22:28:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.