Bug 175586
Summary: | REGRESSION(r220731): [GTK] Layout test imported/w3c/web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub is failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | bugs-noreply, cdumez, lmoura, mcatanzaro, Ms2ger |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | PC | ||
OS: | Linux |
Michael Catanzaro
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ms2ger (he/him; ⌚ UTC+1/+2)
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
Test passing for GTK/WPE since r274009.