RESOLVED FIXED 80594
[BlackBerry] Always use the current focused node when processing focus changes
https://bugs.webkit.org/show_bug.cgi?id=80594
Summary [BlackBerry] Always use the current focused node when processing focus changes
Mike Fenton
Reported 2012-03-08 07:33:18 PST
Currently in InputHandler::nodeFocused() we pass the currently focused node based on the call site. Testing has shown that the ChromeClientBlackBerry call site which is passed the node change can be stale if JS focus changes are also occurring. nodeFocused should always query the current focused node and use that.
Attachments
Patch (7.17 KB, patch)
2012-03-08 07:40 PST, Mike Fenton
no flags
Follow up patch (2.50 KB, patch)
2012-03-08 11:14 PST, Mike Fenton
no flags
Mike Fenton
Comment 1 2012-03-08 07:40:24 PST
WebKit Review Bot
Comment 2 2012-03-08 10:22:13 PST
Comment on attachment 130820 [details] Patch Clearing flags on attachment: 130820 Committed r110175: <http://trac.webkit.org/changeset/110175>
WebKit Review Bot
Comment 3 2012-03-08 10:22:17 PST
All reviewed patches have been landed. Closing bug.
Mike Fenton
Comment 4 2012-03-08 11:14:19 PST
Created attachment 130859 [details] Follow up patch
Mike Fenton
Comment 5 2012-03-08 11:14:47 PST
Re-opening as this can crash if toRange or fromRange is null.
WebKit Review Bot
Comment 6 2012-03-08 16:31:56 PST
Comment on attachment 130859 [details] Follow up patch Clearing flags on attachment: 130859 Committed r110230: <http://trac.webkit.org/changeset/110230>
WebKit Review Bot
Comment 7 2012-03-08 16:32:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.