Bug 47793 - [Gtk] all spatial-navigation tests stderr something
Summary: [Gtk] all spatial-navigation tests stderr something
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Antonio Gomes
URL:
Keywords:
Depends on: 48199
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-17 22:17 PDT by Antonio Gomes
Modified: 2010-10-27 09:10 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Gomes 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'.
Comment 1 Antonio Gomes 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.
Comment 2 Antonio Gomes 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.
Comment 3 Martin Robinson 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.
Comment 4 Antonio Gomes 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.
Comment 5 Martin Robinson 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).
Comment 6 Antonio Gomes 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.
Comment 7 Antonio Gomes 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.
Comment 8 Martin Robinson 2010-10-27 09:10:08 PDT
Thanks again!