8000 Make encodeInto() throw when given a detached buffer · Issue #324 · whatwg/encoding · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Make encodeInto() throw when given a detached buffer #324
Open
@annevk

Description

@annevk

In whatwg/webidl#1385 we discovered some specification UB. However, that also raised the question as to whether this method should perhaps be throwing an exception when given a detached buffer.

I tend to think it should and hopefully there's no callers relying on it not throwing as it's still early days?

cc @hsivonen @inexorabletash @youennf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0