Status: New
Owner: ----

New issue 1879 by [email protected]: "with" statement does something weird
http://code.google.com/p/v8/issues/detail?id=1879

Go here in Chrome Stable--that's 16.0.912.63 (Official Build 113337) at the moment: http://jsfiddle.net/dglazkov/3k7uS/

You should see alert "1";

Now load this URL in the Canary--that's 18.0.984.0 (Official Build 115776) canary for now.

You will see that it throws a weird exception:

Uncaught TypeError: undefined is not a function.

In fact, trying to ask for any vars inside this "with" statement throws the same exception.

What gives?

This will break any site using Dojo grids. For example, http://www.redfin.com/homes-for-sale

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to