https://bugs.winehq.org/show_bug.cgi?id=54620
Bug ID: 54620 Summary: advapi32:registry causes mshtml:htmldoc to time out when run without elevated privileges on Windows 8 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
advapi32:registry causes mshtml:htmldoc to time out when run without elevated privileges on Windows 8:
htmldoc.c:6220: put_href L"about:replace"... htmldoc.c:6503: open... htmldoc.c:6503: open... mshtml:htmldoc:0744 done (258) in 120s 899B
See https://test.winehq.org/data/patterns.html#mshtml:htmldoc
This timeout does not happen when running mshtml:htmldoc on its own. I determined that the source of interference is advapi32:registry and that the timeout is caused by a UAC prompt:
A website wants to open web content using this program on your computer.
This program will open outside of Protected mode. Internet Explorer's Protected mode helps protect your computer. If you do not trust this website, do not open this program.
Name: Microsoft Edge Publisher: Microsoft Corporation
This happens in the IHTMLWindow2_open() call in test_open_window() in htmldoc.c:
hres = IHTMLWindow2_open(window, url, name, NULL, VARIANT_FALSE, &new_window);
So this issue is very similar to the ieframe:ie one described in bug 54613.