This can use the observer API - see
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h?q=IDBObserver&dr=CSs&l=28
for the observer object. Because DevTools needs to specify the security origin, we can't really write plain javascript, so we'll probably need to create all of the objects from CPP.
Important note - we'll need to throttle our changes to devtools, and perhaps set up some polling model - so a site can't DOS devtools.
Another note - we'll have to carefully think about how this will change the view when we're looking at the data grid. Do we keep the same 'position'? Do we pin to the top key?
Comment 1 by dmu...@chromium.org
, Jun 5 2017