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?
On Wed, 2 Dec 2009, Michael Nordman wrote:Yeah, I should make the spec through SYNTAX_ERR if there are any unpaired
>
> Arguably, seems like a bug that invalid string values are let thru the
> door to start with?
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