Bug 232480

Summary: getDisplayMedia crashes Safari TP 134
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash report from macOS none

Description Luke Warlow 2021-10-29 04:28:32 PDT
Created attachment 442805 [details]
Crash report from macOS

Calling getDisplayMedia() crashes Safari TP 134

Go to https://demo.lukewarlow.uk/get-display-media/ click the button, either the one in the iframe or parent page both are the same, observe Safari TP crashes.


This could have been the case in earlier Safari TP versions but I can only verify with the latest.
Comment 1 Radar WebKit Bug Importer 2021-10-29 04:36:34 PDT
<rdar://problem/84804037>
Comment 2 youenn fablet 2021-10-29 04:58:58 PDT
I am not able to reproduce in STP 134 myself but I am not on 12.0.1.
Comment 3 Luke Warlow 2021-10-29 06:23:52 PDT
Apologies, I forgot to mention you need to click allow when prompted for permission.
Comment 4 Alexey Proskuryakov 2021-11-01 09:11:18 PDT
I can reproduce.
Comment 5 Eric Carlson 2021-11-02 14:57:06 PDT
This doesn't reproduce in a TOT build. I believe it was fixed by the refactoring done in bug 232480.
Comment 6 Luke Warlow 2021-11-15 14:57:45 PST
Tested Safari TP 135 and this is indeed fixed.