WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 152600
Modern IDB: storage/indexeddb/database-deletepending-flag.html fails
https://bugs.webkit.org/show_bug.cgi?id=152600
Summary
Modern IDB: storage/indexeddb/database-deletepending-flag.html fails
Brady Eidson
Reported
2015-12-30 14:24:36 PST
Modern IDB: storage/indexeddb/database-deletepending-flag.html fails We didn't *actually* delete the backing store when handling a delete operation in the server. Therefore a new fresh backing store was never created, which this test expects.
Attachments
Patch v1
(10.18 KB, patch)
2015-12-30 14:46 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch v1
(10.18 KB, patch)
2015-12-30 21:45 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch v2
(9.34 KB, patch)
2015-12-31 22:53 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2015-12-30 14:46:33 PST
Created
attachment 268012
[details]
Patch v1
Brady Eidson
Comment 2
2015-12-30 14:48:50 PST
Doesn't apply to trunk because it builds off of the patch in 152593 =/
Andy Estes
Comment 3
2015-12-30 15:31:20 PST
I just reviewed 152593, if you want to land that and resubmit this for EWS analysis.
Alex Christensen
Comment 4
2015-12-30 20:48:21 PST
Comment on
attachment 268012
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=268012&action=review
> Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:187 > + BackingStoreDeleteMode deleteMode = m_pendingOpenDBRequests.isEmpty() ? BackingStoreDeleteMode::DeleteOnly : BackingStoreDeleteMode::DeleteThenReopen;
Is it possible to make an open db request between starting and finishing deleting a backing store?
Brady Eidson
Comment 5
2015-12-30 21:45:41 PST
Created
attachment 268026
[details]
Patch v1
Brady Eidson
Comment 6
2015-12-30 22:29:10 PST
(In reply to
comment #4
)
> Comment on
attachment 268012
[details]
> Patch v1 > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=268012&action=review
> > > Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:187 > > + BackingStoreDeleteMode deleteMode = m_pendingOpenDBRequests.isEmpty() ? BackingStoreDeleteMode::DeleteOnly : BackingStoreDeleteMode::DeleteThenReopen; > > Is it possible to make an open db request between starting and finishing > deleting a backing store?
Great question - Yes. I'll rethink the async call. Won't be too hard to fix that issue... but it will be nigh impossible to test. =/
Brady Eidson
Comment 7
2015-12-31 22:53:50 PST
Created
attachment 268070
[details]
Patch v2 Without the bug Alex spotted, and much simpler anyways.
WebKit Commit Bot
Comment 8
2016-01-01 21:49:18 PST
Comment on
attachment 268070
[details]
Patch v2 Clearing flags on attachment: 268070 Committed
r194488
: <
http://trac.webkit.org/changeset/194488
>
WebKit Commit Bot
Comment 9
2016-01-01 21:49:22 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