https://bugs.winehq.org/show_bug.cgi?id=39892
--- Comment #13 from Anthony Fok anthony@anthonyfok.org --- Created attachment 53285 --> https://bugs.winehq.org/attachment.cgi?id=53285 Add getAttribute("onclick", 2) test to jstest.html
This new test case in the attached mshtml-jstest-getAttribute-onclick-2.patch would trigger the same problem I saw in UFile 2013:
cd ~/wine-dirs/wine-build/dlls/mshtml/tests WINEDEBUG=+mshtml,+variant make script.ok
except that this WineTest hangs after
err:mshtml:update_window_doc GetDocument failed: 00000000
instead of triggering _CxxThrowException() like UFile does.
After applying prevent-0x80020005-type-mismatch-error-with-getAttribute-onclick-2.patch, this particular WineTest gives an error:
script.c:632: Test failed: L"getAttribute('onclick') = "
instead of giving the string value of the onclick attribute, but WineTest continues merrily on.
Hope this helps!