https://bugs.winehq.org/show_bug.cgi?id=55762
Bug ID: 55762 Summary: mshtml:script - test_sync_xhr() sometimes gets events in unexpected order in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mshtml Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
mshtml:script - test_sync_xhr() sometimes gets events in an unexpected order in Wine:
script.c:4710: Running xhr.js script in 9 mode... script.c:4266: Test marked todo: tymed = 1 [...] script.c:1141: Test failed: L"/index.html?xhr.js: [iframes 2] unexpected order: 0,1,echo,sync_xhr(pre-send),sync_xhr(DONE),sync_xhr"
or
script.c:4710: Running xhr.js script in 10 mode... script.c:4266: Test marked todo: tymed = 1 [...] script.c:1141: Test failed: L"/index.html?xhr.js: [iframes 2] unexpected order: 0,1,echo,sync_xhr(pre-send),sync_xhr(DONE),sync_xhr,blank(DONE)"
or
script.c:4710: Running xhr.js script in 11 mode... script.c:1141: Test failed: L"/index.html?xhr.js: [iframes 2] unexpected order: 0,1,echo,sync_xhr(pre-send),sync_xhr(DONE),sync_xhr,blank(DONE)"
See https://test.winehq.org/data/patterns.html#mshtml:script
Somehow these never happen on the TestBot VMs but they happen regularly on my fg-deb64 development machine, fgtb test VMs and on Remi's cloud Linux test configurations. On 2023-10-09 it also impacted MR!4050 on the GitLab CI.
https://bugs.winehq.org/show_bug.cgi?id=55762
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=55762
--- Comment #1 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 75255 --> https://bugs.winehq.org/attachment.cgi?id=75255 Increase delay
Does this patch help? The test will take ages since I set it to 2 seconds, but at least I want to confirm if it's the culprit.