Someone asked to check which tests require interaction when running in my Windows 2003 VM. However I cannot find the corresponding email (it might have been on irc), so I'm sending this data to the list.
So the only interaction that was needed was caused by this IE security dialog:
Content within this application coming from the Web site listed below is being blocked by Internet Explorer Enhanced Security Configuration.
Only three tests were impacted: * mshtml_test dom -> 1508 tests run but 0 failures happened when just closing the dialog.
* mshtml_test script (about:security_mshtml_test.exe) -> 21 tests run and 13 failures if the dialog is just closed, and 0 failures if mshtml_test is manually added to the 'allowed' list.
* urlmon_test misc -> 923 tests run but 0 failures if the dialog is just closed.
When run by winetest these tests just time out though.
On Fri, Jun 13, 2008 at 8:40 AM, Francois Gouget fgouget@free.fr wrote:
Someone asked to check which tests require interaction when running in my Windows 2003 VM. However I cannot find the corresponding email (it might have been on irc), so I'm sending this data to the list.
So the only interaction that was needed was caused by this IE security dialog:
Content within this application coming from the Web site listed below is being blocked by Internet Explorer Enhanced Security Configuration.
Only three tests were impacted:
- mshtml_test dom
-> 1508 tests run but 0 failures happened when just closing the dialog.
- mshtml_test script (about:security_mshtml_test.exe)
-> 21 tests run and 13 failures if the dialog is just closed, and 0 failures if mshtml_test is manually added to the 'allowed' list.
- urlmon_test misc
-> 923 tests run but 0 failures if the dialog is just closed.
When run by winetest these tests just time out though.
Thanks Francois (I asked on IRC a while back). I get these dialogs in 2k3 as well. Do you think we should add a check for winetest_interactive before the calls that bring up the permission dialog? If anyone else knows of a better way, let us know.
On Fri, 13 Jun 2008, James Hawkins wrote: [...]
Thanks Francois (I asked on IRC a while back). I get these dialogs in 2k3 as well. Do you think we should add a check for winetest_interactive before the calls that bring up the permission dialog? If anyone else knows of a better way, let us know.
I we can avoid the pop ups altogether that would be better but I don't know if that's possible. Otherwise checking for winetest_interactive would at least let us get some checks going rather than the whole test being a writeoff.
On Fr, 2008-06-13 at 13:04 -0500, James Hawkins wrote:
Do you think we should add a check for winetest_interactive
Possible, but that skip the test
before the calls that bring up the permission dialog? If anyone else knows of a better way, let us know.
Add a CBT-Hook and force the Window to close or accept, when needed.
(HCBT_CREATEWND / HCBT_ACTIVATE)