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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 { | 241 { |
242 return o1.name === o2.name ? 0 : (o1.name < o2.name ? -1 : 1); | 242 return o1.name === o2.name ? 0 : (o1.name < o2.name ? -1 : 1); |
243 } | 243 } |
244 } | 244 } |
245 } | 245 } |
246 </script> | 246 </script> |
247 </head> | 247 </head> |
248 <body onLoad="runTest();"> | 248 <body onLoad="runTest();"> |
249 </body> | 249 </body> |
250 </html> | 250 </html> |
OLD | NEW |