diff --git a/files/en-us/web/api/mediasourcehandle/index.md b/files/en-us/web/api/mediasourcehandle/index.md index 10540bad614a655..1c978782b90826a 100644 --- a/files/en-us/web/api/mediasourcehandle/index.md +++ b/files/en-us/web/api/mediasourcehandle/index.md @@ -13,6 +13,8 @@ It can be accessed via the {{domxref("MediaSource.handle")}} property. Each `MediaSource` object created inside a dedicated worker has its own distinct `MediaSourceHandle`. The `MediaSource.handle` getter will always return the `MediaSourceHandle` instance specific to the associated dedicated worker `MediaSource` instance. If the handle has already been transferred to the main thread using {{domxref("DedicatedWorkerGlobalScope.postMessage()", "postMessage()")}}, the handle instance in the worker is technically detached and can't be transferred again. +`MediaSourceHandle` is a [transferable object](/en-US/docs/Web/API/Web_Workers_API/Transferable_objects). + ## Instance properties None. diff --git a/files/en-us/web/api/midiaccess/index.md b/files/en-us/web/api/midiaccess/index.md index 6ecdcb1cc4a4611..b71034bae120938 100644 --- a/files/en-us/web/api/midiaccess/index.md +++ b/files/en-us/web/api/midiaccess/index.md @@ -9,6 +9,8 @@ browser-compat: api.MIDIAccess The **`MIDIAccess`** interface of the [Web MIDI API](/en-US/docs/Web/API/Web_MIDI_API) provides methods for listing MIDI input and output devices, and obtaining access to those devices. +`MIDIAccess` is a [transferable object](/en-US/docs/Web/API/Web_Workers_API/Transferable_objects). + {{InheritanceDiagram}} ## Instance properties diff --git a/files/en-us/web/api/web_workers_api/transferable_objects/index.md b/files/en-us/web/api/web_workers_api/transferable_objects/index.md index 501afa631db7607..197ffa9b89cf911 100644 --- a/files/en-us/web/api/web_workers_api/transferable_objects/index.md +++ b/files/en-us/web/api/web_workers_api/transferable_objects/index.md @@ -73,7 +73,9 @@ console.log(original.byteLength); // 0 ## Supported objects -The items that various specifications indicate can be _transferred_ are: +Interfaces that can be transferred should include this information in their introduction. + +Some of the items that various specifications indicate can be _transferred_ are listed below (this list may not be exhaustive!): - {{jsxref("ArrayBuffer")}} - {{domxref("MessagePort")}} @@ -87,12 +89,12 @@ The items that various specifications indicate can be _transferred_ are: - {{domxref("VideoFrame")}} - {{domxref("OffscreenCanvas")}} - {{domxref("RTCDataChannel")}} - -Browser support should be indicated in the respective object's compatibility information by the `transferable` subfeature (see [`RTCDataChannel`](/en-US/docs/Web/API/RTCDataChannel#browser_compatibility) for an example). -At time of writing, not all transferable objects have been updated with this information. +- {{domxref("MediaSourceHandle")}} +- {{domxref("MIDIAccess")}} > [!NOTE] > Transferable objects are marked up in [Web IDL files](https://github.com/w3c/webref/tree/main/ed/idl) with the attribute `[Transferable]`. +> Browser support may be indicated in the respective object's compatibility information by the `transferable` subfeature (see [`RTCDataChannel`](/en-US/docs/Web/API/RTCDataChannel#browser_compatibility) for an example). ## See also