June 5, 2026
11:03 p.m.
Native MSXML fires the onreadystatechange handler synchronously from within IXMLDOMDocument::load()/loadXML() once parsing completes and readyState reaches 4. Hosts that set the handler before calling load() and expect it to have run by the time control returns to the caller rely on this ordering; Wine currently invokes the handler only as part of the asynchronous parse path, so synchronous loads silently skip it. This is MR 1 out of 4 for https://bugs.winehq.org/show_bug.cgi?id=33474 -- v2: msxml3/tests: Test synchronous invocation of onreadystatechange from loadXML(). msxml3: Invoke onreadystatechange after a successful synchronous load. https://gitlab.winehq.org/wine/wine/-/merge_requests/11076