WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22977
New layout test to verify that local vars take precedence in form event handlers
https://bugs.webkit.org/show_bug.cgi?id=22977
Summary
New layout test to verify that local vars take precedence in form event handlers
Glenn Wilson
Reported
2008-12-23 08:15:53 PST
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.
Attachments
New layout test
(2.49 KB, patch)
2008-12-23 08:17 PST
,
Glenn Wilson
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Glenn Wilson
Comment 1
2008-12-23 08:17:00 PST
Created
attachment 26225
[details]
New layout test Here is the test for this case.
Darin Adler
Comment 2
2008-12-23 08:29:19 PST
Comment on
attachment 26225
[details]
New layout test Looks fine. r=me
Pam Greene (IRC:pamg)
Comment 3
2008-12-29 10:43:28 PST
Will land.
Pam Greene (IRC:pamg)
Comment 4
2008-12-29 11:22:55 PST
Removed svn:executable property and landed as
r39499
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug