https://bugs.winehq.org/show_bug.cgi?id=51251
Bug ID: 51251 Summary: mshtml fails to call onload event handler with correct script host Product: Wine Version: 6.10 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru CC: jacek@codeweavers.com Distribution: ---
Created attachment 70124 --> https://bugs.winehq.org/attachment.cgi?id=70124 sample HTML with onload handler
If the HTML has a JScript OnLoad handler it gets called with VBScript host and leads to a crash because of a infinite recursion. Infinite recursion in vbscript is probably a separate bug, and is not important for purposes of this bug report. What is important is that JScript OnLoad handler is not called.
Attached onload.html illustrates this bug:
wine iexplore file:///onload.html ... wine: Unhandled stack overflow at address F7D68D7D (thread 00c0), starting debugger... 00c0:err:virtual:virtual_setup_exception stack overflow 1668 bytes in thread 00c0 addr 0x7bc338d5 stack 0x12097c (0x120000-0x121000-0x220000)
Jacek, this one is probably in your field of expertise.