summaryrefslogtreecommitdiff
path: root/Userland/Services/ChessEngine/main.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-04-19 09:20:48 -0400
committerAndreas Kling <kling@serenityos.org>2023-04-20 06:19:41 +0200
commitd2f9645cc00be122625298a7d7ddbb36bb5ba3aa (patch)
treebb8683fe52a4f5860acfb83b8662328efce3e786 /Userland/Services/ChessEngine/main.cpp
parent8d4d01d99ab850676a8d48aaadf875ebff51b2d0 (diff)
downloadserenity-d2f9645cc00be122625298a7d7ddbb36bb5ba3aa.zip
LibWeb: Properly stop, rather than terminate, ongoing media fetches
We are currently using the fetch controller's terminate() method to stop ongoing fetches when the HTMLMediaElement load algorithm is invoked. This method ultimately causes the fetch response to be a network error, which we propagate through the HTMLMediaElement's error event. This can cause websites, such as Steam, to avoid attempting to play any video. The spec does not actually specify what it means to "stop" or "cancel" a fetching process. But we should not use terminate() as that is a defined spec method, and the spec does tend to indicate when that method should be used (e.g. as it does in XMLHttpRequest).
Diffstat (limited to 'Userland/Services/ChessEngine/main.cpp')
0 files changed, 0 insertions, 0 deletions