On Wed, Jun 22, 2011 at 23:26, <[email protected]> wrote: > From my own informal testing using http://www.erights.org/tests/testjs/ (see > http://codereview.appspot.com/4182070/ ) it seems the treatment of Future > Reserved Words and strict-only Future Reserved Words by Safari WebKit > Nightly > Version 5.0.5 (5533.21.1, r89332) fully conforms to the ES5.1 spec.
No doubt about that. On the other hand, experience so far suggests that Webkit nightlies don't get much testing in practice, so the consequences of this change is unlikely to be fully known yet. > Released Firefox 5 fully conforms to this as well. Firefox 5 was released from beta 2 days ago, IIRC, and I'm sure not all users have updated yet (I hadn't). I.e., not all breaking that will happen has already happened, and even less of it has been reported. The big question is: Will this change "break the web"? (in the sense: will it make existing web pages fail?). We can either be optimistic and excuse ourselves with "Firefox did it first" if it happens, or wait and see if Firefox has to roll it back in a week. I agree that whoever used restricted words as variable names brought it on themselves, but the development model of JavaScript means that it's the end users who get the problem, not the developer, and they will blame the browser that makes something that used to work not work any more. (I.e., one can equally well say that we brought the problem on ourselves by allowing the reserved words as identifiers in the first place, even if our excuse was "Safari did it first"). > And the violations by released Safari Version 5.0.5 (5533.21.1) are disjoint > from v8's violations. What violations? We only have language extensions [1] > So no reason to wait on account of this concern. Well, I'm still concerned. /L [1] It's a feature, not a bug :) -- Lasse R.H. Nielsen [email protected] 'Faith without judgement merely degrades the spirit divine' Google Denmark ApS - Frederiksborggade 20B, 1 sal - 1360 København K - Denmark - CVR nr. 28 86 69 84 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
