Summary: | missing error event after the connection is interrupted and some media data has been received | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Massimiliano Mura <massimiliano.mura> | ||||
Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | tomasz, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 12 | ||||||
Hardware: | iPhone / iPad | ||||||
OS: | Other | ||||||
Attachments: |
|
Description
Massimiliano Mura
2019-05-28 08:59:43 PDT
Created attachment 373010 [details]
Test case
I experienced the same issue in Safari 12.1.1 (macOS 10.14.5). Test case 1. Open `test_case.html` in Safari 2. Press _Play_ button 3. Then PROGRESS events are fired 4. Turn off internet connection 5. Then STALLED and OFFLINE events are fired 6. Then "Failed to load resource: The internet connection appears to be offline". 7. Turn on internet connection 8. Then buffer is empty 9. Then the WAITING event is fired 10. Then playback hangs 11. Then the ERROR event is NOT fired ...finally the video element is broken. It's not possible to resume playback using play, pause or seek. I would like to note that the behaviour was different in previous versions. Safari was able to resume loading content after connection was back: 1. Open `test_case.html` in Safari 2. Press _Play_ button 3. Then PROGRESS events are fired 4. Turn off internet connection 5. Then STALLED and OFFLINE events are fired 6. Then "Failed to load resource: The internet connection appears to be offline". 7. Turn on internet connection 8. Then the buffer is NOT empty 9. Then PROGRESS events are fired (loading content is back) 10. Then video continues to play |