Bug 47793

Summary: [Gtk] all spatial-navigation tests stderr something
Product: WebKit Reporter: Antonio Gomes <tonikitoo>
Component: Tools / TestsAssignee: Antonio Gomes <tonikitoo>
Status: RESOLVED FIXED    
Severity: Normal CC: cshu, mrobinson, ossy, rniwa, tony, xan.lopez, yael
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 48199    
Bug Blocks:    

Antonio Gomes
Reported 2010-10-17 22:17:12 PDT
As we can see in http://build.webkit.org/results/GTK%20Linux%2032-bit%20Release/r69922%20(6689)/results.html all spatial-navigation tests stderr the following message: LayoutTestController::overridePreference tried to override unknown preference 'WebKitTabToLinksPreferenceKey'.
Attachments
Antonio Gomes
Comment 1 2010-10-17 22:45:10 PDT
Gtk's LayoutTestController::overridePreference implementation does not support "WebKitTabToLinksPreferenceKey", but in the end it does not affect to spatial-navigation tests because Gtk "tabs to links" unconditionally: 331 bool ChromeClient::tabsToLinks() const 332 { 333 return true; 334 } It is not the case for Mac and Qt for example: both honor this preference.
Antonio Gomes
Comment 2 2010-10-20 09:04:26 PDT
Martin, Xan: do you guys have interest in supporting DRT's WebKitTabToLinksPreferenceKey preference? Also, is there a way to set WebCore's Settings without having the corresponding webkitwebsettings? In Qt we have for example WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp|h can sets WebCore stuff directly from DRT/LayoutTestController.
Martin Robinson
Comment 3 2010-10-20 09:21:10 PDT
I have interest in getting tests that use this key working. I've considered adding something like your DumpRenderTreeSupport in the past. Perhaps this is an opportunity to do that.
Antonio Gomes
Comment 4 2010-10-20 09:23:42 PDT
Good to hear, Martin. We could start simple, like having this setter :). I could get to it. Would you have any special request for its design? In Qt they are mostly a bunch of static methods.
Martin Robinson
Comment 5 2010-10-20 09:28:36 PDT
(In reply to comment #4) > Good to hear, Martin. We could start simple, like having this setter :). I could get to it. Would you have any special request for its design? In Qt they are mostly a bunch of static methods. Awesome! That'd be very helpful, as I am swamped right now and it would be maybe end of this week before I could get to it. I think having the same design (could it even share code?) as the Qt version makes a lot of sense (static methods).
Antonio Gomes
Comment 6 2010-10-26 22:33:34 PDT
Shold be fixed by http://trac.webkit.org/changeset/70609. Waiting for the bots to catch up before closing accordingly.
Antonio Gomes
Comment 7 2010-10-27 07:20:19 PDT
(In reply to comment #6) > Shold be fixed by http://trac.webkit.org/changeset/70609. > > Waiting for the bots to catch up before closing accordingly. Yes, fixed by r70609.
Martin Robinson
Comment 8 2010-10-27 09:10:08 PDT
Thanks again!
Note You need to log in before you can comment on or make changes to this bug.