Jacek Caban (@jacek) commented about dlls/mshtml/tests/documentmode.js:
+ } + if(enumerated[k] !== name) + ok_(v < minv || v > maxv, name + " not a prop of " + proto + ".prototype"); + else { + ok_(v >= minv && v <= maxv, name + " is a prop of " + proto + ".prototype"); + k++; + } + } + while(k < enumerated.length) { + if(enumerated[k] === "constructor") + seen_constructor = true; + else + ok(false, enumerated[k] + " is a prop of " + proto + ".prototype"); + k++; + } + if(broken(true) /* todo_wine */) ok(seen_constructor, "constructor not a prop of " + proto + ".prototype"); That's `todo_wine_if(!seen_constructor).ok( ... )`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6850#note_88052