Skip to content

[js-api] use DOMString - #947

Merged
binji merged 3 commits into
WebAssembly:masterfrom
xtuc:spec-change-USVString
Jan 25, 2019
Merged

binji merged 3 commits into
WebAssembly:masterfrom
xtuc:spec-change-USVString

Conversation

@xtuc

@xtuc xtuc commented Jan 17, 2019 •

Copy link
Copy Markdown
Contributor

Switching from USVString to DOMString will allow the string to contain non normalized surrogates.

Currently, JavaScript engines already use a DOMString as argument.

Fixes #915

cc @Ms2ger @littledan

xtuc added 2 commits January 17, 2019 16:47
Switching from USVString to DOMString will allow the string (argument)
to contain non normalized surrogates.

Currently, JavaScript engines already use a DOMString as argument.
Comment thread document/js-api/index.bs Resolved
Comment thread document/js-api/index.bs Resolved
@xtuc

xtuc commented Jan 18, 2019

Copy link
Copy Markdown
Contributor Author

@Ms2ger I updated the change, I initially though It could avoid any future confusion, but It doesn't seem necessary.

@binji binji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@binji
binji merged commit 10b54a4 into WebAssembly:master Jan 25, 2019
@xtuc
xtuc deleted the spec-change-USVString branch January 25, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants