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

Issue 2615943003: [Telemetry] Allow value interpolation in action_runner JavaScript API (Closed)

Created:
3 years, 11 months ago by perezju
Modified:
3 years, 11 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Allow value interpolation in action_runner JavaScript API The new interface allows clients to easily interpolate values within JavaScript template snippents. For example: runner.ExecuteJavaScript('var foo = {{ value }};', value=1); Also update clients within catapult to use the new interface. API change: timeout_in_seconds argument in WaitForJavaScriptCondition can no longer be accessed as a positional argument, the keyword must be used explicitly to set that argument. Corresponding chromium CL: https://codereview.chromium.org/2617483006/ BUG=catapult:#3028 Review-Url: https://codereview.chromium.org/2615943003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/9c4a543d55a4afcab403f792785fae964586978c

Patch Set 1 #

Patch Set 2 : fix CreateInteraction method #

Total comments: 1

Patch Set 3 : fix more tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -60 lines) Patch
M telemetry/telemetry/internal/actions/action_runner.py View 1 7 chunks +24 lines, -16 lines 0 comments Download
M telemetry/telemetry/internal/actions/action_runner_unittest.py View 1 2 3 chunks +35 lines, -37 lines 0 comments Download
M telemetry/telemetry/internal/backends/form_based_credentials_backend.py View 1 chunk +4 lines, -4 lines 0 comments Download
M telemetry/telemetry/internal/backends/form_based_credentials_backend_unittest_base.py View 1 2 2 chunks +4 lines, -3 lines 1 comment Download

Messages

Total messages: 26 (17 generated)
perezju
3 years, 11 months ago (2017-01-06 16:18:22 UTC) #5
nednguyen
lgtm
3 years, 11 months ago (2017-01-06 16:23:56 UTC) #6
perezju
This should fix some of the errors, but probably a few remain. Re-running git cl ...
3 years, 11 months ago (2017-01-09 11:53:00 UTC) #9
perezju
More tests fixed ... git cl try-ing ... https://codereview.chromium.org/2615943003/diff/40001/telemetry/telemetry/internal/backends/form_based_credentials_backend_unittest_base.py File telemetry/telemetry/internal/backends/form_based_credentials_backend_unittest_base.py (right): https://codereview.chromium.org/2615943003/diff/40001/telemetry/telemetry/internal/backends/form_based_credentials_backend_unittest_base.py#newcode35 telemetry/telemetry/internal/backends/form_based_credentials_backend_unittest_base.py:35: '(document.querySelector({{ ...
3 years, 11 months ago (2017-01-09 13:13:20 UTC) #14
nednguyen
On 2017/01/09 13:13:20, perezju wrote: > More tests fixed ... git cl try-ing ... > ...
3 years, 11 months ago (2017-01-09 14:06:51 UTC) #19
nednguyen
lgtm
3 years, 11 months ago (2017-01-09 14:08:01 UTC) #20
perezju
On 2017/01/09 14:08:01, nednguyen wrote: > lgtm All tests green. Landing now.
3 years, 11 months ago (2017-01-09 14:10:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2615943003/40001
3 years, 11 months ago (2017-01-09 14:10:55 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 14:12:36 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698