WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188758
WebKitTestRunner: Add watchOS entitlements
https://bugs.webkit.org/show_bug.cgi?id=188758
Summary
WebKitTestRunner: Add watchOS entitlements
Jonathan Bedard
Reported
2018-08-20 14:28:34 PDT
Testing WebKit on watchOS requires some specific entitlements.
Attachments
Patch
(4.36 KB, patch)
2018-08-20 14:43 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2018-08-20 14:43:42 PDT
Created
attachment 347547
[details]
Patch
Jonathan Bedard
Comment 2
2018-08-20 14:44:59 PDT
Talking with Tim Horton, while service workers are not supported on watchOS, in the event that they were supported in the future, someone would need to re-discover this entitlement, so I kept it.
WebKit Commit Bot
Comment 3
2018-08-20 16:10:27 PDT
Comment on
attachment 347547
[details]
Patch Clearing flags on attachment: 347547 Committed
r235099
: <
https://trac.webkit.org/changeset/235099
>
WebKit Commit Bot
Comment 4
2018-08-20 16:10:28 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5
2018-08-20 16:48:21 PDT
<
rdar://problem/43534326
>
Daniel Bates
Comment 6
2018-08-27 13:40:22 PDT
(In reply to Jonathan Bedard from
comment #2
)
> Talking with Tim Horton, while service workers are not supported on watchOS, > in the event that they were supported in the future, someone would need to > re-discover this entitlement, so I kept it.
We (the WebKit OpenSource Project and Apple) practice <
https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it
>: do not add functionality until deemed necessary. And this bug does just that. Adding "dead code" like what is being done in this patch hurts hackability and I suggest we revert <
https://trac.webkit.org/changeset/235099
>. The entitlement can be found by looking at <
https://trac.webkit.org/browser/webkit/trunk/Tools/WebKitTestRunner/Configurations/WebKitTestRunnerApp-iOS.entitlements?rev=228589
> or grepping ChangeLogs and blaming code to find the code changes associated with the
bug #182865
, which added the entitlement.
Daniel Bates
Comment 7
2018-08-27 13:42:50 PDT
(In reply to Daniel Bates from
comment #6
)
> (In reply to Jonathan Bedard from
comment #2
) > > Talking with Tim Horton, while service workers are not supported on watchOS, > > in the event that they were supported in the future, someone would need to > > re-discover this entitlement, so I kept it. > > We (the WebKit OpenSource Project and Apple) practice > <
https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it
>: do not add > functionality until deemed necessary. And this bug does just that.
*And this bug does does the opposite: It adds functionality that is not necessary.
Jonathan Bedard
Comment 8
2018-08-27 15:40:08 PDT
(In reply to Daniel Bates from
comment #6
)
> (In reply to Jonathan Bedard from
comment #2
) > > Talking with Tim Horton, while service workers are not supported on watchOS, > > in the event that they were supported in the future, someone would need to > > re-discover this entitlement, so I kept it. > > We (the WebKit OpenSource Project and Apple) practice > <
https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it
>: do not add > functionality until deemed necessary. And this bug does just that. Adding > "dead code" like what is being done in this patch hurts hackability and I > suggest we revert <
https://trac.webkit.org/changeset/235099
>. The > entitlement can be found by looking at > <
https://trac.webkit.org/browser/webkit/trunk/Tools/WebKitTestRunner/
> Configurations/WebKitTestRunnerApp-iOS.entitlements?rev=228589> or grepping > ChangeLogs and blaming code to find the code changes associated with the bug > #182865 , which added the entitlement.
Do not revert <
https://trac.webkit.org/changeset/235099
>. There are two entitlements in that change, one which is most certainly being used. If you would like to remove the Service Workers entitlement, then upload a patch to do so.
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