Created attachment 101475 [details] Testcases which should all be OK, not FAIL The use of `yield` as variable name is impossible, even when not in strict mode. This was confirmed in build 91186 (r91186.tar.bz2">http://builds.nightly.webkit.org/files/trunk/src/WebKit-r91186.tar.bz2) Although the keyword cannot be used, it does neither work. The example from https://developer.mozilla.org/en/New_in_JavaScript_1.7#Generators gives a parse error: SyntaxError: Expected an identifier but found 'i' instead The attached testcase provides some example code that demonstrates that yield cannot be used in some cases.
Thanks for the bug report - yep, that's a nasty bug, will get on it asap.
Created attachment 101682 [details] The patch
Fixed in r91553