summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 23:42:37 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 23:42:37 +0000
commit2f85d4cff273b56dd44d279be33a79a4e166e108 (patch)
treeb88d376d9f4eb8edd1f89d92fe3676104134ebfa /tools
parent6658c6ad2c9fc5e60c75d7787e6abe3b25680fb6 (diff)
downloadchromium_src-2f85d4cff273b56dd44d279be33a79a4e166e108.zip
chromium_src-2f85d4cff273b56dd44d279be33a79a4e166e108.tar.gz
chromium_src-2f85d4cff273b56dd44d279be33a79a4e166e108.tar.bz2
[Telemetry] Fix an incorrect assertion.
We'll get an _OnClose during recording when ctrl+c'ing or when any other exception is raised. In the first case, this just causes noise, but in the second case it obscures the real cause of the failure. BUG=171719 Review URL: https://codereview.chromium.org/11896077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/telemetry/telemetry/inspector_timeline.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/telemetry/telemetry/inspector_timeline.py b/tools/telemetry/telemetry/inspector_timeline.py
index 10ac8b7..b0663dc 100644
--- a/tools/telemetry/telemetry/inspector_timeline.py
+++ b/tools/telemetry/telemetry/inspector_timeline.py
@@ -118,6 +118,4 @@ class InspectorTimeline(object):
return newly_created_event
def _OnClose(self):
- if self._is_recording:
- raise TabBackendException('InspectTimeline received OnClose whilst '
- 'recording.')
+ pass