RESOLVED FIXED Bug 227210
[Cocoa] Migrate WebRTC UDP socket handling to NW API
https://bugs.webkit.org/show_bug.cgi?id=227210
Summary [Cocoa] Migrate WebRTC UDP socket handling to NW API
youenn fablet
Reported 2021-06-21 04:33:26 PDT
[Cocoa] Migrate WebRTC UDP socket handling to NW API
Attachments
Patch (53.06 KB, patch)
2021-06-21 05:02 PDT, youenn fablet
no flags
Patch (53.71 KB, patch)
2021-06-21 05:36 PDT, youenn fablet
no flags
Patch (53.78 KB, patch)
2021-06-21 09:02 PDT, youenn fablet
no flags
Patch (54.25 KB, patch)
2021-06-21 11:06 PDT, youenn fablet
no flags
Patch (54.41 KB, patch)
2021-06-21 11:43 PDT, youenn fablet
no flags
Patch (65.45 KB, patch)
2021-06-22 02:33 PDT, youenn fablet
no flags
Patch (65.36 KB, patch)
2021-06-22 03:48 PDT, youenn fablet
no flags
Patch (67.35 KB, patch)
2021-06-22 04:51 PDT, youenn fablet
no flags
Patch for landing (69.62 KB, patch)
2021-06-29 10:04 PDT, youenn fablet
no flags
Patch for landing (69.11 KB, patch)
2021-06-30 00:45 PDT, youenn fablet
no flags
Patch for landing (69.11 KB, patch)
2021-06-30 00:49 PDT, youenn fablet
no flags
Patch for landing (69.59 KB, patch)
2021-07-01 01:11 PDT, youenn fablet
no flags
Patch (2.14 KB, patch)
2021-07-01 06:54 PDT, youenn fablet
no flags
Patch (3.66 KB, patch)
2021-07-01 08:04 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2021-06-21 05:02:06 PDT
youenn fablet
Comment 2 2021-06-21 05:36:16 PDT
youenn fablet
Comment 3 2021-06-21 09:02:45 PDT
youenn fablet
Comment 4 2021-06-21 11:06:12 PDT
youenn fablet
Comment 5 2021-06-21 11:43:08 PDT
youenn fablet
Comment 6 2021-06-22 02:33:39 PDT
youenn fablet
Comment 7 2021-06-22 03:48:26 PDT
youenn fablet
Comment 8 2021-06-22 04:51:30 PDT
Radar WebKit Bug Importer
Comment 9 2021-06-28 04:34:16 PDT
youenn fablet
Comment 10 2021-06-28 10:45:09 PDT
iOS test failure is probably related to change in the timing, but I do not think this is a regression per se.
Eric Carlson
Comment 11 2021-06-28 10:57:08 PDT
Comment on attachment 431958 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431958&action=review > Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.h:2 > + * Copyright (C) 2020 Apple Inc. All rights reserved. Nit: should this be 2021? > Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm:2 > + * Copyright (C) 2020 Apple Inc. All rights reserved. Ditto > Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm:74 > + if (error) > + return; Is it worth logging this error?
youenn fablet
Comment 12 2021-06-29 10:04:44 PDT
Created attachment 432493 [details] Patch for landing
EWS
Comment 13 2021-06-30 00:44:25 PDT
ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.
youenn fablet
Comment 14 2021-06-30 00:45:50 PDT
Created attachment 432570 [details] Patch for landing
EWS
Comment 15 2021-06-30 00:47:08 PDT
ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.
youenn fablet
Comment 16 2021-06-30 00:49:57 PDT
Created attachment 432571 [details] Patch for landing
EWS
Comment 17 2021-06-30 01:46:45 PDT
Committed r279405 (239270@main): <https://commits.webkit.org/239270@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432571 [details].
Truitt Savell
Comment 18 2021-06-30 14:00:49 PDT
t looks like the changes in https://trac.webkit.org/changeset/279405/webkit broke 50+ webrtc tests for mac debug https://build.webkit.org/#/builders/23/builds/2608 We should revert this if it is not a quick fix
Truitt Savell
Comment 19 2021-06-30 14:16:26 PDT
Reverted r279405 for reason: Casued 50+ webrtc crashes on Big Sur Debug Committed r279432 (239291@main): <https://commits.webkit.org/239291@main>
youenn fablet
Comment 20 2021-07-01 00:43:03 PDT
Crash seems to be related to use of nw_endpoint_get_hostname which is not behaving the same in BigSur and Monterey. I will check endpoint type for extra safety.
youenn fablet
Comment 21 2021-07-01 01:11:10 PDT
Created attachment 432667 [details] Patch for landing
EWS
Comment 22 2021-07-01 03:37:45 PDT
Committed r279461 (239317@main): <https://commits.webkit.org/239317@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432667 [details].
youenn fablet
Comment 23 2021-07-01 06:54:23 PDT
Reopening to attach new patch.
youenn fablet
Comment 24 2021-07-01 06:54:26 PDT
youenn fablet
Comment 25 2021-07-01 08:04:40 PDT
EWS
Comment 26 2021-07-01 08:58:09 PDT
Committed r279464 (239320@main): <https://commits.webkit.org/239320@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432691 [details].
Note You need to log in before you can comment on or make changes to this bug.