| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-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 processStep(step); | 13 processStep(step); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 // End of test. | 172 // End of test. |
| 173 return; | 173 return; |
| 174 } | 174 } |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 </script> | 177 </script> |
| 178 </head> | 178 </head> |
| 179 <body onLoad="runTest();"> | 179 <body onLoad="runTest();"> |
| 180 </body> | 180 </body> |
| 181 </html> | 181 </html> |
| OLD | NEW |