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"> | 4 <script type="text/javascript"> |
5 function test() | 5 function test() |
6 { | 6 { |
7 InspectorTest.sendCommandOrDie("DOM.enable", {}); | 7 InspectorTest.sendCommandOrDie("DOM.enable", {}); |
8 InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled); | 8 InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled); |
9 | 9 |
10 function onCSSEnabled() | 10 function onCSSEnabled() |
11 { | 11 { |
12 InspectorTest.sendCommandOrDie("CSS.getMediaQueries", {}, onMediaQueries
); | 12 InspectorTest.sendCommandOrDie("CSS.getMediaQueries", {}, onMediaQueries
); |
13 } | 13 } |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 * { | 126 * { |
127 margin: 1in; | 127 margin: 1in; |
128 } | 128 } |
129 } | 129 } |
130 } | 130 } |
131 </style> | 131 </style> |
132 </head> | 132 </head> |
133 <body onload="runTest()"> | 133 <body onload="runTest()"> |
134 </body> | 134 </body> |
135 </html> | 135 </html> |
OLD | NEW |