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

Side by Side Diff: LayoutTests/inspector/storage-panel-dom-storage-undo-redo-expected.txt

Issue 23480006: DevTools: DOMStorage action history must be reset once page/script modifies the DOM storage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test checks the undo/redo operations are performed correctly on the DOM sto rage views 1 This test checks the undo/redo operations are performed correctly on the DOM sto rage views
2 2
3 3
4 Running: initialize 4 Running: initialize
5 Initialized localStorage and sessionStorage by clearing entries. 5 Initialized localStorage and sessionStorage by clearing entries.
6 6
7 Running: undoLocalStorageWithEmptyStack 7 Running: undoLocalStorageWithEmptyStack
8 LocalStorage contents:[] 8 LocalStorage contents:[]
9 9
10 Running: redoLocalStorageWithEmptyStack 10 Running: redoLocalStorageWithEmptyStack
11 LocalStorage contents:[] 11 LocalStorage contents:[]
12 12
13 Running: localStorageUndoInterlacedWithAddition 13 Running: localStorageUndoInterlacedWithAddition
14 LocalStorage contents:[a1=b1,a2=b2]
14 LocalStorage contents:[a1=b1] 15 LocalStorage contents:[a1=b1]
15 LocalStorage contents:[a1=b1,a3=b3] 16 LocalStorage contents:[a1=b1,a3=b3]
16 LocalStorage contents:[a1=b1] 17 LocalStorage contents:[a1=b1]
17 18
18 Running: addLocalStorageEntries 19 Running: addLocalStorageEntries
19 LocalStorage contents:[a1=b1,a2=b2] 20 LocalStorage contents:[a1=b1,a2=b2]
20 21
21 Running: undoLocalStorageLastAddition 22 Running: undoLocalStorageLastAddition
22 LocalStorage contents:[a1=b1] 23 LocalStorage contents:[a1=b1]
23 24
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 Running: undoSessionStorageKeyModifications 63 Running: undoSessionStorageKeyModifications
63 SessionStorage contents:[p1=q1,p2=q2,p3=q3,p4=q4] 64 SessionStorage contents:[p1=q1,p2=q2,p3=q3,p4=q4]
64 65
65 Running: validateMaxUndoRedoStackDepth 66 Running: validateMaxUndoRedoStackDepth
66 Undo/redo stack depth limit is 20 67 Undo/redo stack depth limit is 20
67 Performing 40 actions 68 Performing 40 actions
68 LocalStorage contents:[a1=b1,a2=b2,x10=y10,x11=y11,x12=y12,x13=y13,x14=y14,x15=y 15,x16=y16,x17=y17,x18=y18,x19=y19,x1=y1,x20=y20,x2=y2,x3=y3,x4=y4,x5=y5,x6=y6,x 7=y7,x8=y8,x9=y9] 69 LocalStorage contents:[a1=b1,a2=b2,x10=y10,x11=y11,x12=y12,x13=y13,x14=y14,x15=y 15,x16=y16,x17=y17,x18=y18,x19=y19,x1=y1,x20=y20,x2=y2,x3=y3,x4=y4,x5=y5,x6=y6,x 7=y7,x8=y8,x9=y9]
69 Performing undo operation three times the depth i.e. 60 times but only last 20 o perations are undone 70 Performing undo operation three times the depth i.e. 60 times but only last 20 o perations are undone
70 LocalStorage contents:[a1=b1,a2=b2,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x5=y5,x6=y6,x 7=y7,x8=y8,x9=y9] 71 LocalStorage contents:[a1=b1,a2=b2,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x5=y5,x6=y6,x 7=y7,x8=y8,x9=y9]
71 72
73 Running: resetDOMStorageHistoryUponPageModification
74 Adding u1=v1 and u2=v2 in the localStorage
75 LocalStorage contents:[a1=b1,a2=b2,u1=v1,u2=v2,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x 5=y5,x6=y6,x7=y7,x8=y8,x9=y9]
76
77 Performing undo for removing u2=v2
78 LocalStorage contents:[a1=b1,a2=b2,u1=v1,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x5=y5,x 6=y6,x7=y7,x8=y8,x9=y9]
79
80 Page has modified the storage by adding u3=v3
81
82 Undo wont work anymore as page modification has cleared the history.
83 LocalStorage contents:[a1=b1,a2=b2,u1=v1,u3=v3,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x 5=y5,x6=y6,x7=y7,x8=y8,x9=y9]
84
85 Redo wont work anymore as page modification has cleared the history.
86 LocalStorage contents:[a1=b1,a2=b2,u1=v1,u3=v3,x10=y10,x1=y1,x2=y2,x3=y3,x4=y4,x 5=y5,x6=y6,x7=y7,x8=y8,x9=y9]
87
72 Running: clearDOMStorageAndFinish 88 Running: clearDOMStorageAndFinish
73 Finished DOMStorage undo/redo tests and cleared localStorage and sessionStorage entries. 89 Finished DOMStorage undo/redo tests and cleared localStorage and sessionStorage entries.
74 90
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698