WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191974
webkitpy: Add watchOS ports
https://bugs.webkit.org/show_bug.cgi?id=191974
Summary
webkitpy: Add watchOS ports
Jonathan Bedard
Reported
2018-11-26 11:33:57 PST
Add ports for running layout tests on watchOS.
Attachments
Patch
(24.78 KB, patch)
2018-11-26 11:36 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(24.91 KB, patch)
2018-11-26 13:09 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch for landing
(25.01 KB, patch)
2018-11-27 15:52 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-11-26 11:34:41 PST
<
rdar://problem/46251051
>
Jonathan Bedard
Comment 2
2018-11-26 11:36:44 PST
Created
attachment 355660
[details]
Patch
Jonathan Bedard
Comment 3
2018-11-26 13:09:31 PST
Created
attachment 355668
[details]
Patch
Lucas Forschler
Comment 4
2018-11-27 13:48:30 PST
Comment on
attachment 355668
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=355668&action=review
> Tools/Scripts/webkitpy/port/watch_device.py:42 > + NO_ON_DEVICE_TESTING = 'On-device testing is not supported on this machine'
is 'machine' the right noun here? How about: configuration | device | platform | scenario ?
> Tools/Scripts/webkitpy/port/watch_simulator.py:39 > + DEFAULT_ARCHITECTURE = 'x86'
I am not certain of watchOS conventions, but other places we use i386, or x86_64.
> Tools/Scripts/webkitpy/port/watch_simulator.py:116 > + _log.error('No Simulated device matching "{}" found in watchOS SDK'.format(str(target_device_type)))
nit: lower case simulated.
> Tools/Scripts/webkitpy/port/watch_simulator.py:119 > + def setup_environ_for_server(self, server_name=None):
I think this should be setup_env_for_server, or fully spelled out as setup_environment_for_server
Aakash Jain
Comment 5
2018-11-27 14:06:17 PST
Comment on
attachment 355668
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=355668&action=review
> Tools/Scripts/webkitpy/port/watch.py:23 > +
Nit: Do we need 2 or 1 empty lines here?
> Tools/Scripts/webkitpy/port/watch.py:103 > + # The implementation of this funciton differs between on-device and simulator testing.
typo: funciton => function
Jonathan Bedard
Comment 6
2018-11-27 14:10:28 PST
Comment on
attachment 355668
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=355668&action=review
>> Tools/Scripts/webkitpy/port/watch_simulator.py:39 >> + DEFAULT_ARCHITECTURE = 'x86' > > I am not certain of watchOS conventions, but other places we use i386, or x86_64.
Testing this now, pretty sure you're right and i386 is required.
>> Tools/Scripts/webkitpy/port/watch_simulator.py:119 >> + def setup_environ_for_server(self, server_name=None): > > I think this should be setup_env_for_server, or fully spelled out as setup_environment_for_server
This function is coming from a base class, so we shouldn't change it's name here.
Jonathan Bedard
Comment 7
2018-11-27 15:52:00 PST
Created
attachment 355800
[details]
Patch for landing
WebKit Commit Bot
Comment 8
2018-11-27 16:29:49 PST
Comment on
attachment 355800
[details]
Patch for landing Clearing flags on attachment: 355800 Committed
r238590
: <
https://trac.webkit.org/changeset/238590
>
WebKit Commit Bot
Comment 9
2018-11-27 16:29:51 PST
All reviewed patches have been landed. Closing bug.
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