OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
1 var pass = chrome.test.callbackPass; | 5 var pass = chrome.test.callbackPass; |
2 var fail = chrome.test.callbackFail; | 6 var fail = chrome.test.callbackFail; |
3 var assertEq = chrome.test.assertEq; | 7 var assertEq = chrome.test.assertEq; |
4 var assertTrue = chrome.test.assertTrue; | 8 var assertTrue = chrome.test.assertTrue; |
5 | 9 |
6 var GOOGLE_URL = 'http://www.google.com/'; | 10 var GOOGLE_URL = 'http://www.google.com/'; |
7 var PICASA_URL = 'http://www.picasa.com/'; | 11 var PICASA_URL = 'http://www.picasa.com/'; |
8 | 12 |
9 // PORT will be changed to the port of the test server. | 13 // PORT will be changed to the port of the test server. |
10 var A_RELATIVE_URL = | 14 var A_RELATIVE_URL = |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 174 |
171 callback({ | 175 callback({ |
172 before: firstUrlTime - 100.0, | 176 before: firstUrlTime - 100.0, |
173 between: (firstUrlTime + secondUrlTime) / 2.0, | 177 between: (firstUrlTime + secondUrlTime) / 2.0, |
174 after: secondUrlTime + 100.0 | 178 after: secondUrlTime + 100.0 |
175 }); | 179 }); |
176 }); | 180 }); |
177 }); | 181 }); |
178 }); | 182 }); |
179 } | 183 } |
OLD | NEW |