[Webkit-unassigned] [Bug 100932] User can change a disabled select (drop down box)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 03:17:50 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100932


Kent Tamura <tkent at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #171801|review?                     |review-
               Flag|                            |




--- Comment #2 from Kent Tamura <tkent at chromium.org>  2012-11-01 03:19:12 PST ---
(From update of attachment 171801)
View in context: https://bugs.webkit.org/attachment.cgi?id=171801&action=review

> Source/WebCore/html/HTMLFormControlElement.cpp:154
> +    if (disabled() && focused())
> +        blur();
>      setNeedsWillValidateCheck();

Unfortunately, this is not acceptable.  blur() dispatches a 'blur' event, and Event handler JavaScript code can delete |this| object.

Probably we should make blur/focusout/DOMFocusOut/focus/focusin/DOMFocusIn events scoped-events, like I did in http://trac.webkit.org/changeset/132983

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list