WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
229768
Enable WebRTC relay for SafariViewController
https://bugs.webkit.org/show_bug.cgi?id=229768
Summary
Enable WebRTC relay for SafariViewController
youenn fablet
Reported
2021-09-01 13:24:47 PDT
Enable WebRTC relay for SafariViewController
Attachments
Patch
(22.53 KB, patch)
2021-09-01 13:27 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(16.95 KB, patch)
2021-09-02 03:40 PDT
,
youenn fablet
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(16.90 KB, patch)
2021-09-02 03:53 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(16.90 KB, patch)
2021-09-02 05:27 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(17.11 KB, patch)
2021-09-02 23:38 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2021-09-01 13:27:19 PDT
Created
attachment 437064
[details]
Patch
youenn fablet
Comment 2
2021-09-02 03:40:57 PDT
Created
attachment 437133
[details]
Patch
youenn fablet
Comment 3
2021-09-02 03:53:43 PDT
Created
attachment 437134
[details]
Patch
youenn fablet
Comment 4
2021-09-02 05:22:58 PDT
<
rdar://82624417
>
youenn fablet
Comment 5
2021-09-02 05:27:56 PDT
Created
attachment 437138
[details]
Patch
Sam Weinig
Comment 6
2021-09-02 08:52:46 PDT
Comment on
attachment 437138
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=437138&action=review
> Source/WebKit/ChangeLog:11 > + Use source application bundle identifier instead of attributed bundle identifier for nw_parameters_set_source_application_by_bundle_id. > + Use attributed bundle identifier for nw_parameters_set_attributed_bundle_identifier. > + Make sure to not set token data in case application bundle identifier is available. > + Introduce a helper routine to share more code between UDP and TCP sockets.
Please add an explanation as to why this fixes the bug. Please explain what this has to do with "Enable WebRTC relay for SafariViewController".
> Source/WebKit/ChangeLog:13 > + Manually tested.
Please add an explanation as to why this can't be tested in an automated fashion. Anything without automated testing is prone to regression.
youenn fablet
Comment 7
2021-09-02 10:37:39 PDT
> > Source/WebKit/ChangeLog:11 > > + Use source application bundle identifier instead of attributed bundle identifier for nw_parameters_set_source_application_by_bundle_id. > > + Use attributed bundle identifier for nw_parameters_set_attributed_bundle_identifier. > > + Make sure to not set token data in case application bundle identifier is available. > > + Introduce a helper routine to share more code between UDP and TCP sockets. > > Please add an explanation as to why this fixes the bug. Please explain what > this has to do with "Enable WebRTC relay for SafariViewController".
Sure, relay is decided by NW layer upon source application, which can either be a bundle id or a token.
> > Source/WebKit/ChangeLog:13 > > + Manually tested. > > Please add an explanation as to why this can't be tested in an automated > fashion. Anything without automated testing is prone to regression.
Such testing would require access to relays from our testing bots. Plus the right source application bundle.
youenn fablet
Comment 8
2021-09-02 23:38:36 PDT
Created
attachment 437245
[details]
Patch for landing
EWS
Comment 9
2021-09-03 02:48:15 PDT
Committed
r281982
(
241289@main
): <
https://commits.webkit.org/241289@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 437245
[details]
.
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