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 type="text/javascript" src="resources/liveedit-me.js"></script> | 4 <script type="text/javascript" src="resources/liveedit-me.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 // A general-purpose engine for sending a sequence of protocol commands. | 9 // A general-purpose engine for sending a sequence of protocol commands. |
10 // The clients provide requests and response handlers, while the engine catc
hes | 10 // The clients provide requests and response handlers, while the engine catc
hes |
11 // errors and makes sure that once there's nothing to do completeTest() is c
alled. | 11 // errors and makes sure that once there's nothing to do completeTest() is c
alled. |
12 // @param step is an object with command, params and callback fields | 12 // @param step is an object with command, params and callback fields |
13 function runRequestSeries(step) { | 13 function runRequestSeries(step) { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 } | 146 } |
147 return next; | 147 return next; |
148 } | 148 } |
149 } | 149 } |
150 } | 150 } |
151 </script> | 151 </script> |
152 </head> | 152 </head> |
153 <body onLoad="runTest();"> | 153 <body onLoad="runTest();"> |
154 </body> | 154 </body> |
155 </html> | 155 </html> |
OLD | NEW |