Bug 1676833 [wpt PR 26500] - Remove ResponseWriter.flush() and explicit_flush, a...
commit69302e1363cd2d5c64b83ea484c47a08e0a98a8c
authorziransun <zsun@igalia.com>
Thu, 26 Nov 2020 21:31:19 +0000 (26 21:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 30 Nov 2020 20:05:54 +0000 (30 20:05 +0000)
treea5d5fd10377516f6a269b911047c28eda75e6ee8
parent59a7677e626a25a9273074308a573fbca634c2c9
Bug 1676833 [wpt PR 26500] - Remove ResponseWriter.flush() and explicit_flush, a=testonly

Automatic update from web-platform-tests
Remove ResponseWriter.flush() and explicit_flush (#26500)

The reliable way to detect aliveness of a socket is to check
wfile.write(). flush() is either not necessary (in Python 2)
or non-functional (in Python 3), and should be removed for clarity.

Fixes #24719 (see more context there)
--

wpt-commits: 388b29a2ed68dfceb87a97673b70660c28f183b0
wpt-pr: 26500
testing/web-platform/tests/element-timing/resources/progressive-image.py
testing/web-platform/tests/eventsource/resources/message2.py
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/moving-between-documents/resources/moving-between-documents-iframe.py
testing/web-platform/tests/resource-timing/SyntheticResponse.py
testing/web-platform/tests/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py
testing/web-platform/tests/service-workers/service-worker/resources/invalid-chunked-encoding-with-flush.py
testing/web-platform/tests/tools/wptserve/wptserve/response.py
testing/web-platform/tests/xhr/resources/echo-method.py