On Feb 26, 2008, at 6:12 PM, Brendan Eich wrote: > 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@mozilla.org >>> https://mail.mozilla.org/listinfo/es4-discuss >> >> 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?
That sounds like sufficient evaluation of the impact to me. I thought it might be possible that scripts would expect \r\n to appear as two characters but what you describe makes that seem pretty unlikely. - Maciej _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss