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

Side by Side Diff: LayoutTests/inspector/elements/undo-dom-edits-2.html

Issue 467233002: DevTools: Make sure ElementsTreeOutline is correctly rendered when element's hasChildren state chan… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var testSuite = []; 9 var testSuite = [];
10 10
11 function testSetUp(next) 11 function testSetUp(next)
12 { 12 {
13 InspectorTest.expandElementsTree(next); 13 InspectorTest.addResult("Setting up");
14 InspectorTest.expandElementsTree(callback);
15
16 function callback()
17 {
18 InspectorTest.expandElementsTree(next);
19 }
14 } 20 }
15 testSuite.push(testSetUp); 21 testSuite.push(testSetUp);
16 22
17 23
18 function testSetAttribute(callback) 24 function testSetAttribute(callback)
19 { 25 {
20 var node = InspectorTest.expandedNodeWithId("node-to-set-attribute"); 26 var node = InspectorTest.expandedNodeWithId("node-to-set-attribute");
21 node.setAttribute("foo", "bar=\"edited attribute\"", callback); 27 node.setAttribute("foo", "bar=\"edited attribute\"", callback);
22 } 28 }
23 testSuite.push(InspectorTest.generateUndoTest(testSetAttribute)); 29 testSuite.push(InspectorTest.generateUndoTest(testSetAttribute));
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 <div foo="attribute value" id="node-to-remove-attribute"></div> 65 <div foo="attribute value" id="node-to-remove-attribute"></div>
60 </div> 66 </div>
61 67
62 <div id="testAddAttribute"> 68 <div id="testAddAttribute">
63 <div id="node-to-add-attribute"></div> 69 <div id="node-to-add-attribute"></div>
64 </div> 70 </div>
65 </div> 71 </div>
66 72
67 </body> 73 </body>
68 </html> 74 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/undo-dom-edits.html ('k') | LayoutTests/inspector/elements/undo-dom-edits-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698