New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMCD tests failing on Xbox One #4072
Comments
Symbols are used to define custom CMCD token values. That said, there is currently no way to define custom CMCD fields (that feature is mentioned in the original ticket but not yet implemented). The symbol
|
I created a PR with another solution |
What are "custom CMCD token values", and why are Symbols the solution? |
The CMCD spec contains 4 value types: string, number, boolean and token. One example of a token type is the Object Type field. Token values are serialized without quotes. The spec also allows for custom key/value pairs to sent with each request. The original serialization code this is based off of from used Symbols to represent token values to create a one to one relationship between JS primitives and CMCD values types. https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf |
Close #4072 Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
Close #4072 Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
Test output on Xbox One:
It seems that the cause is the code to handle Symbols:
On Xbox One, it seems that
description
is unimplemented somehow:While that is clearly a bug in the platform's JavaScript environment, @littlespex, is it necessary or useful to have Symbol support here? I don't understand when someone would use that.
The text was updated successfully, but these errors were encountered: