Title: [293424] trunk/LayoutTests
Revision
293424
Author
[email protected]
Date
2022-04-26 08:35:45 -0700 (Tue, 26 Apr 2022)

Log Message

http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html is failing
https://bugs.webkit.org/show_bug.cgi?id=239630
<rdar://92128154>

Reviewed by Youenn Fablet.

We get an error when closing the websocket. The error gets queued up on the event loop and
may or may not get processed before the test ends, leading to flakiness. The test is actually
about testing bufferedAmount after closing the socket and this part is still being tested and
reliably passing. As a result, I am simply silencing the error in the test to address the
flakiness.

* LayoutTests/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

Canonical link: https://commits.webkit.org/249984@main

Modified Paths

Diff

Modified: trunk/LayoutTests/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html (293423 => 293424)


--- trunk/LayoutTests/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html	2022-04-26 14:28:49 UTC (rev 293423)
+++ trunk/LayoutTests/http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html	2022-04-26 15:35:45 UTC (rev 293424)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<!DOCTYPE html><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
 <html>
 <head>
 <script src=""
@@ -81,11 +81,6 @@
     finishJSTest();
 };
 
-ws._onerror_ = function()
-{
-    debug("Error.");
-}
-
 var messageToSend;
 var bufferedAmountDifference;
 

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (293423 => 293424)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2022-04-26 14:28:49 UTC (rev 293423)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2022-04-26 15:35:45 UTC (rev 293424)
@@ -1442,9 +1442,6 @@
 [ Monterey arm64 ] fast/animation/request-animation-frame-throttling-lowPowerMode.html [ Failure ]
 [ Monterey arm64 ] fast/animation/css-animation-throttling-lowPowerMode.html [ Failure ]
 
-# rdar://80342948 ([ Monterey wk2 ] http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html is a Flaky failure)
-[ Monterey ] http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html [ Pass Failure ]
-
 # Behavior of navigator-language-ru changed in Monterey
 [ Monterey+ ] fast/text/international/system-language/navigator-language/navigator-language-ru.html [ Failure ]
 [ BigSur ] fast/text/international/system-language/navigator-language/navigator-language-ru-2.html [ Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to