Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed)

Created:
4 years, 5 months ago by palakj1
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, jsbell+idb_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lifetime
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[IndexedDB] Propogating changes to observers * Changes received from browser are multiplexed and passed on to each observer. * Each observer extracts the required subset of observations from bulk observations of the connnection using its array of indices. * The callback is fired with a map of object store to array of observations. Current Implementation and Future Scope: https://goo.gl/Y2dobn Reference: https://github.com/dmurph/indexed-db-observers/blob/gh-pages/EXPLAINER.md BUG=609934 Committed: https://crrev.com/2751bda57a56b4d2bc02899a8a39e3026fccc599 Cr-Commit-Position: refs/heads/master@{#406722}

Patch Set 1 #

Patch Set 2 : Filtering Changes to Observer : Browser End #

Total comments: 19

Patch Set 3 : Post cmumford review #

Total comments: 16

Patch Set 4 : Post dmurph review #

Total comments: 15

Patch Set 5 : Propogating Changes : Renderer #

Patch Set 6 : Propogating Changes to Renderer #

Patch Set 7 : Propogating Changes to Renderer #

Total comments: 37

Patch Set 8 : IDBDatabase weakptr introduced on IDBObserver #

Total comments: 24

Patch Set 9 : Implements IDBObserverChanges IDL records map #

Total comments: 7

Patch Set 10 : Implements Map in IDBObserverChanges idl #

Total comments: 11

Patch Set 11 : Minor bugs fixed #

Total comments: 55

Patch Set 12 : Operation type support added #

Patch Set 13 : Observer test added #

Patch Set 14 : Test added #

Total comments: 10

Patch Set 15 : Tests added #

Patch Set 16 : Tests added #

Total comments: 10

Patch Set 17 : Options constrcutor modified #

Total comments: 17

Patch Set 18 : Renderer Changes #

Patch Set 19 : Observer changes at renderer #

Patch Set 20 : Renderer changes #

Patch Set 21 : Expected tests changed #

Patch Set 22 : Renderer changes #

Patch Set 23 : Expected test results changed #

Patch Set 24 : Renderer changes #

Total comments: 38

Patch Set 25 : Post cmumford review #

Patch Set 26 : Minor fix #

Total comments: 15

Patch Set 27 : Post haraken review #

Total comments: 1

Patch Set 28 : Post haraken review #

Total comments: 6

Patch Set 29 : Post wfh, chrishtr review #

Total comments: 1

Patch Set 30 : Minor fix #

