OLD | NEW |
(Empty) | |
| 1 This test checks the undo/redo operations are performed correctly on the DOM sto
rage views |
| 2 |
| 3 |
| 4 Running: initialize |
| 5 Initialized localStorage and sessionStorage by clearing entries. |
| 6 |
| 7 Running: undoLocalStorageWithEmptyStack |
| 8 LocalStorage contents:[] |
| 9 |
| 10 Running: redoLocalStorageWithEmptyStack |
| 11 LocalStorage contents:[] |
| 12 |
| 13 Running: localStorageUndoInterlacedWithAddition |
| 14 LocalStorage contents:[a1=b1] |
| 15 LocalStorage contents:[a1=b1,a3=b3] |
| 16 LocalStorage contents:[a1=b1] |
| 17 |
| 18 Running: addLocalStorageEntries |
| 19 LocalStorage contents:[a1=b1,a2=b2] |
| 20 |
| 21 Running: undoLocalStorageLastAddition |
| 22 LocalStorage contents:[a1=b1] |
| 23 |
| 24 Running: undoSessionStorageWithEmptyStack |
| 25 SessionStorage contents:[] |
| 26 |
| 27 Running: redoSessionStorageWithEmptyStack |
| 28 SessionStorage contents:[] |
| 29 |
| 30 Running: undoLocalStorageBeyondBounds |
| 31 The entry a1=b1 is removed and any attempt to undo beyond it shouldn't cause any
failure! |
| 32 LocalStorage contents:[] |
| 33 |
| 34 Running: addSessionStorageEntries |
| 35 SessionStorage contents:[p1=q1,p2=q2,p3=q3,p4=q4] |
| 36 |
| 37 Running: redoLocalStorageBeyondBounds |
| 38 The entry a1=b1 and a2=b2 is added back and any attempt to redo beyond it should
n't cause any failure! |
| 39 LocalStorage contents:[a1=b1,a2=b2] |
| 40 |
| 41 Running: undoSessionStorageLastAddition |
| 42 SessionStorage contents:[p1=q1,p2=q2,p3=q3] |
| 43 |
| 44 Running: modifyLocalStorageValues |
| 45 LocalStorage contents:[a1=x1,a2=x2] |
| 46 |
| 47 Running: undoLocalStorageModifications |
| 48 LocalStorage contents:[a1=b1,a2=b2] |
| 49 |
| 50 Running: redoSessionStorageLastAddition |
| 51 SessionStorage contents:[p1=q1,p2=q2,p3=q3,p4=q4] |
| 52 |
| 53 Running: redoLocalStorageModifications |
| 54 LocalStorage contents:[a1=x1,a2=x2] |
| 55 |
| 56 Running: modifySessionStorageEntriesKey |
| 57 SessionStorage contents:[m1=q1,m2=q2,m3=q3,m4=q4] |
| 58 |
| 59 Running: undoLocalStorageModifications |
| 60 LocalStorage contents:[a1=b1,a2=b2] |
| 61 |
| 62 Running: undoSessionStorageKeyModifications |
| 63 SessionStorage contents:[p1=q1,p2=q2,p3=q3,p4=q4] |
| 64 |
| 65 Running: validateMaxUndoRedoStackDepth |
| 66 Undo/redo stack depth limit is 20 |
| 67 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 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 |
| 72 Running: clearDOMStorageAndFinish |
| 73 Finished DOMStorage undo/redo tests and cleared localStorage and sessionStorage
entries. |
| 74 |
OLD | NEW |