Changeset 142477 in webkit
- Timestamp:
- Feb 11, 2013 8:06:58 AM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r142467 r142477 1 2013-02-11 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 3 [EFL][WKTR] Regression(r141836) fast/dom/Window/mozilla-focus-blur.html started failing 4 https://bugs.webkit.org/show_bug.cgi?id=109438 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Some refactoring in r141836 caused the view not to get focus if the focused 9 frame is not the main one. The idea of the code was to remove focus from the 10 view if the focused frame was not the main one, and then focus the view again. 11 However, after the refactoring, the second step never happened: Focus was 12 removed but not given again. 13 14 * WebKitTestRunner/efl/PlatformWebViewEfl.cpp: 15 (WTR::PlatformWebView::focus): 16 1 17 2013-02-11 Zan Dobersek <zdobersek@igalia.com> 2 18 -
trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp
r142412 r142477 103 103 // (WebCoreSupport::focusedFrameChanged() does not emit any notification). We then manually remove the 104 104 // focus from the view to make the call give focus to evas_object_focus_set(..., true) to be effectful. 105 evas_object_focus_set(WKViewGetEvasObject(m_view), WKPageGetFocusedFrame(page()) == WKPageGetMainFrame(page())); 105 if (WKPageGetFocusedFrame(page()) != WKPageGetMainFrame(page())) 106 evas_object_focus_set(evasObject, false); 107 evas_object_focus_set(evasObject, true); 106 108 } 107 109
Note: See TracChangeset
for help on using the changeset viewer.