On Mon, Jul 13, 2009 at 3:29 PM, Geoffrey Garen<gga...@apple.com> wrote: >> Our current behavior is buggy, unpredictable, and out of spec. This >> has led to security bugs in the past and will lead to security bugs in >> the future. > > I don't disagree with you, but I'm not immediately convinced that a large > design change will automatically reduce the bug count, either. > > Which spec did you have in mind? I'd like to read it.
Essentially, the ECMAScript spec requires this. In spec-land, these objects are all created at the beginning of time. The fact that we create them lazily is what leads to this bug. Depending on who touches them first, they end up with different prototype chains, which doesn't make sense to ECMAScript. Adam _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev