RESOLVED FIXED 206474
Regression r254652: fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload.html fails on windows
https://bugs.webkit.org/show_bug.cgi?id=206474
Summary Regression r254652: fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-duri...
Aakash Jain
Reported 2020-01-18 07:25:51 PST
r254652 added test fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload.html which is consistently failing on windows. Results database: https://results.webkit.org/?suite=layout-tests&test=fast%2Fxmlhttprequest%2Fxmlhttprequest-multiple-sync-xhr-during-unload.html
Attachments
Aakash Jain
Comment 1 2020-01-18 07:27:18 PST
e.g.: https://build.webkit.org/results/Apple%20Win%2010%20Debug%20(Tests)/r254663%20(3323)/results.html --- /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-expected.txt +++ /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-actual.txt @@ -1,9 +1,9 @@ frame "<!--frame1-->" - has 1 onunload handler(s) -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?0. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?1. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?2. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?3. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?4. +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json
Aakash Jain
Comment 2 2020-01-18 07:31:52 PST
r254652 might have also caused http/tests/websocket/tests/hybi/simple-wss.html to fail, not 100% sure at the moment.
David Kilzer (:ddkilzer)
Comment 3 2020-01-20 19:03:37 PST
*** Bug 206515 has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 4 2020-01-21 08:31:58 PST
Looks to me that we need a windows-specific baseline.
Ryan Haddad
Comment 5 2020-01-21 09:43:51 PST
The test was marked as failing in https://trac.webkit.org/changeset/254851/webkit
Chris Dumez
Comment 6 2020-01-21 09:45:27 PST
(In reply to Ryan Haddad from comment #5) > The test was marked as failing in > https://trac.webkit.org/changeset/254851/webkit This is not a failure, it just needs a windows baseline: --- /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-expected.txt +++ /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-actual.txt @@ -1,9 +1,9 @@ frame "<!--frame1-->" - has 1 onunload handler(s) -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?0. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?1. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?2. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?3. -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json?4. +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load xmlhttprequest-responsetype-json.json Makes sure that we throw when doing sync XHRs during unload. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Ryan Haddad
Comment 7 2020-01-21 09:47:06 PST
(In reply to Chris Dumez from comment #6) > (In reply to Ryan Haddad from comment #5) > > The test was marked as failing in > > https://trac.webkit.org/changeset/254851/webkit > > This is not a failure, it just needs a windows baseline: > --- > /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/ > xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-expected.txt > +++ > /home/buildbot/worker/win10-debug-tests/build/layout-test-results/fast/ > xmlhttprequest/xmlhttprequest-multiple-sync-xhr-during-unload-actual.txt > @@ -1,9 +1,9 @@ > frame "<!--frame1-->" - has 1 onunload handler(s) > -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json?0. > -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json?1. > -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json?2. > -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json?3. > -CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json?4. > +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json > +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json > +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json > +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json > +CONSOLE MESSAGE: line 9: XMLHttpRequest cannot load > xmlhttprequest-responsetype-json.json > Makes sure that we throw when doing sync XHRs during unload. > > On success, you will see a series of "PASS" messages, followed by "TEST > COMPLETE". Understood, just wanted to call out the fact that it was marked as failing via the dupe.
Alexey Proskuryakov
Comment 8 2020-01-21 09:59:54 PST
Out of curiosity, why is it OK for Windows to have this difference? The diff makes it look like the test is not doing the expected work.
Chris Dumez
Comment 9 2020-01-21 10:03:05 PST
(In reply to Alexey Proskuryakov from comment #8) > Out of curiosity, why is it OK for Windows to have this difference? The diff > makes it look like the test is not doing the expected work. It looks to me that the search query is getting stripped on windows before the URL gets printed. The test still says: PASS xhrExceptionCount is 5 So to me it does look like the test is passing. The only difference is in console logging.
Chris Dumez
Comment 10 2020-01-21 10:04:10 PST
(In reply to Chris Dumez from comment #9) > (In reply to Alexey Proskuryakov from comment #8) > > Out of curiosity, why is it OK for Windows to have this difference? The diff > > makes it look like the test is not doing the expected work. > > It looks to me that the search query is getting stripped on windows before > the URL gets printed. > > The test still says: > PASS xhrExceptionCount is 5 > > So to me it does look like the test is passing. The only difference is in > console logging. Code looks like: String messageEnd = error.isAccessControl() ? " due to access control checks."_s : "."_s; context.addConsoleMessage(MessageSource::JS, MessageLevel::Error, makeString(messageStart, error.failingURL().string(), messageEnd)); For some reason, it seems error.failingURL() is missing the query parameter.
Chris Dumez
Comment 11 2020-01-21 10:07:27 PST
Radar WebKit Bug Importer
Comment 12 2020-01-21 10:08:15 PST
Alexey Proskuryakov
Comment 13 2020-01-21 10:36:34 PST
That seems like something to fix (at least eventually), so that we don't have to maintain separate expectations.
Note You need to log in before you can comment on or make changes to this bug.