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 { | 13 { |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 { | 221 { |
222 return o1.name === o2.name ? 0 : (o1.name < o2.name ? -1 : 1); | 222 return o1.name === o2.name ? 0 : (o1.name < o2.name ? -1 : 1); |
223 } | 223 } |
224 } | 224 } |
225 } | 225 } |
226 </script> | 226 </script> |
227 </head> | 227 </head> |
228 <body onLoad="runTest();"> | 228 <body onLoad="runTest();"> |
229 </body> | 229 </body> |
230 </html> | 230 </html> |
OLD | NEW |