| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
| 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-prot
ocol-test.js"></script> | 4 <script type="text/javascript" src="../resources/css-protocol-test.js"></script> |
| 5 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> | 5 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script> |
| 6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
| 7 function test() | 7 function test() |
| 8 { | 8 { |
| 9 var documentNodeId; | 9 var documentNodeId; |
| 10 | 10 |
| 11 InspectorTest.requestDocumentNodeId(onDocumentNodeId); | 11 InspectorTest.requestDocumentNodeId(onDocumentNodeId); |
| 12 | 12 |
| 13 function onDocumentNodeId(nodeId) | 13 function onDocumentNodeId(nodeId) |
| 14 { | 14 { |
| 15 documentNodeId = nodeId; | 15 documentNodeId = nodeId; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 40 <div id="shadow-host"></div> | 40 <div id="shadow-host"></div> |
| 41 <script> | 41 <script> |
| 42 var host = document.querySelector("#shadow-host").createShadowRoot(); | 42 var host = document.querySelector("#shadow-host").createShadowRoot(); |
| 43 var template = document.querySelector("#shadow-template"); | 43 var template = document.querySelector("#shadow-template"); |
| 44 host.appendChild(template.content); | 44 host.appendChild(template.content); |
| 45 template.remove(); | 45 template.remove(); |
| 46 runTest(); | 46 runTest(); |
| 47 </script> | 47 </script> |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |