History log of /external/autotest/client/site_tests/power_LoadTest/extension/test.js
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd456804cb8f90f43589f440e0a12c3a7fc7c9d4 30-Jul-2015 Derek Basehore <dbasehore@chromium.org> power_LoadTest: set extension params directly

This has the autotest set the extension params by executing JavaScript
through the python object. This fixes issues with & and + in urls for the
tasks list.

BUG=chromium:515240
TEST=run power_LoadTest

Change-Id: I1c8889fa67822e18d7c80f20b38ac5aaa0f94c6d
Reviewed-on: https://chromium-review.googlesource.com/289668
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Derek Basehore <dbasehore@chromium.org>
Commit-Queue: Derek Basehore <dbasehore@chromium.org>
/external/autotest/client/site_tests/power_LoadTest/extension/test.js
fbfc73ac8e56a1eb32c9d9abaf9ac9e6328e1bdd 03-Jun-2015 Derek Basehore <dbasehore@chromium.org> autotest: power_LoadTest: Fixup extension code

This removes the depricated API calls onRequest and sendRequest which don't
work on Chrome on some platforms. It also calls setupTest though setTimeout
for the onClick option since that's what we do when running the code through
telemetry.

BUG=None
TEST=run power_LoadTest

Change-Id: I0a3a65b67401c3cfb7362bd28d3b2ce30fdaffcf
Reviewed-on: https://chromium-review.googlesource.com/274908
Tested-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Queue: Derek Basehore <dbasehore@chromium.org>
/external/autotest/client/site_tests/power_LoadTest/extension/test.js
6fdd5d58b12c5bfafcd63131c0f95d59a9d8376a 17-Oct-2014 Derek Basehore <dbasehore@chromium.org> power_LoadTest: Fix race with closing windows

There's a race in power_LoadTest where the windows are closed for the next loop
from a function scheduled at the end of the previous loop. This just removes
that function since the windows we open during the test will close on their own
and the next loop will close any preexisting windows.

BUG=chromium:424391
TEST=run full power_LoadTest and make sure that:
grep "Didn't get status back from power extension" debug/power_LoadTest.DEBUG
doesn't find anything

Change-Id: I6cf593449b386fd219f9ee9f18cc7ac084afb1a3
Reviewed-on: https://chromium-review.googlesource.com/223835
Tested-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Queue: Derek Basehore <dbasehore@chromium.org>
/external/autotest/client/site_tests/power_LoadTest/extension/test.js
664bad8943c04684b1181e53dc0e58d598733c55 06-May-2014 Derek Basehore <dbasehore@chromium.org> power_LoadTest: Work around extension loading twice

This works around Chrome loading the extension for OOBE and after login by
making the extension not automatically start on load. The icon can still be
clicked to start the extension though.

Instead, this relies on power_LoadTest.py to start the test by executing a
javascript function for the extension.

BUG=chrome-os-partner:27981
TEST=run power_LoadTest
check that only one set of windows opens

Change-Id: Ib10ce757b3fdabca4604f148374f80993fc34e85
Reviewed-on: https://chromium-review.googlesource.com/198278
Tested-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Queue: Derek Basehore <dbasehore@chromium.org>
/external/autotest/client/site_tests/power_LoadTest/extension/test.js
7ff242af4e9fa2bd1ea05a64c6c7e07b34339476 03-Apr-2014 Derek Basehore <dbasehore@chromium.org> Move power_LoadTest extension over to manifest v2

Telemetry requires all extensions to be manifest v2. This moves javascript out
of html files and into js files. This also reduces the time for the background
window to 60 minutes and fixes a small issue during the end of the extension
loop which delays page load data from being uploaded.

TEST=power_LoadTest
BUG=chromium:337029

Change-Id: I49e61b40ae7a4b177d1ea0395ae2dffbb60ee93b
Reviewed-on: https://chromium-review.googlesource.com/193053
Reviewed-by: Derek Basehore <dbasehore@chromium.org>
Tested-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Derek Basehore <dbasehore@chromium.org>
/external/autotest/client/site_tests/power_LoadTest/extension/test.js