Bug 150543 - Modern IDB: Backing store objectStores (plumbing for b/150468)
Summary: Modern IDB: Backing store objectStores (plumbing for b/150468)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks: 149117 150468
  Show dependency treegraph
 
Reported: 2015-10-24 21:50 PDT by Brady Eidson
Modified: 2015-10-26 14:08 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (22.85 KB, patch)
2015-10-24 21:55 PDT, Brady Eidson
beidson: review-
Details | Formatted Diff | Diff
Patch v2 (22.85 KB, patch)
2015-10-25 10:24 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch v3 (22.87 KB, patch)
2015-10-25 11:10 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch v4 - Attempt to placate busted gcc (22.88 KB, patch)
2015-10-25 11:27 PDT, Brady Eidson
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2015-10-24 21:50:07 PDT
Modern IDB: Backing store objectStores (plumbing for b/150468)

This is followup to https://bugs.webkit.org/show_bug.cgi?id=150455, but untestable until https://bugs.webkit.org/show_bug.cgi?id=150468

Why separate from 150468?

Makes both this and 150468 smaller patches to review.
Comment 1 Brady Eidson 2015-10-24 21:55:53 PDT
Created attachment 264002 [details]
Patch v1
Comment 2 Brady Eidson 2015-10-24 22:05:38 PDT
My tree is two days out of date. I was hoping this patch would build without having to update... oh well!

r- for now until I can rebase and rebuild.
Comment 3 Brady Eidson 2015-10-25 10:24:14 PDT
Created attachment 264011 [details]
Patch v2
Comment 4 Brady Eidson 2015-10-25 11:08:18 PDT
Guh.  Okay...
Comment 5 Brady Eidson 2015-10-25 11:10:37 PDT
Created attachment 264015 [details]
Patch v3
Comment 6 Brady Eidson 2015-10-25 11:27:00 PDT
Created attachment 264016 [details]
Patch v4 - Attempt to placate busted gcc
Comment 7 Alex Christensen 2015-10-26 10:18:11 PDT
Comment on attachment 264016 [details]
Patch v4 - Attempt to placate busted gcc

View in context: https://bugs.webkit.org/attachment.cgi?id=264016&action=review

> Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp:110
> +    if (m_databaseInfo->hasObjectStore(info.name()))

ASSERT(m_databaseInfo);
Comment 8 Alex Christensen 2015-10-26 10:20:44 PDT
Comment on attachment 264016 [details]
Patch v4 - Attempt to placate busted gcc

View in context: https://bugs.webkit.org/attachment.cgi?id=264016&action=review

> Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:225
> +    m_backingStore->createObjectStore(transaction.info().identifier(), info);

ASSERT(m_backingStore)
Comment 9 Brady Eidson 2015-10-26 14:08:23 PDT
https://trac.webkit.org/changeset/191598