Patch Set 31 : Minor typecasting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -91 lines) Patch
M content/browser/indexed_db/indexed_db_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -1 line 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +9 lines, -0 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 6 chunks +45 lines, -2 lines 0 comments Download
M content/child/indexed_db/indexed_db_key_builders.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M content/child/indexed_db/indexed_db_key_builders.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.h View 1 2 3 4 5 6 7 8 9 10 11 18 19 2 chunks +3 lines, -2 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 18 19 1 chunk +5 lines, -6 lines 0 comments Download
M content/common/indexed_db/indexed_db_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/storage/indexeddb/observer.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/storage/indexeddb/observer-worker.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/storage/indexeddb/resources/generic-idb-operations.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +65 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/storage/indexeddb/resources/observer.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +130 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h View 1 2 3 4 5 6 7 8 9 10 25 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +34 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObservation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObservation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +17 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +17 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +27 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h View 1 2 3 4 5 6 7 8 9 10 25 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +23 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserverInit.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h View 1 2 3 4 5 6 7 8 9 10 11 12 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h View 1 2 3 4 5 6 7 8 9 10 11 18 19 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/modules/indexeddb/WebIDBObservation.h View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 131 (58 generated)
palakj1
Please have a look.
4 years, 5 months ago (2016-07-07 20:05:42 UTC) #3
cmumford
Just a very quick (and incomplete) first pass by me. BTW the IDB unit tests ...
4 years, 5 months ago (2016-07-07 21:14:22 UTC) #4
palakj1
This is a wip. Changes are filtered and recorded at the backend and sent through ...
4 years, 5 months ago (2016-07-08 17:37:56 UTC) #5
dmurph
Hey! major comment here is to merge the message struct and the indexed_db_observer_changes, see the ...
4 years, 5 months ago (2016-07-08 18:40:44 UTC) #6
palakj1
Please have a look. Regarding sending message to renderer, is my current method of copying ...
4 years, 5 months ago (2016-07-08 22:17:54 UTC) #7
cmumford
On 2016/07/08 22:17:54, palakj1 wrote: > Please have a look. > > Regarding sending message ...
4 years, 5 months ago (2016-07-08 22:50:04 UTC) #8
dmurph
On 2016/07/08 22:50:04, cmumford wrote: > On 2016/07/08 22:17:54, palakj1 wrote: > > Please have ...
4 years, 5 months ago (2016-07-08 22:53:35 UTC) #9
palakj1
On 2016/07/08 at 22:53:35, dmurph wrote: > On 2016/07/08 22:50:04, cmumford wrote: > > On ...
4 years, 5 months ago (2016-07-08 23:03:07 UTC) #10
dmurph
https://codereview.chromium.org/2125213002/diff/60001/content/browser/indexed_db/indexed_db_dispatcher_host.cc File content/browser/indexed_db/indexed_db_dispatcher_host.cc (right): https://codereview.chromium.org/2125213002/diff/60001/content/browser/indexed_db/indexed_db_dispatcher_host.cc#newcode327 content/browser/indexed_db/indexed_db_dispatcher_host.cc:327: idb_changes.observation_index = changes->observation_index(); Since you grab a unique_ptr, you ...
4 years, 5 months ago (2016-07-08 23:51:40 UTC) #11
Marijn Kruisselbrink
some minor comments https://codereview.chromium.org/2125213002/diff/60001/content/browser/indexed_db/indexed_db_observation.cc File content/browser/indexed_db/indexed_db_observation.cc (right): https://codereview.chromium.org/2125213002/diff/60001/content/browser/indexed_db/indexed_db_observation.cc#newcode10 content/browser/indexed_db/indexed_db_observation.cc:10: DCHECK(type_ == blink::WebIDBClear); DCHECK_EQ(type_, blink::WebIDBClear) https://codereview.chromium.org/2125213002/diff/60001/content/browser/indexed_db/indexed_db_observation.cc#newcode16 ...
4 years, 5 months ago (2016-07-08 23:57:57 UTC) #12
palakj1
Please have a look. * Note that we require IDBDatabase object as a part of ...
4 years, 5 months ago (2016-07-11 05:33:27 UTC) #13
jsbell
Exciting! Overall this is looking like it's on track. Review is just initial notes; I'll ...
4 years, 5 months ago (2016-07-11 18:25:34 UTC) #14
dmurph
Josh's comment about putting a little more logic WebIDBDatabaseCallbacksImpl is interesting, does that make things ...
4 years, 5 months ago (2016-07-11 19:12:30 UTC) #15
palakj1
We have 2 alternatives to fetching IDBDatabase for our callback as discussed in the comments. ...
4 years, 5 months ago (2016-07-11 19:37:54 UTC) #16
jsbell
https://codereview.chromium.org/2125213002/diff/120001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/120001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode826 content/child/indexed_db/indexed_db_dispatcher.cc:826: // TODO(palakj): Get IDBDatabase object from ipc_database_id. On 2016/07/11 ...
4 years, 5 months ago (2016-07-11 21:23:04 UTC) #17
palakj1
Please have a look. https://codereview.chromium.org/2125213002/diff/120001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2125213002/diff/120001/content/browser/indexed_db/indexed_db_connection.cc#newcode15 content/browser/indexed_db/indexed_db_connection.cc:15: : id_(kInvalidId), On 2016/07/11 at ...
4 years, 5 months ago (2016-07-11 22:25:41 UTC) #18
Marijn Kruisselbrink
https://codereview.chromium.org/2125213002/diff/140001/content/browser/indexed_db/indexed_db_database.cc File content/browser/indexed_db/indexed_db_database.cc (right): https://codereview.chromium.org/2125213002/diff/140001/content/browser/indexed_db/indexed_db_database.cc#newcode599 content/browser/indexed_db/indexed_db_database.cc:599: std::move(change_map[it->id()]); Rather than using operator[] to look up the ...
4 years, 5 months ago (2016-07-11 23:10:40 UTC) #19
palakj1
Implemented IDBObserverChanges IDL map for records. After discussion with +ikilpatrick and +dehrenberg, I inferred the ...
4 years, 5 months ago (2016-07-13 00:43:51 UTC) #21
haraken
On 2016/07/13 00:43:51, palakj1 wrote: > Implemented IDBObserverChanges IDL map for records. > > After ...
4 years, 5 months ago (2016-07-13 01:55:19 UTC) #22
palakj1
https://codereview.chromium.org/2125213002/diff/160001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2125213002/diff/160001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode70 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:70: observerIdsToRemove.push_back(it.key); typo : the if and else condition must ...
4 years, 5 months ago (2016-07-13 17:47:19 UTC) #23
Marijn Kruisselbrink
On 2016/07/13 at 01:55:19, haraken wrote: > On 2016/07/13 00:43:51, palakj1 wrote: > > Implemented ...
4 years, 5 months ago (2016-07-13 17:58:45 UTC) #24
palakj1
* IDBObserverChanges idl records changed to v8::Map to support javascript map object. +haraken Does this ...
4 years, 5 months ago (2016-07-13 22:48:38 UTC) #25
dmurph
This looks really great! few nits, and one copy perf improvement. https://codereview.chromium.org/2125213002/diff/180001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): ...
4 years, 5 months ago (2016-07-13 23:29:13 UTC) #26
Marijn Kruisselbrink
https://codereview.chromium.org/2125213002/diff/180001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp (right): https://codereview.chromium.org/2125213002/diff/180001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp#newcode47 third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp:47: HeapVector<Member<IDBObservation>> result; On 2016/07/13 at 23:29:13, dmurph wrote: > ...
4 years, 5 months ago (2016-07-13 23:34:39 UTC) #27
palakj1
Please have a look Test cases to be added. https://codereview.chromium.org/2125213002/diff/180001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/180001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode832 content/child/indexed_db/indexed_db_dispatcher.cc:832: ...
4 years, 5 months ago (2016-07-14 17:52:07 UTC) #29
dmurph
Awesome awesome! Last thing: for the layout tests, can you separate each test case out ...
4 years, 5 months ago (2016-07-14 18:32:55 UTC) #30
jsbell
https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_connection.h#newcode53 content/browser/indexed_db/indexed_db_connection.h:53: int32_t id_ = kInvalidId; /* ipc_database_id */ Match the ...
4 years, 5 months ago (2016-07-14 20:08:14 UTC) #31
cmumford
https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_database.cc File content/browser/indexed_db/indexed_db_database.cc (right): https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_database.cc#newcode549 content/browser/indexed_db/indexed_db_database.cc:549: bool noRecords, +1 to jsbell's suggestion. Also naming convention ...
4 years, 5 months ago (2016-07-14 21:11:35 UTC) #32
dmurph
After chatting with Josh, we decided that the more expansive test suite that we discussed ...
4 years, 5 months ago (2016-07-15 17:29:30 UTC) #33
palakj1
Tests not complete yet. Please have a look. https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2125213002/diff/200001/content/browser/indexed_db/indexed_db_connection.h#newcode53 content/browser/indexed_db/indexed_db_connection.h:53: int32_t ...
4 years, 5 months ago (2016-07-15 20:16:05 UTC) #34
palakj1
4 years, 5 months ago (2016-07-15 22:17:40 UTC) #39
palakj1
Test added. Please have a look.
4 years, 5 months ago (2016-07-15 22:21:04 UTC) #40
dmurph
Thanks for making things a little more extendable on the testing front. We can expand ...
4 years, 5 months ago (2016-07-15 23:30:27 UTC) #45
palmer
https://codereview.chromium.org/2125213002/diff/260001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2125213002/diff/260001/content/browser/indexed_db/indexed_db_connection.h#newcode54 content/browser/indexed_db/indexed_db_connection.h:54: int32_t id_ = kInvalidId; Style nit (ignore me if ...
4 years, 5 months ago (2016-07-16 00:03:14 UTC) #46
palakj1
The patch is almost complete w/ tests and a minor fix in IDBObservation (replacing 'kDelete' ...
4 years, 5 months ago (2016-07-18 22:02:30 UTC) #51
Marijn Kruisselbrink
lgtm https://codereview.chromium.org/2125213002/diff/300001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (left): https://codereview.chromium.org/2125213002/diff/300001/content/browser/indexed_db/indexed_db_connection.h#oldcode51 content/browser/indexed_db/indexed_db_connection.h:51: nit: don't delete this blank line https://codereview.chromium.org/2125213002/diff/300001/content/browser/indexed_db/indexed_db_dispatcher_host.cc File ...
4 years, 5 months ago (2016-07-18 22:21:11 UTC) #52
palakj1
Please have a look. Tests to be added with another cl. https://codereview.chromium.org/2125213002/diff/300001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (left): ...
4 years, 5 months ago (2016-07-18 22:42:18 UTC) #53
jsbell
lgtm with a few last nits. I did not look at the updated tests in ...
4 years, 5 months ago (2016-07-18 23:38:57 UTC) #54
palakj1
Please have a look. https://codereview.chromium.org/2125213002/diff/320001/content/browser/indexed_db/indexed_db_observer.h File content/browser/indexed_db/indexed_db_observer.h (right): https://codereview.chromium.org/2125213002/diff/320001/content/browser/indexed_db/indexed_db_observer.h#newcode27 content/browser/indexed_db/indexed_db_observer.h:27: // Operation types and corresponding ...
4 years, 5 months ago (2016-07-19 03:53:11 UTC) #55
palakj1
4 years, 5 months ago (2016-07-19 05:43:21 UTC) #61
dmurph
On 2016/07/19 05:43:21, palakj1 wrote: You can move the IDBObserverChangesRecord.idl changes out of this CL ...
4 years, 5 months ago (2016-07-19 05:50:11 UTC) #64
palakj1
On 2016/07/19 at 05:50:11, dmurph wrote: > On 2016/07/19 05:43:21, palakj1 wrote: > > You ...
4 years, 5 months ago (2016-07-19 05:51:34 UTC) #65
palakj1
4 years, 5 months ago (2016-07-19 18:34:21 UTC) #68
palakj1
Please have a look.
4 years, 5 months ago (2016-07-19 23:00:00 UTC) #73
cmumford
most (or all) are nits. https://codereview.chromium.org/2125213002/diff/460001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/460001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode137 content/child/indexed_db/indexed_db_dispatcher.cc:137: web_observation.keyRange = Are you ...
4 years, 5 months ago (2016-07-20 00:25:13 UTC) #76
palakj1
Please have a look https://codereview.chromium.org/2125213002/diff/460001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/460001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode137 content/child/indexed_db/indexed_db_dispatcher.cc:137: web_observation.keyRange = On 2016/07/20 at ...
4 years, 5 months ago (2016-07-20 01:33:36 UTC) #77
palakj1
https://codereview.chromium.org/2125213002/diff/460001/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h File third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h (right): https://codereview.chromium.org/2125213002/diff/460001/third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h#newcode19 third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h:19: virtual void handleChanges(IDBObserverChanges&, IDBObserver&) = 0; On 2016/07/20 at ...
4 years, 5 months ago (2016-07-20 03:01:15 UTC) #82
cmumford
lgtm
4 years, 5 months ago (2016-07-20 14:39:07 UTC) #87
haraken
Sorry about the review delay. Mostly looks good! https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp File third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp#newcode59 third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp:59: exceptionCatcher.SetVerbose(true); ...
4 years, 5 months ago (2016-07-20 16:22:12 UTC) #88
jsbell
https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp File third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp#newcode176 third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp:176: SECURITY_DCHECK(it != m_metadata.objectStores.end()); On 2016/07/20 16:22:11, haraken wrote: > ...
4 years, 5 months ago (2016-07-20 17:18:31 UTC) #89
palakj1
https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp File third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp#newcode59 third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp:59: exceptionCatcher.SetVerbose(true); On 2016/07/20 at 16:22:11, haraken wrote: > Would ...
4 years, 5 months ago (2016-07-20 18:22:11 UTC) #90
jsbell
https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp#newcode26 third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp:26: v8CallOrCrash(map->Set(context, key, value)); On 2016/07/20 18:22:11, palakj1 wrote: > ...
4 years, 5 months ago (2016-07-20 18:41:48 UTC) #91
palakj1
On 2016/07/20 at 18:41:48, jsbell wrote: > https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp > File third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp (right): > > https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp#newcode26 ...
4 years, 5 months ago (2016-07-20 18:59:47 UTC) #92
palakj1
4 years, 5 months ago (2016-07-20 19:00:18 UTC) #94
haraken
https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp File third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp#newcode59 third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp:59: exceptionCatcher.SetVerbose(true); On 2016/07/20 18:22:11, palakj1 wrote: > On 2016/07/20 ...
4 years, 5 months ago (2016-07-20 19:02:14 UTC) #96
adamk
https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp (right): https://codereview.chromium.org/2125213002/diff/500001/third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp#newcode26 third_party/WebKit/Source/modules/indexeddb/IDBObserverChanges.cpp:26: v8CallOrCrash(map->Set(context, key, value)); On 2016/07/20 18:41:48, jsbell wrote: > ...
4 years, 5 months ago (2016-07-20 19:04:04 UTC) #98
haraken
BTW, you need to get an LG from a public API owner to land this ...
4 years, 5 months ago (2016-07-20 19:05:41 UTC) #99
haraken
LGTM https://codereview.chromium.org/2125213002/diff/520001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp File third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp (right): https://codereview.chromium.org/2125213002/diff/520001/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp#newcode60 third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp:60: V8ScriptRunner::callFunction(m_callback.newLocal(m_scriptState->isolate()), m_scriptState->getExecutionContext(), thisObject, 1, argv, m_scriptState->isolate()); 1 => ...
4 years, 5 months ago (2016-07-20 19:11:15 UTC) #100
palakj1
Please have a look.
4 years, 5 months ago (2016-07-20 19:23:57 UTC) #102
palakj1
Please have a look.
4 years, 5 months ago (2016-07-20 19:29:00 UTC) #105
palakj1
Please have a look.
4 years, 5 months ago (2016-07-20 19:29:01 UTC) #106
chrishtr
https://codereview.chromium.org/2125213002/diff/540001/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h File third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h (right): https://codereview.chromium.org/2125213002/diff/540001/third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h#newcode26 third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h:26: virtual void onChange(const WebVector<WebIDBObservation>&, WebVector<int32_t> observationIndex) = 0; Should ...
4 years, 5 months ago (2016-07-20 19:51:05 UTC) #107
Will Harris
https://codereview.chromium.org/2125213002/diff/540001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/540001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode176 content/child/indexed_db/indexed_db_dispatcher.cc:176: IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksChanges, It's unusual to add an IPC implemention without ...
4 years, 5 months ago (2016-07-20 19:53:28 UTC) #108
palakj1
Please have a look. https://codereview.chromium.org/2125213002/diff/540001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/540001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode176 content/child/indexed_db/indexed_db_dispatcher.cc:176: IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksChanges, On 2016/07/20 at 19:53:28, ...
4 years, 5 months ago (2016-07-20 21:41:47 UTC) #109
Will Harris
https://codereview.chromium.org/2125213002/diff/560001/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2125213002/diff/560001/content/child/indexed_db/indexed_db_dispatcher.cc#newcode197 content/child/indexed_db/indexed_db_dispatcher.cc:197: blink::WebIDBOperationTypeCount <= std::numeric_limits<uint16_t>::max(), should this be < sizeof(uint16_t) not ...
4 years, 5 months ago (2016-07-20 21:47:38 UTC) #111
chrishtr
lgtm LGTM for WebKit/public/*
4 years, 5 months ago (2016-07-20 22:06:09 UTC) #112
palakj1
static_assert for WebIDBOperationTypeCount corrected.
4 years, 5 months ago (2016-07-20 22:08:39 UTC) #113
palakj1
4 years, 5 months ago (2016-07-20 22:41:54 UTC) #119
Will Harris
lgtm
4 years, 5 months ago (2016-07-20 22:55:53 UTC) #122
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125213002/600001
4 years, 5 months ago (2016-07-21 00:11:23 UTC) #126
commit-bot: I haz the power
Committed patchset #31 (id:600001)
4 years, 5 months ago (2016-07-21 00:18:47 UTC) #127
commit-bot: I haz the power
Patchset 31 (id:??) landed as https://crrev.com/2751bda57a56b4d2bc02899a8a39e3026fccc599 Cr-Commit-Position: refs/heads/master@{#406722}
4 years, 5 months ago (2016-07-21 00:22:15 UTC) #129
haraken
4 years, 5 months ago (2016-07-21 06:24:59 UTC) #130
Message was sent while issue was closed.
On 2016/07/21 00:22:15, commit-bot: I haz the power wrote:
> Patchset 31 (id:??) landed as
> https://crrev.com/2751bda57a56b4d2bc02899a8a39e3026fccc599
> Cr-Commit-Position: refs/heads/master@{#406722}

Congrats!

Powered by Google App Engine
This is Rietveld 408576698