- From: Brendan Eich <brendan@secure.meer.net>
- Date: Sun, 12 Jan 2014 16:51:45 -0800
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: "Mark S. Miller" <erights@google.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
And if only document.all were immutable, one could even rationalize it as a value object, in ES7 (value objects can be falsy), maybe. But not really. :-| /be Boris Zbarsky wrote: > On 1/12/14 5:22 PM, Mark S. Miller wrote: >> Historical note: We had a window during ES5 days where we could have >> limited the document.all insanity to sloppy mode, by codifying the FF >> behavior on edge cases rather than the WebKit behavior on edge cases. > > Though actually _specifying_ the FF behavior would have been a lot > harder, I suspect... and I can't even speak to how annoying > implementing would have been in other codebases. I do know removing > the old FF implementation allowed us to simplify a whole bunch of > code; the new weirdness is much more encapsulated.
Received on Monday, 13 January 2014 00:52:15 UTC