26 Jul
2023
26 Jul
'23
10:57 a.m.
Gabriel Ivăncescu (@insn) commented about dlls/mshtml/tests/documentmode.js:
-}) +}); + +sync_test("MutationObserver_props", function() { + if (!window.MutationObserver) { + return; + } + + var mutation_observer = new MutationObserver(function() {}); + function test_exposed(prop) { + ok(prop in mutation_observer, prop + " not found in MutationObserver."); + } + test_exposed("observe"); + test_exposed("disconnect"); + test_exposed("takeRecords"); +}); Small nitpick, but I'd honestly just merge this test with "MutationObserver" (just add it to the end of it), no need to make another separate test.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3391#note_40279