[webkit-dev] Determining platform in LayoutTests
Martin Robinson
mrobinson at webkit.org
Sun Mar 28 13:11:03 PDT 2010
Apologies in advance if this has been hashed out before, but a
cursory search of the list history didn't turn anything up.
It seems that in LayoutTests platform specific behavior is generally handled by
examining the user agent. I'm currently in the process of fixing
editing/selection/extend-selection-after-double-click.html for GTK+. This
test will have different results for GTK+ and Qt (it's currently
skipped on both)
because the selection behavior is different between the toolkits. This
will become even
more of an issue as we try to bring selection behavior in line with
standard GTK+
behavior (see bug https://bugs.webkit.org/show_bug.cgi?id=36627 ).
I'm not sure that you can tell Qt and GTK+ apart via the user agent,
so does it make
sense for LayoutTestController to expose this information somehow or
just fix the user
agent? Is there an alternative?
Martin
More information about the webkit-dev
mailing list