| OLD | NEW |
| 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.ElementsPanel.show(); | 11 WebInspector.ElementsPanel.show(); |
| 12 | 12 |
| 13 WebInspector.StylesSidebarPane.prototype.update = function() {}; | 13 WebInspector.StylesSidebarPane.prototype.update = function() {}; |
| 14 WebInspector.MetricsSidebarPane.prototype.update = function() {}; | 14 WebInspector.MetricsSidebarPane.prototype.update = function() {}; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 var container = document.getElementById(id); | 74 var container = document.getElementById(id); |
| 75 var root = container.createShadowRoot(); | 75 var root = container.createShadowRoot(); |
| 76 root.innerHTML = html; | 76 root.innerHTML = html; |
| 77 } | 77 } |
| 78 | 78 |
| 79 createRootWithContents("testEditAuthorShadowDOMAsHTML", "<div id='authorShadowDO
MElement'></div>"); | 79 createRootWithContents("testEditAuthorShadowDOMAsHTML", "<div id='authorShadowDO
MElement'></div>"); |
| 80 createRootWithContents("testSetAuthorShadowDOMElementAttribute", "<div foo='attr
ibute value' id='shadow-node-to-set-attribute'></div>"); | 80 createRootWithContents("testSetAuthorShadowDOMElementAttribute", "<div foo='attr
ibute value' id='shadow-node-to-set-attribute'></div>"); |
| 81 </script> | 81 </script> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |