mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
Follow the specification and make OffscreenCanvas objects are transferable, but not in case if there are a weak reference to placeholder canvas element. To handle it properly need to implement dedicated frame provider/dispatcher between canvas element (script thread) and offscreen canvas (dedicated worker thread). https://html.spec.whatwg.org/multipage/#the-offscreencanvas-interface:transferable-objects Testing: Improvements in the following tests - html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.detachedcanvas.html - html/canvas/offscreen/manual/convert-to-blob/offscreencanvas.convert.to.blob* - html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer* - html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js Part of #24276 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
---|---|---|
.. | ||
buffer_source.rs | ||
cell.rs | ||
constructor.rs | ||
conversions.rs | ||
error.rs | ||
frozenarray.rs | ||
function.rs | ||
import.rs | ||
inheritance.rs | ||
like.rs | ||
mod.rs | ||
principals.rs | ||
proxyhandler.rs | ||
refcounted.rs | ||
reflector.rs | ||
root.rs | ||
serializable.rs | ||
settings_stack.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
transferable.rs | ||
utils.rs | ||
weakref.rs | ||
xmlname.rs |