Hi,
Sorry if this has been covered already, but I'm curious if this list
has considered something like co-routines for a future version of ES.
An example implementation of the concept (I'm not sure of the quality)
is here:
http://www.xucia.com/strands-doc/index.html
Properly implemented
I was looking at how SpiderMonkey decodes URI-encoded strings, specifically to update it to reject
overlong UTF-8 sequences per ES5 (breaking change from ES3 that should generally be agreed to have
been necessary, not to mention that existing implementations were loose and strict inconsistently)
"If Octects does not contain a valid UTF-8 encoding of a Unicode code point throw a
URIError exception."
s/Octects/Octets/
Maybe too late for ES5 (except in errata?), but certainly for ES6.
Jeff
___
es-discuss mailing list
es-discuss@mozilla.org
http
3 matches
Mail list logo