WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110677
IndexedDB: Histogram all exits from IDBBackingStore::open
https://bugs.webkit.org/show_bug.cgi?id=110677
Summary
IndexedDB: Histogram all exits from IDBBackingStore::open
David Grogan
Reported
2013-02-22 18:23:33 PST
IndexedDB: Assert that IDBBackingStore::open's fallthrough path is not entered
Attachments
Patch
(3.17 KB, patch)
2013-02-22 18:33 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch
(3.16 KB, patch)
2013-02-22 19:49 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.25 KB, patch)
2013-02-28 10:24 PST
,
David Grogan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
David Grogan
Comment 1
2013-02-22 18:33:35 PST
Created
attachment 189890
[details]
Patch
David Grogan
Comment 2
2013-02-22 18:43:09 PST
Josh or Alec, could you take a look? IO error on schema check and failed openInMemory were the last two situations caught by the fallthrough that is now histogrammed as UnknownErr.
Joshua Bell
Comment 3
2013-02-22 19:33:39 PST
Comment on
attachment 189890
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=189890&action=review
lgtm
> Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp:374 > + if (db)
Restructure this as an early exit to reduce the amount of nesting? if (!db) { blah; return; } blah; ... but it's not a huge win here.
David Grogan
Comment 4
2013-02-22 19:48:52 PST
Comment on
attachment 189890
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=189890&action=review
>> Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp:374 >> + if (db) > > Restructure this as an early exit to reduce the amount of nesting? > > if (!db) { > blah; > return; > } > blah; > > ... but it's not a huge win here.
Done.
David Grogan
Comment 5
2013-02-22 19:49:46 PST
Created
attachment 189901
[details]
Patch
David Grogan
Comment 6
2013-02-22 19:50:35 PST
Tony, could you review this?
Build Bot
Comment 7
2013-02-22 21:56:49 PST
Comment on
attachment 189901
[details]
Patch
Attachment 189901
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://queues.webkit.org/results/16714498
New failing tests: fast/css/sticky/sticky-both-sides.html fast/css/sticky/inline-sticky.html
Tony Chang
Comment 8
2013-02-25 09:52:29 PST
Comment on
attachment 189901
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=189901&action=review
> Source/WebCore/ChangeLog:8 > + Reviewed by NOBODY (OOPS!). > + > + * Modules/indexeddb/IDBBackingStore.cpp:
Nit: You should still have a line here saying why there is no test. E.g., No tests because this only changes logging code. In the long run, we may want to come up with a way to write a test for this in webkit_unit_tests.
David Grogan
Comment 9
2013-02-28 10:24:57 PST
Created
attachment 190751
[details]
Patch for landing
David Grogan
Comment 10
2013-02-28 10:26:05 PST
(In reply to
comment #8
)
> (From update of
attachment 189901
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=189901&action=review
> > > Source/WebCore/ChangeLog:8 > > + Reviewed by NOBODY (OOPS!). > > + > > + * Modules/indexeddb/IDBBackingStore.cpp: > > Nit: You should still have a line here saying why there is no test. E.g., No tests because this only changes logging code. In the long run, we may want to come up with a way to write a test for this in webkit_unit_tests.
Done.
WebKit Review Bot
Comment 11
2013-02-28 11:06:05 PST
Comment on
attachment 190751
[details]
Patch for landing Clearing flags on attachment: 190751 Committed
r144330
: <
http://trac.webkit.org/changeset/144330
>
WebKit Review Bot
Comment 12
2013-02-28 11:06:09 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug