Bug 314756

Summary: [Site Isolation] Fix http/tests/ssl/media-stream/get-user-media-secure-connection.html test failure
Product: WebKit Reporter: zak ridouh <zakr>
Component: New BugsAssignee: zak ridouh <zakr>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

zak ridouh
Reported 2026-05-13 14:39:40 PDT
The track-stopping cleanup added in 298547@main (rdar://157287595) reads stream.srcObject.getTracks(), but `stream` here is the MediaStream returned from navigator.mediaDevices.getUserMedia() — MediaStream has no srcObject property (that belongs to HTMLMediaElement). The thrown TypeError was masked without site isolation because it fired after testRunner.notifyDone() had already dumped output, but under site isolation extra cross-process IPC lets the promise's .catch run first, producing an extra FAIL line.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-13 14:39:46 PDT
zak ridouh
Comment 2 2026-05-13 15:48:45 PDT
EWS
Comment 3 2026-05-14 16:19:41 PDT
Committed 313278@main (6a2779a9df5b): <https://commits.webkit.org/313278@main> Reviewed commits have been landed. Closing PR #64879 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.