| 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> | 5 <script> |
| 6 | 6 |
| 7 function test() | 7 function test() |
| 8 { | 8 { |
| 9 | 9 |
| 10 InspectorTest.runTestSuite([ | 10 InspectorTest.runTestSuite([ |
| 11 function setup(next) | 11 function setup(next) |
| 12 { | 12 { |
| 13 WebInspector.settingForTest("showUAShadowDOM").set(true); | 13 WebInspector.settingForTest("showUAShadowDOM").set(true); |
| 14 InspectorTest.expandElementsTree(next); | 14 InspectorTest.expandElementsTree(next); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 <p> | 91 <p> |
| 92 Tests that elements panel preserves selected shadow DOM node on page refresh. | 92 Tests that elements panel preserves selected shadow DOM node on page refresh. |
| 93 </p> | 93 </p> |
| 94 <span id="hostElement"></span> | 94 <span id="hostElement"></span> |
| 95 <script> | 95 <script> |
| 96 var root = document.getElementById("hostElement").createShadowRoot(); | 96 var root = document.getElementById("hostElement").createShadowRoot(); |
| 97 root.innerHTML = "<input type='text'>"; | 97 root.innerHTML = "<input type='text'>"; |
| 98 </script> | 98 </script> |
| 99 </body> | 99 </body> |
| 100 </html> | 100 </html> |
| OLD | NEW |