Mark S. Miller
Mark S. Miller
Obviously, to be coordinated with OCapN effort as well. Note: OCapN meeting this Tuesday. Topic for agenda?
> The code from @gibson042 is clear on that. Looked. It relies on codePointAt, so I looked at https://tc39.es/ecma262/multipage/text-processing.html#sec-string.prototype.codepointat which says > If a valid UTF-16 [surrogate pair](https://tc39.es/ecma262/multipage/ecmascript-data-types-and-values.html#surrogate-pair) does not...
[Jan 2024 OCapN meeting notes](https://cryptpad.fr/code/#/2/code/edit/Ng7kXl9rCF5qnTQX60UCpDHE/) record that we agreed that strings can only be well-formed Unicode, i.e., cannot contain unpaired surrogates. For JavaScript, if a string does not pass [the...
@kriskowal , I've assigned it to the two of us.
@naugtur , you too ;)
Reproduced locally! Thanks for the clear and simple instructions.
Yeah, @naugtur @kriskowal , it is all about the cjs loader. I will definitely need your help looking at this. It was easy to reproduce locally, so could you have...
Actually, this seems kinda urgent for us. Could we meet tomorrow after you've taken a first look? I am free tomorrow anytime after 2pm Pacific.
What's the status of this? Should this be tracked as an endo ecosystem compat issue https://github.com/endojs/endo/issues/2037 ?
> Marshall definitely errors on extra own properties For a top-level error, it does not: https://github.com/endojs/endo/blob/f746e996dfa827170b408ab276c1c438500c9ca1/packages/marshal/test/test-marshal-smallcaps.js#L103-L106 https://github.com/endojs/endo/blob/f746e996dfa827170b408ab276c1c438500c9ca1/packages/marshal/test/test-marshal-smallcaps.js#L114-L117 Marshal explicitly avoids calling `ErrorHelper.assertValid` when serializing top-level errors under the theory that,...