mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
According to specification the data:// URL protocol doesn't support range request so be able make any seek request to required content position let's allow for non seekable fetch context discard fetched content bytes until seek offset. https://fetch.spec.whatwg.org/#scheme-fetch Some scheme URLs (like data:// URL) doesn't expose "Content-Length" header in response so the total expected size of the stream is unknown and it causes some additional seek request (SeekData) from the media player. Try to post configure stream size after we reached fetch EOS response. Related source code which breaks WPT tests: [tests/wpt/tests/html/canvas/element/manual/imagebitmap/common.sub.js#L56-L78](https://github.com/servo/servo/tree/main/tests/wpt/tests/html/canvas/element/manual/imagebitmap/common.sub.js#L56-L78) Testing: Improvements in the following tests: - html/canvas/element/manual/imagebitmap/createImageBitmap* Fixes: https://github.com/servo/servo/issues/32645 Fixes: https://github.com/servo/servo/issues/32745 Fixes: https://github.com/servo/servo/issues/34119 Fixes: https://github.com/servo/servo/issues/34120 Fixes: https://github.com/servo/servo/issues/34151 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
---|---|---|
.. | ||
allocator | ||
background_hang_monitor | ||
bluetooth | ||
canvas | ||
compositing | ||
config | ||
constellation | ||
deny_public_fields | ||
devtools | ||
dom_struct | ||
domobject_derive | ||
fonts | ||
geometry | ||
hyper_serde | ||
jstraceable_derive | ||
layout | ||
malloc_size_of | ||
media | ||
metrics | ||
net | ||
pixels | ||
profile | ||
rand | ||
range | ||
script | ||
script_bindings | ||
servo | ||
servo_tracing | ||
shared | ||
timers | ||
url | ||
webdriver_server | ||
webgl | ||
webgpu | ||
webxr |