RESOLVED WORKSFORME 175586
REGRESSION(r220731): [GTK] Layout test imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub is failing
https://bugs.webkit.org/show_bug.cgi?id=175586
Summary REGRESSION(r220731): [GTK] Layout test imported/w3c/web-platform-tests/XMLHtt...
Michael Catanzaro
Reported 2017-08-15 10:37:47 PDT
After r220731 "XHR should only fire an abort event if the cancellation was requested by the client" the layout test imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub is now failing for the GTK port. Actually, the test was always failing, but it was an expected failure before r220731. Now it's expected to pass, and I see Chris updated the global expectations in that test. Something must be going wrong for the GTK port as we are not getting the same exception that is happening on macOS. I will mark this test as an expected fail: --- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt +++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-actual.txt @@ -1,4 +1,7 @@ Blocked access to external URL http://nonexistent-origin.localhost}:8800/ -PASS XMLHttpRequest: The send() method: Throw a "throw an "NetworkError" exception when Network error happens (synchronous flag is set) +FAIL XMLHttpRequest: The send() method: Throw a "throw an "NetworkError" exception when Network error happens (synchronous flag is set) assert_throws: function "function () + { + xhr.send("Test Message"); + }" did not throw
Attachments
Ms2ger (he/him; ⌚ UTC+1/+2)
Comment 1 2017-12-06 07:50:38 PST
The test expects that fetching data:text/html;charset=utf-8;base64,PT0NUWVBFIGh0bWw%2BDQo8 fails. Given that there isn't much of a spec for data URLs, I don't know what that expectation is based on. I filed <https://github.com/w3c/web-platform-tests/issues/8591>.
Lauro Moura
Comment 2 2021-03-22 12:43:24 PDT
Test passing for GTK/WPE since r274009.
Note You need to log in before you can comment on or make changes to this bug.