-
-
Notifications
You must be signed in to change notification settings - Fork 36
Fix unpaired surrogate in test #1072
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
Conversation
Fixes #1062 per 2025-04-21 call
Comments, of course, are not legal JSON either, but sometimes work... removing here so we can handle differently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't want to include an escaped unpaired surrogate to accommodate a possible understanding of the JSON spec, we should not include a double-escaped one either.
In other words, if this one particular feature is not representable in JSON, we should instead describe the required test in test/README.md
or somewhere else, as it'll need special handling in any case.
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
Fair point. I'll modify the readme in the next push. |
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
Fixes #1062 per 2025-04-21 call