Bug 245870

Summary: WebRTC end-to-end encryption sample crash
Product: WebKit Reporter: Vitaly <vitaly.ivanov>
Component: WebRTCAssignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   

Description Vitaly 2022-09-30 02:17:39 PDT
https://webrtc.github.io/samples/src/content/insertable-streams/endtoend-encryption/ causes Safari to throw "This page was reloaded because a problem occurred"

Both regular Safari 16.0 and Safari Technology Preview, Release 154 (Safari 16.0, WebKit 17615.1.6.2) affected, I'm testing it on macOS 12.6, MacBookAir (M1, 2020).

Original issue: https://github.com/webrtc/samples/issues/1574
Comment 1 Radar WebKit Bug Importer 2022-09-30 03:17:09 PDT
<rdar://problem/100604972>
Comment 2 youenn fablet 2022-09-30 04:45:32 PDT
Adding SYS_sigreturn to WebContent sandbox fixes the issue.
Comment 3 Per Arne Vollan 2022-09-30 10:05:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4867
Comment 4 EWS 2022-09-30 11:41:52 PDT
Committed 255036@main (92d0f2039e48): <https://commits.webkit.org/255036@main>

Reviewed commits have been landed. Closing PR #4867 and removing active labels.