New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 814292 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

indexedDB.open() is not doing anything, none of the callbacks are called

Reported by austin.f...@gmail.com, Feb 21 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Steps to reproduce the problem:
1. Create page with following content

<script>
var r = indexedDB.open("testdb");
r.onerror = console.dir;
r.onversionchange = console.dir;
r.onsuccess = console.dir;
</script>

2. Open in chrome

What is the expected behavior?
console should show a success event

What went wrong?
Nothing is output to console.

Did this work before? Yes not sure

Does this work in other browsers? Yes

Chrome version: 64.0.3282.167  Channel: n/a
OS Version: 10.0
Flash Version: 

Works in

Firefox (PC and macOS)
Safari (macOS)
Safari (iOS)
Chrome (Android WebView)

Doesn't work in

Chrome (macOS) Chrome/64.0.3282.167 Safari/537.36
Chrome (PC) Chrome/64.0.3282.167 Safari/537.36
 
To clarify 

> Did this work before? Yes not sure

Did this work before?  Yes
What version? not sure

Correction, apologies, I confused myself with all the browser testing.

Works in Chrome on macOS
Doesn't work in Chrome on Windows

So its just on Windows it doesn't work.
Also works in Microsoft Edge on Windows.
Labels: Needs-Triage-M64 Needs-Bisect
Cc: krajshree@chromium.org
Components: Platform>DevTools
Labels: Triaged-ET Needs-Feedback
austin.france@ - Thanks for filing the issue...!!

Could you please provide a sample test file/url to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
If Platform>DevTools means inspector/debugger, then I must make it clear, it isn't specific to devtools, it is a problem in the browser, not in devtools.

The code to reproduce this can be found in the opening comment.  Attached that code as a file for your convenience.

No idea what TE-end means.
indexeddb.html
138 bytes View Download
Project Member

Comment 7 by sheriffbot@chromium.org, Feb 22 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
Unable to reproduce the issue on Win-10 using chrome reported version #64.0.3282.167 and latest canary #66.0.3352.0.

Attached a screen cast for reference.

Following are the steps followed to reproduce the issue.
------------
1. Opened the attached file "indexeddb.html"
2. Observed that console showed a success event as expected.

austin.france@ - Could you please check the issue on latest canary #66.0.3352.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.

Thanks...!!
814292.mp4
546 KB View Download
Chrome Canary doesn't work at all.  Everything just awe snaps.  chrome://about and trying to open indexeddb.html as well as new tab.  This being a brand new install of canary, using --user-data-dir to create a new profile.


chrome-canary-dev-profile.png
45.3 KB View Download
chrome-canary-aw-snap.png
16.3 KB View Download
Ran normal chrome, with --user-data-dir pointing at empty folder, and indexeddb.html works fine.  So something to do with my normal chrome profile I guess.
I can see the indexeddb folders from my tests in my profile.  

http_10.119.103.2_0_indexeddb.blob
http_10.119.103.2_0_indexeddb.leveldb

file__0_indexeddb.leveldb

and the contents of file__0_indexedbd.leveldb look identical to the contents in the profile thats working, just that in my normal profile (with or without --disable-extensions) the events don't fire.

Happy for this to be put down to a corrupt profile and remove it, though I will wait to see if you need any further info before I do.

indexeddb-in-profile.png
32.6 KB View Download
chrome-no-extensions-broken.png
38.1 KB View Download

Comment 12 by alph@chromium.org, Mar 3 2018

Components: -Platform>DevTools Blink>Storage>IndexedDB
Project Member

Comment 13 by sheriffbot@chromium.org, Mar 3 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Bisect
As per comment #10 and #11, it seems that the issue is profile specific and also the issue is not reproducible from TE-end. Hence, removing the Needs-Bisect label and requesting someone from Blink>Storage>IndexedDB team to please have a look into the issue.

Thanks...!!
Status: (was: Unconfirmed)
This should be fixed in m66 with https://chromiumdash.appspot.com/commit/2a9a8201b8c0b213aa41b6a390e9324113176f15

If you use m65 (which I believe is Beta right now), try launching chrome with this feature disabled: LevelDBFileHandleEviction

so --disabled-features=LevelDBFileHandleEviction
Owner: dmu...@chromium.org
Status: Assigned
Whoops, --disable-features=LevelDBFileHandleEviction

IF this fixes the problem, please let me know! this will confirm the issue.
Labels: Needs-Feedback
Duplicate bug here: https://bugs.chromium.org/p/chromium/issues/detail?id=795369

I'm going to keep this one open in case there is a confirmation of the problem.

Comment 18 Deleted

It works on m65 anyway, with or without that option. So, to clarify, it's only an issue for me on m64 using my existing profile.

My issue doesn't sound like the same as 795369, unless you think its stuck opening the db and never times out, so I never get an event.

The DB being opened is a new db, rather than an existing one, so the browser just created it.  Can change the db name in the test html and observe the same behaviour.

Status: Fixed (was: Assigned)
This should be fixed.

Sign in to add a comment