[Bug 51251] New: mshtml fails to call onload event handler with correct script host

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jun 9 09:42:27 CDT 2021


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 at winehq.org
          Reporter: dmitry at baikal.ru
                CC: jacek at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list