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

Side by Side Diff: telemetry/telemetry/internal/actions/utils.py

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import os
6
7
8 def InjectJavaScript(tab, jsFileName):
9 with open(os.path.join(os.path.dirname(__file__), jsFileName)) as f:
10 js = f.read()
11 tab.ExecuteJavaScript(js)
OLDNEW
« no previous file with comments | « telemetry/telemetry/internal/actions/tap.py ('k') | telemetry/telemetry/internal/app/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698