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

Unified Diff: tools/perf/page_sets/image_decoding_measurement.json

Issue 22883011: Removing Page.WaitToLoad and update all pagesets to use explicit wait actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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/perf/page_sets/image_decoding_measurement.json
diff --git a/tools/perf/page_sets/image_decoding_measurement.json b/tools/perf/page_sets/image_decoding_measurement.json
index fcf1ce26195fbc162ff658df9f51b9f4ace71da8..5f7dbd403c547a7a26ea95e49dabffffda34657d 100644
--- a/tools/perf/page_sets/image_decoding_measurement.json
+++ b/tools/perf/page_sets/image_decoding_measurement.json
@@ -1,7 +1,10 @@
{
"description": "A directed benchmark of image decoding performance",
- "post_navigate_javascript_to_execute": "runBenchmark();",
- "wait_for_javascript_expression": "isDone",
+ "navigate_steps": [
+ { "action": "navigate"},
+ { "action": "javascript", "expression": "runBenchmark();"},
+ { "action": "wait", "condition": "javascript", "javascript": "isDone" }
+ ],
"image_decoding_measurement_limit_results_to_min_iterations": true,
"pages": [
{ "url": "file:///../../../chrome/test/data/image_decoding/image_decoding.html?gif" },

Powered by Google App Engine
This is Rietveld 408576698