How to distinct different behavior of IE versions

Hans Leidekker hans at codeweavers.com
Tue Jan 20 03:45:13 CST 2009


On Tuesday 20 January 2009 01:53:27 Thomas Heckel wrote:

> The relevant test case "static void test_HttpSendRequestW(int port)" 
> checked in 3 days ago from Hans Leidekker as commit 
> 667e48286e25c56bca98a135db62d723b74ef89e looks for the HTTP header 
> "UA-CPU: x86". But this string is only supported from IE 7 up. It makes 
> sense that this test has to fail on machines with no IE 7+ installed.
> 
> But how to tackle such things in a test case? Take care of different 
> windows versions is used in various test cases. Can the IE version be 
> found out with a similar mechanism? Or should a test case just ignore 
> such nuances from internet explorer?

Just try different headers until you find one that works for both IE6
and IE7.

 -Hans



More information about the wine-devel mailing list