WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
78582
Finish implementing start_helper for ChromiumAndroidPort
https://bugs.webkit.org/show_bug.cgi?id=78582
Summary
Finish implementing start_helper for ChromiumAndroidPort
Adam Barth
Reported
2012-02-13 23:44:46 PST
Finish implementing start_helper for ChromiumAndroidPort
Attachments
Patch
(4.48 KB, patch)
2012-02-13 23:46 PST
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Patch for landing
(4.53 KB, patch)
2012-02-14 11:32 PST
,
Adam Barth
abarth
: commit-queue+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2012-02-13 23:46:30 PST
Created
attachment 126917
[details]
Patch
Eric Seidel (no email)
Comment 2
2012-02-14 09:22:22 PST
Comment on
attachment 126917
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=126917&action=review
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:315 > + except: > + # Reset to 1970-01-01 00:00:00 UTC. > + host_datetime = 0
I wonder if anyone has ever used this except: path... I doubt it works. I'm not sure having an except here is helpful.
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:326 > + def _run_adb_command(self, cmd, ignore_error=False):
IT seems ignore_error=true is never used.
Adam Barth
Comment 3
2012-02-14 10:09:04 PST
Comment on
attachment 126917
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=126917&action=review
>> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:315 >> + host_datetime = 0 > > I wonder if anyone has ever used this except: path... I doubt it works. I'm not sure having an except here is helpful.
Another question is whether we should be using os.popen at all rather than using Executive. I'll probably switch it to executive before landing.
>> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:326 >> + def _run_adb_command(self, cmd, ignore_error=False): > > IT seems ignore_error=true is never used.
It's used on the very next line in the if condition.
Dirk Pranke
Comment 4
2012-02-14 10:39:32 PST
Comment on
attachment 126917
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=126917&action=review
Patch looks fine to me, just some editing of the comments ...
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:51 > +# FIXME: find a solution foe multi-core devices.
Nit: "for", not "foe".
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:63 > +FORWARD_PORTS = '8000 8080 8443 8880 9323'
These comments could use some grammatical editing as well. As an aside, I didn't realize 9323 was being used for anything ...
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:208 > + # Start the HTTP server for device to access test cases.
Nit: s/for device to access/so the device can access the/.
> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:309 > + # We need to make them synchronized, otherwise test may fail.
Nit: s/test/tests/ (or 'a test').
Adam Barth
Comment 5
2012-02-14 11:32:27 PST
Created
attachment 127006
[details]
Patch for landing
Adam Barth
Comment 6
2012-02-14 12:29:20 PST
Committed
r107725
: <
http://trac.webkit.org/changeset/107725
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug