New issue
Advanced search Search tips

Issue 838386 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 903515



Sign in to add a comment

IndexedDBBackingStore should have thread checks

Project Member Reported by w...@chromium.org, Apr 30 2018

Issue description

IndexedDBBackingStore currently lacks thread-checks, as a result of which it passes its unit-tests, even when they access or teardown e.g. Transactions on the wrong threads.
 

Comment 1 by jsb...@chromium.org, Apr 30 2018

Status: Available (was: Untriaged)

Comment 2 by w...@chromium.org, Apr 30 2018

FWIW, started a CL at https://chromium-review.googlesource.com/c/chromium/src/+/1036445 for some of this.

Comment 3 by w...@chromium.org, May 1 2018

Cc: dmu...@chromium.org
Owner: w...@chromium.org
Status: Started (was: Available)
Project Member

Comment 5 by bugdroid1@chromium.org, May 14 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c655bcf2798dff39bbebaa2d4eeb276f7a0bfff4

commit c655bcf2798dff39bbebaa2d4eeb276f7a0bfff4
Author: Wez <wez@chromium.org>
Date: Mon May 14 01:39:46 2018

Do not tolerate null TaskRunner in IndexedDBBackingStore.

Allowances were added in thread checks, but these are no longer
required since the fake for this class now grabs the calling-thread's
TaskRunner.

Bug: 838386
Change-Id: I27bc5bc192067ac5fc6c1636108dad30e92190f0
Reviewed-on: https://chromium-review.googlesource.com/1056252
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558171}
[modify] https://crrev.com/c655bcf2798dff39bbebaa2d4eeb276f7a0bfff4/content/browser/indexed_db/indexed_db_backing_store.cc

Comment 6 by w...@chromium.org, May 14 2018

Cc: -dmu...@chromium.org
Owner: dmu...@chromium.org
Status: Assigned (was: Started)
dmurph: Assigning to you in case there are any further checks you'd like to add to this code, e.g. I haven't touched the *Transaction or other helper classes, for example.
Blockedon: 903515
This should mostly fall out of the IndexedDB rewrite with scopes.
Cc: dmu...@chromium.org
Status: Available (was: Assigned)
Removing myself from blocked issues
Owner: ----

Sign in to add a comment