KEMBAR78
debug `EXAMPLE 7` by youkinjoh · Pull Request #511 · w3c/presentation-api · GitHub
Skip to content

Conversation

@youkinjoh
Copy link
Contributor

@youkinjoh youkinjoh commented Dec 26, 2022

{string: '你好,世界!', lang: 'zh-CN'} is not parsable to JSON.

// controller.html
connection.send("{string: '你好,世界!', lang: 'zh-CN'}");

// presentation.html
var messageObj = JSON.parse(message.data);

And, drop body property.

document.appendChild(spanElt);

Preview | Diff

@w3cbot
Copy link

w3cbot commented Dec 27, 2022

tidoust marked as non substantive for IPR from ash-nazg.

@markafoltz
Copy link
Contributor

Thank you for this contribution! Unfortunately it looks like the spec doesn't build right now because of Issue #509. I will put up a PR to address that, then we can ensure the spec builds before merging.

@markafoltz markafoltz merged commit e20eb63 into w3c:main Jan 19, 2023
github-actions bot added a commit that referenced this pull request Jan 19, 2023
SHA: e20eb63
Reason: push, by mfoltzgoogle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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