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 Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/177009411>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/64879
EWS
Committed 313278@main (6a2779a9df5b): <https://commits.webkit.org/313278@main>
Reviewed commits have been landed. Closing PR #64879 and removing active labels.