Bug 175586 - REGRESSION(r220731): [GTK] Layout test imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub is failing
Summary: REGRESSION(r220731): [GTK] Layout test imported/w3c/web-platform-tests/XMLHtt...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2017-08-15 10:37 PDT by Michael Catanzaro
Modified: 2021-03-22 12:43 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 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
Comment 1 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-12-06 07:50:38 PST
The test expects that fetching


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>.
Comment 2 Lauro Moura 2021-03-22 12:43:24 PDT
Test passing for GTK/WPE since r274009.