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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/shadow/shadow-host-display-modes.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> 5 <script>
6 function createShadowRootFromTemplate(root, selector, templateId) 6 function createShadowRootFromTemplate(root, selector, templateId)
7 { 7 {
8 var shadowHost = root.querySelector(selector); 8 var shadowHost = root.querySelector(selector);
9 var shadowRoot = shadowHost.createShadowRoot(); 9 var shadowRoot = shadowHost.createShadowRoot();
10 var template = document.querySelector(templateId); 10 var template = document.querySelector(templateId);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 InspectorTest.evaluateInPage("initInnerShadowRoot()"); 98 InspectorTest.evaluateInPage("initInnerShadowRoot()");
99 } 99 }
100 100
101 function distributedNodeChangedAfterAddingInnerShadowRoot() 101 function distributedNodeChangedAfterAddingInnerShadowRoot()
102 { 102 {
103 InspectorTest.completeTest(); 103 InspectorTest.completeTest();
104 } 104 }
105 105
106 function waitForModifiedNodesUpdate(title, next) 106 function waitForModifiedNodesUpdate(title, next)
107 { 107 {
108 InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_u pdateModifiedNodes", callback); 108 InspectorTest.addSniffer(Elements.ElementsTreeOutline.prototype, "_updat eModifiedNodes", callback);
109 109
110 function callback() 110 function callback()
111 { 111 {
112 expandAndDumpShadowHostNode("========= " + title + " ========", next ); 112 expandAndDumpShadowHostNode("========= " + title + " ========", next );
113 } 113 }
114 } 114 }
115 115
116 function expandAndDumpShadowHostNode(title, next) 116 function expandAndDumpShadowHostNode(title, next)
117 { 117 {
118 InspectorTest.addResult(title); 118 InspectorTest.addResult(title);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 </div> 157 </div>
158 <div class="distributeMeToInner original"> 158 <div class="distributeMeToInner original">
159 oldest distributed text 159 oldest distributed text
160 </div> 160 </div>
161 <div class="distributeMeToInner original2"> 161 <div class="distributeMeToInner original2">
162 oldest distributed text 162 oldest distributed text
163 </div> 163 </div>
164 </div> 164 </div>
165 </body> 165 </body>
166 </html> 166 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698