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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/template-content-inspect-crash.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="inspector-test.js"></script> 3 <script src="inspector-test.js"></script>
4 <script src="elements-test.js"></script> 4 <script src="elements-test.js"></script>
5 <script src="console-test.js"></script> 5 <script src="console-test.js"></script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 InspectorTest.expandElementsTree(function() { 10 InspectorTest.expandElementsTree(function() {
11 var contentNode = InspectorTest.expandedNodeWithId("tpl").templateConten t(); 11 var contentNode = InspectorTest.expandedNodeWithId("tpl").templateConten t();
12 WebInspector.panels.elements.selectDOMNode(contentNode, true); 12 UI.panels.elements.selectDOMNode(contentNode, true);
13 InspectorTest.evaluateInConsole("$0", callback); 13 InspectorTest.evaluateInConsole("$0", callback);
14 }); 14 });
15 15
16 function callback(result) 16 function callback(result)
17 { 17 {
18 InspectorTest.addResult("SUCCESS"); 18 InspectorTest.addResult("SUCCESS");
19 InspectorTest.completeTest(); 19 InspectorTest.completeTest();
20 } 20 }
21 } 21 }
22 </script> 22 </script>
23 </head> 23 </head>
24 24
25 <body onload="runTest()"> 25 <body onload="runTest()">
26 26
27 <p id="description">This test verifies that template's content DocumentFragment is accessible from DevTools.</p> 27 <p id="description">This test verifies that template's content DocumentFragment is accessible from DevTools.</p>
28 28
29 <template id="tpl"> 29 <template id="tpl">
30 <div>Hello!</div> 30 <div>Hello!</div>
31 </template> 31 </template>
32 32
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698