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:
@@ -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
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>.
Test passing for GTK/WPE since r274009.