[Webkit-unassigned] [Bug 200128] New: HTTP requests made by HTMLMediaElement are not canceled even after the element is removed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 25 09:39:18 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=200128
Bug ID: 200128
Summary: HTTP requests made by HTMLMediaElement are not
canceled even after the element is removed
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aboya at igalia.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190725/c7450f4d/attachment.html>
More information about the webkit-unassigned
mailing list