New issue
Advanced search Search tips

Issue 591048 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

IndexedDB objectStore.get() returns wrong event type

Reported by jodi.k...@gmail.com, Mar 1 2016

Issue description

Chrome Version       : Versie 48.0.2564.116 m

Bug javascript  IndexedDB:

Expected:
objectStore.get(key).onsuccess=function(event){ event.target !==null} 

Found: 
event.target is undefined

Probable cause: 
returned event is of type Event, not IDBEvent

N.B. the following works as expected:
objectStore.openCursor().onsuccess = function(event) {
  var key = event.target.result.key;
}

 

Comment 1 Deleted

Problem solved after reinstalling chrome.
Status: WontFix (was: Unconfirmed)
As per comment #2 closing this issue. Please raise a new issue if you come across the similar one on latest chrome version.

Thanks!

Sign in to add a comment