NEW 200128
HTTP requests made by HTMLMediaElement are not canceled even after the element is removed
https://bugs.webkit.org/show_bug.cgi?id=200128
Summary HTTP requests made by HTMLMediaElement are not canceled even after the elemen...
Alicia Boya García
Reported 2019-07-25 09:39:18 PDT
When debugging video_timeupdate_on_seek.html in Safari (added as part of this patch https://bugs.webkit.org/show_bug.cgi?id=199719) I noticed the test always timed out. This test is quite particular in that the video is loaded from a special server endpoint (`timeout_on_seek.py`) which refuses to serve certain regions of the file but not sending any data and letting the request time out. (For context on why: That allows to test expected behaviors that should happen strictly before data is received from the server.) Eventually the test finishes, test.done() is called and the HTMLMediaElement is removed from <body>. But on Safari the request is still often alive for a long time, until it times out many seconds later. This seems to make the test runner timeout, even when all the tests signaled as "done". Changing the `src` attribute does not help. This problem is not apparent on other platforms, including iOS.
Attachments
Note You need to log in before you can comment on or make changes to this bug.