[Webkit-unassigned] [Bug 219973] New: [GLIB] REGRESSION(r270882): Several WebSocket tests are failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 16 19:58:24 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219973
Bug ID: 219973
Summary: [GLIB] REGRESSION(r270882): Several WebSocket tests
are failing
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dpino at igalia.com
These two tests are failing after r270882:
- http/tests/security/mixedContent/websocket/insecure-websocket-in-iframe.html [ Failure ]
- http/tests/security/mixedContent/websocket/insecure-websocket-in-main-frame.html [ Failure ]
On the other hand, there are two WebSocket tests that are now passing after r270882 but there are error messages in stderr. Those tests are:
- http/tests/websocket/tests/hybi/close-code-and-reason.html
- http/tests/websocket/tests/hybi/workers/close-code-and-reason.html
STDERR for http/tests/websocket/tests/hybi/close-code-and-reason.html is:
CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hybi/echo' failed: WebSocket is closed before the connection is established.
CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hybi/close-code-and-reason' failed: Received invalid WebSocket response from the server
CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hybi/close-code-and-reason' failed: Received invalid WebSocket response from the server
CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hybi/close-code-and-reason' failed: Received invalid WebSocket response from the server
I paste below diffs for insecure-websocket-in-iframe.html and insecure-websocket-in-main-frame.html:
Diff: https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r270907%20(17510)/http/tests/security/mixedContent/websocket/insecure-websocket-in-iframe-diff.txt
--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/websocket/insecure-websocket-in-iframe-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/websocket/insecure-websocket-in-iframe-actual.txt
@@ -2,6 +2,7 @@
ALERT: WebSocket connection failed.
CONSOLE MESSAGE: WebSocket connection failed: WebSocket is closed before the connection is established.
+ALERT: WebSocket closed.
This test loads an iframe that creates an insecure WebSocket connection. We should block the connection and trigger a mixed content callback because the main frame is HTTPS, but the data sent over the socket could be recorded or controlled by an attacker.
Diff: https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r270907%20(17510)/http/tests/security/mixedContent/websocket/insecure-websocket-in-main-frame-diff.txt
--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/websocket/insecure-websocket-in-main-frame-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/websocket/insecure-websocket-in-main-frame-actual.txt
@@ -2,4 +2,5 @@
ALERT: WebSocket connection failed.
CONSOLE MESSAGE: WebSocket connection failed: WebSocket is closed before the connection is established.
+ALERT: WebSocket closed.
This test opens a window that connects to an insecure ws:// WebSocket. We should block the connection and trigger a mixed content callback because the main frame is HTTPS, but the data sent over the socket could be recorded or controlled by an attacker.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201217/63c918fa/attachment.htm>
More information about the webkit-unassigned
mailing list