Bug 170131
| Summary: | [MSE] readyState doesn't open if the tab is in the background | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | gregory marcilhacy <marcilha> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Major | CC: | ap, eric.carlson, jer.noble, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 10 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.12 | ||
gregory marcilhacy
This is a bug with the Media Source Extensions and background tabs in Safari.
When attaching a new MediaSource to an Audio element source while the tab is in the background, the 'sourceopen' is never triggered.
Repro here: http://jsbin.com/hecohedugo/edit?js,console
Actual behavior:
- When a MediaSource is attached to an Audio src while the tab is in the background, the readyState is closed until the user focuses on the tab.
Expected behavior:
- When a MediaSource is attached to an Audio src while the tab is in the background, the readyState should be open.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31286985>
Eric Carlson
WebKit has never allowed a new audio or video element to start in a background tab. Why should MSE be any different?