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

Issue 21163003: DevTools: Implement undo, redo operations for the DOMStorage views. (Closed)

Created:
7 years, 4 months ago by vivekg_samsung
Modified:
7 years, 4 months ago
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

DevTools: Implement undo, redo operations for the DOMStorage views. R=apavlov, pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155573

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Total comments: 11

Patch Set 8 : Patch for landing may be! :) #

Total comments: 8

Patch Set 9 : Patch for landing! #

Total comments: 8

Patch Set 10 : #

Total comments: 1

Patch Set 11 : Patch for landing after pfeldman's comment #

Patch Set 12 : Patch for landing after arv's changes for ExceptionState #

Unified diffs Side-by-side diffs Delta from patch set Stats (+686 lines, -2 lines) Patch
A LayoutTests/inspector/storage-panel-dom-storage-undo-redo.html View 1 2 3 4 5 6 7 8 9 1 chunk +339 lines, -0 lines 0 comments Download
A LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorDOMStorageAgent.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/inspector/InspectorDOMStorageAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -0 lines 0 comments Download
M Source/devtools/front_end/DOMStorage.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +217 lines, -2 lines 0 comments Download
M Source/devtools/front_end/DOMStorageItemsView.js View 1 chunk +20 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ResourcesPanel.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
vivekg_samsung
I was not able to update the previous same issue as the user ID is ...
7 years, 4 months ago (2013-07-31 12:18:41 UTC) #1
apavlov
https://codereview.chromium.org/21163003/diff/1/Source/core/inspector/InspectorDOMStorageAgent.cpp File Source/core/inspector/InspectorDOMStorageAgent.cpp (right): https://codereview.chromium.org/21163003/diff/1/Source/core/inspector/InspectorDOMStorageAgent.cpp#newcode122 Source/core/inspector/InspectorDOMStorageAgent.cpp:122: ec = 0; This is not required, since hadException() ...
7 years, 4 months ago (2013-07-31 12:51:34 UTC) #2
vivekg__
@apavlov, thank you for the quick review. All the review comments have been addressed in ...
7 years, 4 months ago (2013-08-01 08:53:17 UTC) #3
apavlov
https://codereview.chromium.org/21163003/diff/7001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt File LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt (right): https://codereview.chromium.org/21163003/diff/7001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt#newcode1 LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt:1: This test demonstrates the undo/redo operations performed on the ...
7 years, 4 months ago (2013-08-01 09:19:16 UTC) #4
vivekg_samsung
Thanks, addressed all the comments in patch set 4. Had missed moving one callback function ...
7 years, 4 months ago (2013-08-01 11:16:17 UTC) #5
apavlov
Good work! A few nits, mostly programming style-wise, and we are ready to land! https://codereview.chromium.org/21163003/diff/25001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt ...
7 years, 4 months ago (2013-08-02 08:16:59 UTC) #6
vivekg_samsung
Thank you, done all the changes. Please take a look!
7 years, 4 months ago (2013-08-02 10:39:21 UTC) #7
aandrey
not lgtm https://codereview.chromium.org/21163003/diff/33001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/33001/Source/devtools/front_end/DOMStorage.js#newcode216 Source/devtools/front_end/DOMStorage.js:216: if (typeof value === "undefined") { remove ...
7 years, 4 months ago (2013-08-02 11:21:33 UTC) #8
vivekg_samsung
On 2013/08/02 11:21:33, aandrey wrote: > not lgtm > Thank you for the review. All ...
7 years, 4 months ago (2013-08-02 12:49:45 UTC) #9
vivekg_samsung
Added new patch. Please take a look, thanks.
7 years, 4 months ago (2013-08-02 13:28:46 UTC) #10
vivekg__
On 2013/08/02 13:28:46, vivekg wrote: > Added new patch. Please take a look, thanks. ping?
7 years, 4 months ago (2013-08-05 06:16:25 UTC) #11
apavlov
https://codereview.chromium.org/21163003/diff/56001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt File LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt (right): https://codereview.chromium.org/21163003/diff/56001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt#newcode70 LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt:70: LocalStorage contents:[a10=b10,a1=b1,a2=b2,a3=b3,a4=b4,a5=b5,a6=b6,a7=b7,a8=b8,a9=b9] How can we validate that this is ...
7 years, 4 months ago (2013-08-05 09:07:15 UTC) #12
apavlov
https://codereview.chromium.org/21163003/diff/56001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/56001/Source/devtools/front_end/DOMStorage.js#newcode278 Source/devtools/front_end/DOMStorage.js:278: this._currentActionIndex--; On 2013/08/05 09:07:15, apavlov wrote: > We always ...
7 years, 4 months ago (2013-08-05 09:11:03 UTC) #13
vivekg_samsung
Thank you the review. Uploading a new patch with review comments incorporated. https://codereview.chromium.org/21163003/diff/56001/LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt File LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt ...
7 years, 4 months ago (2013-08-05 09:39:49 UTC) #14
apavlov
Let's brush up the error handling and naming, and the patch is good to land! ...
7 years, 4 months ago (2013-08-05 09:53:00 UTC) #15
vivekg__
https://codereview.chromium.org/21163003/diff/70001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/70001/Source/devtools/front_end/DOMStorage.js#newcode160 Source/devtools/front_end/DOMStorage.js:160: this._value = value; On 2013/08/05 09:53:00, apavlov wrote: > ...
7 years, 4 months ago (2013-08-05 10:16:57 UTC) #16
aandrey
https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js#newcode265 Source/devtools/front_end/DOMStorage.js:265: WebInspector.DOMStorageHistory.MAX_UNDO_STACK_DEPTH = 20; Let's bump it up. The limit ...
7 years, 4 months ago (2013-08-05 11:29:33 UTC) #17
vivekg__
https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js#newcode265 Source/devtools/front_end/DOMStorage.js:265: WebInspector.DOMStorageHistory.MAX_UNDO_STACK_DEPTH = 20; On 2013/08/05 11:29:33, aandrey wrote: > ...
7 years, 4 months ago (2013-08-05 11:42:58 UTC) #18
apavlov
https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js#newcode265 Source/devtools/front_end/DOMStorage.js:265: WebInspector.DOMStorageHistory.MAX_UNDO_STACK_DEPTH = 20; On 2013/08/05 11:29:33, aandrey wrote: > ...
7 years, 4 months ago (2013-08-05 11:42:59 UTC) #19
aandrey
https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js File Source/devtools/front_end/DOMStorage.js (right): https://codereview.chromium.org/21163003/diff/81001/Source/devtools/front_end/DOMStorage.js#newcode276 Source/devtools/front_end/DOMStorage.js:276: action.perform(actionCompleted.bind(this)); On 2013/08/05 11:42:59, apavlov wrote: > On 2013/08/05 ...
7 years, 4 months ago (2013-08-05 12:42:12 UTC) #20
vivekg__
I have bumped the number to 256. Also modified the test case to setup 20 ...
7 years, 4 months ago (2013-08-05 12:47:44 UTC) #21
aandrey
deferring to Alexander for further review
7 years, 4 months ago (2013-08-05 12:52:36 UTC) #22
apavlov
lgtm
7 years, 4 months ago (2013-08-05 13:03:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/21163003/67002
7 years, 4 months ago (2013-08-05 13:03:41 UTC) #24
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=4794
7 years, 4 months ago (2013-08-05 13:20:03 UTC) #25
pfeldman
https://codereview.chromium.org/21163003/diff/67002/Source/devtools/protocol.json File Source/devtools/protocol.json (right): https://codereview.chromium.org/21163003/diff/67002/Source/devtools/protocol.json#newcode1441 Source/devtools/protocol.json:1441: "name": "getDOMStorageItemValue", I'd rename it to getValue. Otherwise lgtm.
7 years, 4 months ago (2013-08-05 15:34:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/21163003/99001
7 years, 4 months ago (2013-08-05 16:53:41 UTC) #27
vivekg_samsung
On 2013/08/05 15:34:06, pfeldman wrote: > https://codereview.chromium.org/21163003/diff/67002/Source/devtools/protocol.json > File Source/devtools/protocol.json (right): > > https://codereview.chromium.org/21163003/diff/67002/Source/devtools/protocol.json#newcode1441 > ...
7 years, 4 months ago (2013-08-05 16:53:52 UTC) #28
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-05 17:18:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/21163003/121001
7 years, 4 months ago (2013-08-06 01:14:53 UTC) #30
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 03:39:29 UTC) #31
Message was sent while issue was closed.
Change committed as 155573

Powered by Google App Engine
This is Rietveld 408576698