User:Roc/WorkerCanvasProposal: Difference between revisions

Line 30: Line 30:


transferControlToWorker behaves like transferControlToProxy in the current WHATWG spec. It's transferable, but transfer fails if transferred other than from the main thread to a worker. All its methods throw if not called on a worker, or if it's neutered.
transferControlToWorker behaves like transferControlToProxy in the current WHATWG spec. It's transferable, but transfer fails if transferred other than from the main thread to a worker. All its methods throw if not called on a worker, or if it's neutered.
HTMLImageElement.srcObject behaves like HTMLMediaElement.srcObject: if non-null, it takes precedence over the "src" attribute and renders the contents of the Blob (as a decoded image) or the ImageBitmap.
1,295

edits