ES4 draft: Line terminator normalization

Brendan Eich brendan at
Tue Feb 26 18:12:23 PST 2008

On Feb 26, 2008, at 3:46 PM, Maciej Stachowiak wrote:

> On Feb 26, 2008, at 1:36 AM, Lars Hansen wrote:
>> Please comment.  --lars
>> <line-terminator-
>> normalization.txt>_______________________________________________
>> Es4-discuss mailing list
>> Es4-discuss at
> Has the web compatibility impact of this proposal been evaluated?

SpiderMonkey has converted \r and \r\n into \n since 1996 -- my  
memory is dim, but IIRC I did that in the original Netscape 2 "Mocha"  
runtime, because anything else hurt interop (back then people  
routinely authored HTML docs with inline scripts on Mac using \r for  
line termination, never mind Windows using \r\n ;-)). Does  
JavaScriptCore not canonicalize to \n?


More information about the Es4-discuss mailing list