What about Maciej's comment.  JS strings are often use to store binary values.  Obviously, if people stick to octets, then it should be fine, but perhaps some folks leverage all 16 bits?

-Darin

On Wed, Dec 2, 2009 at 5:03 PM, Ian Hickson <ian@hixie.ch> wrote:
On Wed, 2 Dec 2009, Michael Nordman wrote:
>
> Arguably, seems like a bug that invalid string values are let thru the
> door to start with?

Yeah, I should make the spec through SYNTAX_ERR if there are any unpaired
surrogates, the same way WebSocket does. I'll file a bug.

--
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev