Skip to content

Should serialisation steps throw DataCloneError instead of TypeError in case forStorage is true #589

Closed

Description

@youennf

Chrome and Safari are throwing DataCloneError in that case (see web-platform-tests/wpt#36567 and WebKit/WebKit#5576).
Should we align spec to the implementations?
This might be applicable to EncodedVideoChunk, EncodedAudioChunk, AudioData and VideoFrame.

Activity

  1. padenot commented on Oct 20, 2022

    @padenot
    Collaborator

    Yes, it seems better semantically. We're currently implementing this, and we'll throw a DataCloneError instead, so everybody is aligned.

  2. dalecurtis commented on Oct 20, 2022

    @dalecurtis
    Contributor

    Thanks for fixing!

  3. added a commit that references this issue on Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions