https://bugs.winehq.org/show_bug.cgi?id=35612
Bug ID: 35612 Summary: jscript:activex fails if the user does not have sufficient privileges Product: Wine Version: 1.7.12 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: jscript Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Classification: Unclassified
If the user does not have elevated privileges, then we get 81 test failures. This can be seen in the fg-win7u64-1spie9-adm, fg-win7u64-spie9-usr VM results and also happens on my Windows 8.1 Acer laptop (fg-acer64-w81-t32 and fg-acer64-w81-t64). See:
http://test.winehq.org/data/tests/jscript:activex.html
Mostly it seems to be the IActiveScriptParse::ParseScriptText() calls that are failing with all the other failures being natural consequences of that. So I'm only showing the ParseScriptText failures below:
activex.c:828: Test failed: ParseScriptText failed: 800a01ad activex.c:955: Test failed: ParseScriptText failed: 800a01ad activex.c:1006: Test failed: ParseScriptText failed: 800a01ad activex.c:1023: Test failed: ParseScriptText failed: 800a01ad activex.c:1056: Test failed: ParseScriptText failed: 800a01ad
I suspect the issue is that without elevated privileges we cannot register/install our Wine.Test ActiveX object. I would expect to get failures a bit earlier though.
Probably the solution is to include the is_process_limited() function and skip the tests at some point if it returns TRUE.