3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/elements-test.js"></script>
10 InspectorTest
.expandElementsTree(step1
);
14 containerNode
= InspectorTest
.expandedNodeWithId("container");
15 InspectorTest
.addResult("========= Original ========");
16 InspectorTest
.dumpElementsTree(containerNode
);
24 InspectorTest
.addResult("===== Modified element =====");
25 InspectorTest
.dumpElementsTree(containerNode
);
28 containerNode
.setAttribute("", "foo=\"bar\"", callback
);
35 InspectorTest
.addResult("===== Undo 1 =====");
36 InspectorTest
.dumpElementsTree(containerNode
);
39 InspectorTest
.domModel
.undo(callback
);
46 InspectorTest
.addResult("===== Undo 2 =====");
47 InspectorTest
.dumpElementsTree(containerNode
);
48 InspectorTest
.completeTest();
50 InspectorTest
.domModel
.undo(callback
);
57 <body onload=
"runTest()">
59 Tests that client can call undo multiple times with non-empty history.
62 <div style=
"display:none" id=
"container">