OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../http/tests/inspector-protocol/resources/p
rotocol-test.js"></script> | 3 <script type="text/javascript" src="../http/tests/inspector-protocol/inspector-p
rotocol-test.js"></script> |
4 <script> | 4 <script> |
5 var styleElement1; | 5 var styleElement1; |
6 var styleElement2; | 6 var styleElement2; |
7 | 7 |
8 function createStyleSheet(textContent) | 8 function createStyleSheet(textContent) |
9 { | 9 { |
10 var styleElement = document.createElement("style"); | 10 var styleElement = document.createElement("style"); |
11 styleElement.textContent = textContent; | 11 styleElement.textContent = textContent; |
12 document.head.appendChild(styleElement); | 12 document.head.appendChild(styleElement); |
13 return styleElement; | 13 return styleElement; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 callback(); | 101 callback(); |
102 } | 102 } |
103 } | 103 } |
104 } | 104 } |
105 </script> | 105 </script> |
106 </head> | 106 </head> |
107 <body onload="openWebInspector()"> | 107 <body onload="openWebInspector()"> |
108 <p>This test checks that if style sheet is removed between two inspector launche
s it is not reported to frontend.</p> | 108 <p>This test checks that if style sheet is removed between two inspector launche
s it is not reported to frontend.</p> |
109 </body> | 109 </body> |
110 </html> | 110 </html> |
OLD | NEW |