| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 class PageActionNotSupported(Exception): | 5 class PageActionNotSupported(Exception): |
| 6 pass | 6 pass |
| 7 | 7 |
| 8 class PageActionFailed(Exception): | 8 class PageActionFailed(Exception): |
| 9 pass | 9 pass |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 with JavaScript code that starts and stops measurements. The action | 52 with JavaScript code that starts and stops measurements. The action |
| 53 determines when to execute the provided JavaScript code, for more accurate | 53 determines when to execute the provided JavaScript code, for more accurate |
| 54 timings. | 54 timings. |
| 55 | 55 |
| 56 Args: | 56 Args: |
| 57 tab: The tab to do everything on. | 57 tab: The tab to do everything on. |
| 58 start_js: JavaScript code that starts measurements. | 58 start_js: JavaScript code that starts measurements. |
| 59 stop_js: JavaScript code that stops measurements. | 59 stop_js: JavaScript code that stops measurements. |
| 60 """ | 60 """ |
| 61 raise Exception('This action cannot be bound.') | 61 raise Exception('This action cannot be bound.') |
| OLD | NEW |