Adding new test to verify that using a locally-scoped variable in a form event handler takes precedence in evaluation over items (form elements) of that form. Meaning, if a variable with a name of "value" is declared in an event handler of a form element, referring to "value" in that event handler will refer to the variable and not the value of the element. Fortunately, I could not find any bugs that show WebKit ever had this behavior, so I did not link any. Let me know if there's a corresponding bug here.
Created attachment 26225 [details] New layout test Here is the test for this case.
Comment on attachment 26225 [details] New layout test Looks fine. r=me
Will land.
Removed svn:executable property and landed as r39499.