Summary: | Modern IDB: Success-after-open event should only have the IDBOpenDBRequest as its target | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||||||
Component: | WebCore Misc. | Assignee: | Brady Eidson <beidson> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, alecflett, commit-queue, jsbell | ||||||||
Priority: | P2 | ||||||||||
Version: | Safari 9 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 149117, 152554 | ||||||||||
Attachments: |
|
Description
Brady Eidson
2016-01-07 17:15:57 PST
Created attachment 268515 [details]
Patch v1
Comment on attachment 268515 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=268515&action=review > Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp:284 > + if (&event == m_openDatabaseSuccessEvent) You do this comparison unnecessarily twice. I think it should look like this: if (&event == m_openDatabaseSuccessEvent) m_openDatabaseSuccessEvent = nullptr; else if (m_transaction) { ... } Created attachment 268528 [details]
Patch for landing
Attachment 268528 [details] did not pass style-queue:
ERROR: Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp:279: Extra space before ) in if [whitespace/parens] [5]
Total errors found: 1 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 268529 [details]
Patch for landing
Comment on attachment 268529 [details] Patch for landing Clearing flags on attachment: 268529 Committed r194754: <http://trac.webkit.org/changeset/194754> All reviewed patches have been landed. Closing bug. |