| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 var deepEq = chrome.test.checkDeepEq; | 5 var deepEq = chrome.test.checkDeepEq; |
| 6 var expectedEventData; | 6 var expectedEventData; |
| 7 var expectedEventOrder; | 7 var expectedEventOrder; |
| 8 var capturedEventData; | 8 var capturedEventData; |
| 9 var nextFrameId; | 9 var nextFrameId; |
| 10 var frameIds; | 10 var frameIds; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 return [ main_frame + "onCommitted", | 254 return [ main_frame + "onCommitted", |
| 255 iframe + "onBeforeNavigate", | 255 iframe + "onBeforeNavigate", |
| 256 iframe + "onCompleted", | 256 iframe + "onCompleted", |
| 257 main_frame + "onCompleted" ]; | 257 main_frame + "onCompleted" ]; |
| 258 } | 258 } |
| 259 | 259 |
| 260 // Returns the constraint expressing that a frame was loaded by another. | 260 // Returns the constraint expressing that a frame was loaded by another. |
| 261 function isLoadedBy(target, source) { | 261 function isLoadedBy(target, source) { |
| 262 return [ source + "onDOMContentLoaded", target + "onBeforeNavigate"]; | 262 return [ source + "onDOMContentLoaded", target + "onBeforeNavigate"]; |
| 263 } | 263 } |
| OLD | NEW |