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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-1.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 testSetAuthorShadowDOMElementAttribute(next) 22 function testSetAuthorShadowDOMElementAttribute(next)
23 { 23 {
24 InspectorTest.domActionTestForNodeId("testSetAuthorShadowDOMElementA ttribute", "shadow-node-to-set-attribute", testBody, next); 24 InspectorTest.domActionTestForNodeId("testSetAuthorShadowDOMElementA ttribute", "shadow-node-to-set-attribute", testBody, next);
(...skipping 22 matching lines...) Expand all
47 { 47 {
48 var container = document.getElementById(id); 48 var container = document.getElementById(id);
49 var root = container.createShadowRoot(); 49 var root = container.createShadowRoot();
50 root.innerHTML = html; 50 root.innerHTML = html;
51 } 51 }
52 52
53 createRootWithContents("testSetAuthorShadowDOMElementAttribute", "<div foo='attr ibute value' id='shadow-node-to-set-attribute'></div>"); 53 createRootWithContents("testSetAuthorShadowDOMElementAttribute", "<div foo='attr ibute value' id='shadow-node-to-set-attribute'></div>");
54 </script> 54 </script>
55 </body> 55 </body>
56 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698