11 Oct
2022
11 Oct
'22
9:02 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/tests/documentmode.js:
found = true; } ok(found, "testname was not enumerated in document"); + + try { + document.testname(); + }catch(e) { + ok(e.number === 0xa01b6 - 0x80000000, "document.testname() threw = " + e.number); + }
It would be better to make sure that the exception is thrown. This test will succeed if no exception is thrown at all (it's similar in other cases). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1031#note_10342