| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 @font-face { | 4 @font-face { |
| 5 font-family: 'ahem'; | 5 font-family: 'ahem'; |
| 6 src: url(../../resources/Ahem.ttf); | 6 src: url(../../resources/Ahem.ttf); |
| 7 } | 7 } |
| 8 </style> | 8 </style> |
| 9 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 9 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
| 10 <script> | 10 <script> |
| 11 | 11 |
| 12 async function test() { | 12 async function test() { |
| 13 function stabilize(key, value) { | 13 function stabilize(key, value) { |
| 14 var unstableKeys = ["documentURL", "baseURL", "frameId"]; | 14 var unstableKeys = ["documentURL", "baseURL", "frameId"]; |
| 15 if (unstableKeys.indexOf(key) !== -1) | 15 if (unstableKeys.indexOf(key) !== -1) |
| 16 return "<" + typeof(value) + ">"; | 16 return "<" + typeof(value) + ">"; |
| 17 return value; | 17 return value; |
| 18 } | 18 } |
| 19 | 19 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 <script type="text/javascript"> | 54 <script type="text/javascript"> |
| 55 var host = document.querySelector("#shadow-host").createShadowRoot(); | 55 var host = document.querySelector("#shadow-host").createShadowRoot(); |
| 56 var template = document.querySelector("#shadow-template"); | 56 var template = document.querySelector("#shadow-template"); |
| 57 host.appendChild(template.content); | 57 host.appendChild(template.content); |
| 58 template.remove(); | 58 template.remove(); |
| 59 window.onload = runTest; | 59 window.onload = runTest; |
| 60 </script> | 60 </script> |
| 61 </div> | 61 </div> |
| 62 </body> | 62 </body> |
| 63 </html> | 63 </html> |
| OLD | NEW |