Bug
1826326 [wpt PR 39360] - Get rid of ResourceWarnings produced by the tests, a=testonly
Automatic update from web-platform-tests
Close files opened within wptserve tests
--
Make wptserve.request.InputFile closeable
It creates temporary file objects which need closed, thus it needs to
be closeable, as does wptserve.request.Request which uses it.
--
Make wptserve.response.Response.iter_contents close self.content
This moves to always iterating over the file, as there doesn't seem to
be any handlers which require the full content at this point.
--
Explicitly destroy excinfo which hold on to sockets
It seems like explicitly destroying these avoids a ResourceWarning;
I'm not sure why, given it's just changing how the reference dies.
--
wpt-commits:
187cabef589e6080655b37cd7d5077eb13669231,
f22fbbb4b8b8ead1b742da219d3114dc5c9010fb,
e72e622c4f31bb412ba23f1d80ccb2bc0aa45079,
0ffeb402039dbb8275e9e16ba6e367866437f960
wpt-pr: 39360