10 years, 5 months ago
(2010-07-08 20:56:06 UTC)
#3
LGTM. Thanks!
DaleCurtis
Comment from quick once over, will detail more shortly. http://codereview.chromium.org/2844047/diff/2001/3003 File client/site_tests/power_LoadTest/extension/background.html (right): http://codereview.chromium.org/2844047/diff/2001/3003#newcode36 client/site_tests/power_LoadTest/extension/background.html:36: ...
10 years, 5 months ago
(2010-07-08 21:01:26 UTC)
#4
Comment from quick once over, will detail more shortly.
http://codereview.chromium.org/2844047/diff/2001/3003
File client/site_tests/power_LoadTest/extension/background.html (right):
http://codereview.chromium.org/2844047/diff/2001/3003#newcode36
client/site_tests/power_LoadTest/extension/background.html:36: for (var i = 0; i
< tasks.length; i++) {
Some more comments here would be helpful. Also, is it reasonable to expect tasks
to always complete in fixed intervals? Slightly off topic, but how accurate is
setTimeout? => Results missed because send_status executes before task
completion. Normally some sort of callback should be used instead.
DaleCurtis
These two are up to you. I think you can lose some code if you ...
10 years, 5 months ago
(2010-07-08 21:26:47 UTC)
#5
These two are up to you. I think you can lose some code if you go this way and
I'm always a fan of less code :)
http://codereview.chromium.org/2844047/diff/10001/11005
File client/site_tests/power_LoadTest/extension/testparams.js (right):
http://codereview.chromium.org/2844047/diff/10001/11005#newcode18
client/site_tests/power_LoadTest/extension/testparams.js:18: var eventData =
document.getElementById('myCustomEventDiv').innerText;
In combination with my comment on testparams.html you would use .value here
instead of innerText.
http://codereview.chromium.org/2844047/diff/10001/11008
File client/site_tests/power_LoadTest/testparams.html (right):
http://codereview.chromium.org/2844047/diff/10001/11008#newcode32
client/site_tests/power_LoadTest/testparams.html:32: createDiv('test_time_ms',
test_time_ms, false);
Normally you would put this kind of content into a <input type="hidden"
value="<value>" id="<id>"/> field. Then you wouldn't need to do a style=display:
none, etc.
Benson Leung
Hi Sameer, PTAL.
9 years, 9 months ago
(2011-02-28 08:07:36 UTC)
#6
Hi Sameer,
PTAL.
Sameer Nanda
Also had a chat offline with Benson regarding passing the parameters from test to the ...
9 years, 9 months ago
(2011-02-28 22:11:34 UTC)
#7
http://codereview.chromium.org/2844047/diff/49001/client/site_tests/power_LoadTest/power_LoadTest.py File client/site_tests/power_LoadTest/power_LoadTest.py (right): http://codereview.chromium.org/2844047/diff/49001/client/site_tests/power_LoadTest/power_LoadTest.py#newcode228 client/site_tests/power_LoadTest/power_LoadTest.py:228: def cleanup(self): While looking at another test I realized ...
9 years, 9 months ago
(2011-03-01 18:43:20 UTC)
#10
Issue 2844047: Modify power_LoadTest Extension to pull in test parameters.
(Closed)
Created 10 years, 5 months ago by Benson Leung
Modified 9 years, 7 months ago
Reviewers: DaleCurtis, davidjames, Sameer Nanda
Base URL: ssh://gitrw.chromium.org/autotest.git
Comments: 24