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> | 4 <script> |
5 | 5 |
6 function test() | 6 function test() |
7 { | 7 { |
8 // A general-purpose engine for sending a sequence of protocol commands. | 8 // A general-purpose engine for sending a sequence of protocol commands. |
9 // The clients provide requests and response handlers, while the engine catc
hes | 9 // The clients provide requests and response handlers, while the engine catc
hes |
10 // errors and makes sure that once there's nothing to do completeTest() is c
alled. | 10 // errors and makes sure that once there's nothing to do completeTest() is c
alled. |
11 // @param step is an object with command, params and callback fields. | 11 // @param step is an object with command, params and callback fields. |
12 function runRequestSeries(step) | 12 function runRequestSeries(step) |
13 { | 13 { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 } | 158 } |
159 } | 159 } |
160 } | 160 } |
161 </script> | 161 </script> |
162 </head> | 162 </head> |
163 <div id="listeners1" onload="return 42;"></div> | 163 <div id="listeners1" onload="return 42;"></div> |
164 <div id="listeners2"></div> | 164 <div id="listeners2"></div> |
165 <body onLoad="runTest();"> | 165 <body onLoad="runTest();"> |
166 </body> | 166 </body> |
167 </html> | 167 </html> |
OLD | NEW |