Bug 231156
Summary: | Audio live stream keeps document.readyState in interactive state and window load event not fired | ||
---|---|---|---|
Product: | WebKit | Reporter: | Roland Soos <roland> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | achristensen, ahmad.saleem792, beidson, cdumez, eric.carlson, jer.noble, karlcow, kevin_neal, koivisto, mmaxfield, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 17 |
Roland Soos
Steps to reproduce:
1. Open https://smartslider3.com/bugs/webkit/stream/test.html
Expected result:
window loaded
document.readyState: complete
window loaded
Safari result:
document.readyState: interactive
document.readyState: interactive
document.readyState: interactive
document.readyState: interactive
document.readyState: interactive
document.readyState: interactive
....
Able to reproduce: IOS 15.0.0, MacOS Big Sur
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Roland Soos
Also it looks like document.fonts.ready is not resolved in this situation.
https://smartslider3.com/bugs/webkit/stream/test2.html
Kevin Neal
Thank you for filing. I was able to reproduce bug on latest iOS 15 beta, but not macOS Big Sur. The appropriate engineers have been notified.
Radar WebKit Bug Importer
<rdar://problem/83891866>
Ahmad Saleem
It is reproducible on macOS Sonoma Safari 17 as well.
Ahmad Saleem
iOS 17.6 Public Beta throw following:
document.readyState: interactive
window loaded
document.readyState: complete
window loaded
___
On desktop Safari 17.5.1:
window loaded
document.readyState: complete
window loaded
_____
On Chrome Canary 128:
window loaded
document.readyState: complete
window loaded
____
On Firefox Nightly 129:
window loaded
document.readyState: complete
window loaded
___
On Chrome 126 Android:
window loaded
document.readyState: complete
window loaded
Eric Carlson
I believe `document.readyState: interactive` is fine as long as it is only logged *before* the `loaded` event is fired.