Changeset 127966 in webkit
- Timestamp:
- Sep 8, 2012 3:48:09 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r127963 r127966 1 2012-09-08 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2] New fast/events/tab-focus-link-in-canvas fails from r126908 4 https://bugs.webkit.org/show_bug.cgi?id=95329 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Unskip fast/events/tab-focus-link-in-canvas for WK2 now that WebKitTestRunner 9 supports overriding the "WebKitTabToLinksPreferenceKey" preference. 10 11 * platform/efl-wk2/TestExpectations: 12 * platform/wk2/Skipped: 13 1 14 2012-09-07 Dominic Mazzoni <dmazzoni@google.com> 2 15 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r127909 r127966 166 166 BUGWKEFL : fast/events/touch/touch-target.html = TEXT 167 167 168 // WebKit2 can't use TAB key to navigate on webpage links169 BUGWK95329 : fast/events/tab-focus-link-in-canvas.html = TEXT170 171 168 // WebKitTestRunner needs an implementation for testRunner.setViewModeMediaFeature 172 169 BUGWKEFL : fast/media/media-query-list-02.html = TEXT -
trunk/LayoutTests/platform/wk2/Skipped
r127933 r127966 1278 1278 fast/events/drag-display-none-element.html 1279 1279 1280 # [WK2] New fast/events/tab-focus-link-in-canvas.html fails1281 # https://bugs.webkit.org/show_bug.cgi?id=953291282 fast/events/tab-focus-link-in-canvas.html1283 1284 1280 # Skip tests in fast/text/shaping 1285 1281 fast/text/shaping -
trunk/Source/WebKit2/ChangeLog
r127958 r127966 1 2012-09-08 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2] New fast/events/tab-focus-link-in-canvas fails from r126908 4 https://bugs.webkit.org/show_bug.cgi?id=95329 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add implementation for overriding the WebKitTabToLinksPreferenceKey 9 preference as well as the corresponding WKPreferences API that 10 is needed by WebKitTestRunner. 11 12 * Shared/WebPreferencesStore.h: 13 (WebKit): 14 * UIProcess/API/C/WKPreferences.cpp: 15 (WKPreferencesSetTabToLinksEnabled): 16 (WKPreferencesGetTabToLinksEnabled): 17 * UIProcess/API/C/WKPreferencesPrivate.h: 18 * WebProcess/InjectedBundle/InjectedBundle.cpp: 19 (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): 20 * WebProcess/WebPage/WebPage.h: 21 (WebKit::WebPage::setTabToLinksEnabled): 22 (WebKit::WebPage::tabToLinksEnabled): 23 1 24 2012-09-07 Benjamin Poulain <bpoulain@apple.com> 2 25 -
trunk/Source/WebKit2/Shared/WebPreferencesStore.h
r127956 r127966 124 124 macro(AsynchronousPluginInitializationEnabledForAllPlugins, asynchronousPluginInitializationEnabledForAllPlugins, Bool, bool, false) \ 125 125 macro(ArtificialPluginInitializationDelayEnabled, artificialPluginInitializationDelayEnabled, Bool, bool, false) \ 126 macro(TabToLinksEnabled, tabToLinksEnabled, Bool, bool, false) \ 126 127 macro(ScrollingPerformanceLoggingEnabled, scrollingPerformanceLoggingEnabled, Bool, bool, false) \ 127 128 macro(StorageBlockingPolicy, storageBlockingPolicy, UInt32, uint32_t, 0) \ -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp
r127956 r127966 875 875 } 876 876 877 void WKPreferencesSetTabToLinksEnabled(WKPreferencesRef preferencesRef, bool enabled) 878 { 879 toImpl(preferencesRef)->setTabToLinksEnabled(enabled); 880 } 881 882 bool WKPreferencesGetTabToLinksEnabled(WKPreferencesRef preferencesRef) 883 { 884 return toImpl(preferencesRef)->tabToLinksEnabled(); 885 } 886 877 887 void WKPreferencesSetScrollingPerformanceLoggingEnabled(WKPreferencesRef preferencesRef, bool enabled) 878 888 { -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesPrivate.h
r125156 r127966 205 205 206 206 // Defaults to false 207 WK_EXPORT void WKPreferencesSetTabToLinksEnabled(WKPreferencesRef preferencesRef, bool enabled); 208 WK_EXPORT bool WKPreferencesGetTabToLinksEnabled(WKPreferencesRef preferencesRef); 209 210 // Defaults to false 207 211 WK_EXPORT void WKPreferencesSetScrollingPerformanceLoggingEnabled(WKPreferencesRef preferencesRef, bool enabled); 208 212 WK_EXPORT bool WKPreferencesGetScrollingPerformanceLoggingEnabled(WKPreferencesRef preferencesRef); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r127909 r127966 132 132 const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); 133 133 134 // FIXME: Need an explicit way to set "WebKitTabToLinksPreferenceKey" directly in WebPage. 134 if (preference == "WebKitTabToLinksPreferenceKey") { 135 WebPreferencesStore::overrideBoolValueForKey(WebPreferencesKey::tabsToLinksKey(), enabled); 136 for (HashSet<Page*>::iterator i = pages.begin(); i != pages.end(); ++i) { 137 WebPage* webPage = static_cast<WebFrameLoaderClient*>((*i)->mainFrame()->loader()->client())->webFrame()->page(); 138 webPage->setTabToLinksEnabled(enabled); 139 } 140 } 135 141 136 142 if (preference == "WebKit2AsynchronousPluginInitializationEnabled") { -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r127862 r127966 582 582 bool artificialPluginInitializationDelayEnabled() const { return m_artificialPluginInitializationDelayEnabled; } 583 583 void setArtificialPluginInitializationDelayEnabled(bool enabled) { m_artificialPluginInitializationDelayEnabled = enabled; } 584 void setTabToLinksEnabled(bool enabled) { m_tabToLinks = enabled; } 585 bool tabToLinksEnabled() const { return m_tabToLinks; } 584 586 585 587 bool scrollingPerformanceLoggingEnabled() const { return m_scrollingPerformanceLoggingEnabled; } -
trunk/Tools/ChangeLog
r127965 r127966 1 2012-09-08 Christophe Dumez <christophe.dumez@intel.com> 2 3 [WK2] New fast/events/tab-focus-link-in-canvas fails from r126908 4 https://bugs.webkit.org/show_bug.cgi?id=95329 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Explicitely disable TabToLinks setting in WebKitTestRunner. 9 Tests override the "WebKitTabToLinksPreferenceKey" preference 10 to enable it. 11 12 * WebKitTestRunner/TestController.cpp: 13 (WTR::TestController::resetStateToConsistentValues): 14 1 15 2012-09-08 Kenichi Ishibashi <bashi@chromium.org> 2 16 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r127299 r127966 476 476 WKPreferencesSetAsynchronousPluginInitializationEnabledForAllPlugins(preferences, false); 477 477 WKPreferencesSetArtificialPluginInitializationDelayEnabled(preferences, false); 478 WKPreferencesSetTabToLinksEnabled(preferences, false); 478 479 479 480 // [Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
Note: See TracChangeset
for help on using the changeset viewer.