Skip to content

DataTransfer's setData, getData, and clearData should allow "same-ness" to ignore charset #2947

Open
@rniwa

Description

@rniwa

When DataTransfer's method such as getData is called, Safari & Chrome both ignores the charset for the sake of equality at least on Mac. This would mean that, for example, setData('text/plain; charset=utf-8', 'foo'); is equivalent to setData('text/plain; charset=Shift_JIS', 'foo');. Firefox seems to treat these MIME types as distinct types even on Mac.

Given there is no mechanism to differentiate text MIME types based on charset on some platforms such as Mac, the spec should allow this behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions