https://bugs.winehq.org/show_bug.cgi?id=40254
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Maybe including winetest.js helped somehow. I noticed that when you run into undefined objects/functions test simply goes idle and never returns, and win_skip() was used before my change but was undefined, that could explain that this line is printed now:
--- script.c:719: Tests skipped: L"postMessage not available" ---