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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.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="../../../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 src="edit-dom-test.js"></script> 5 <script src="edit-dom-test.js"></script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 // Save time on style updates. 10 // Save time on style updates.
11 WebInspector.viewManager.showView("elements"); 11 UI.viewManager.showView("elements");
12 12
13 WebInspector.StylesSidebarPane.prototype.update = function() {}; 13 Elements.StylesSidebarPane.prototype.update = function() {};
14 WebInspector.MetricsSidebarPane.prototype.update = function() {}; 14 Elements.MetricsSidebarPane.prototype.update = function() {};
15 15
16 InspectorTest.runTestSuite([ 16 InspectorTest.runTestSuite([
17 function testSetUp(next) 17 function testSetUp(next)
18 { 18 {
19 InspectorTest.expandElementsTree(next); 19 InspectorTest.expandElementsTree(next);
20 }, 20 },
21 21
22 function testEditShadowDOMAsHTML(next) 22 function testEditShadowDOMAsHTML(next)
23 { 23 {
24 InspectorTest.domActionTestForNodeId("testEditAuthorShadowDOMAsHTML" , "authorShadowDOMElement", testBody, next); 24 InspectorTest.domActionTestForNodeId("testEditAuthorShadowDOMAsHTML" , "authorShadowDOMElement", testBody, next);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 { 60 {
61 var container = document.getElementById(id); 61 var container = document.getElementById(id);
62 var root = container.createShadowRoot(); 62 var root = container.createShadowRoot();
63 root.innerHTML = html; 63 root.innerHTML = html;
64 } 64 }
65 65
66 createRootWithContents("testEditAuthorShadowDOMAsHTML", "<div id='authorShadowDO MElement'></div>"); 66 createRootWithContents("testEditAuthorShadowDOMAsHTML", "<div id='authorShadowDO MElement'></div>");
67 </script> 67 </script>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698