Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: tools/telemetry/telemetry/page/page_test.py

Issue 12499006: Telemetry on android: improves RawDisplayFrameRateMeasurement. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/page/page_test.py
diff --git a/tools/telemetry/telemetry/page/page_test.py b/tools/telemetry/telemetry/page/page_test.py
index 5dace8e54e990d3ceace1f36f61f4fd804a7b092..e757b257ab922afb3e74076e6721766d3d8d7335 100644
--- a/tools/telemetry/telemetry/page/page_test.py
+++ b/tools/telemetry/telemetry/page/page_test.py
@@ -99,8 +99,10 @@ class PageTest(object):
if action:
action.WillRunAction(page, tab)
self.WillRunAction(page, tab, action)
- action.RunAction(page, tab, None)
- self.DidRunAction(page, tab, action)
+ try:
+ action.RunAction(page, tab, None)
+ finally:
+ self.DidRunAction(page, tab, action)
try:
self._test_method(page, tab, results)
finally:
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/win_platform_backend.py ('k') | tools/telemetry/telemetry/page/scrolling_action.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698