Nikolay Sivov (@nsivov) commented about dlls/msxml3/tests/domdoc.c:
+ static const WCHAR xml[] = L"<?xml version=\"1.0\"?><root/>"; + static const WCHAR garbage[] = L"this is not xml at all"; + IXMLDOMDocument *doc; + IDispatch *event; + VARIANT_BOOL b; + HRESULT hr; + VARIANT v; + LONG state; + BSTR str; + + /* Native MSXML invokes onreadystatechange synchronously from loadXML() + * before returning to the caller. The handler may fire at every + * readyState transition (UNINITIALIZED→LOADING→LOADED→INTERACTIVE→ + * COMPLETED) so we only assert that it fired at least once and that + * readyState reached 4 by the time loadXML() returns. */ + doc = create_document(&IID_IXMLDOMDocument); Please reword this one, and implementation comments, to get rid of "to match native" clarification. It's assumed that we are trying to match it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11076#note_142354