<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>231329</bug_id>
          
          <creation_ts>2021-10-06 13:47:03 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 15): http/tests/websocket/tests/hybi/close-code-and-reason.html is failing</short_desc>
          <delta_ts>2022-06-30 15:34:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ayumi_kojima</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>achristensen</cc>
    
    <cc>mwake</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1801321</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 13:47:03 -0700</bug_when>
    <thetext>http/tests/websocket/tests/hybi/close-code-and-reason.html

Is flaky failing on iOS 15 Release and constantly failing on iOS 15 Debug.

History: https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fwebsocket%2Ftests%2Fhybi%2Fclose-code-and-reason.html

According to the history, the test started failing on iOS 15.

Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r283612%20(72)/results.html

Diff:

--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/close-code-and-reason-actual.txt
@@ -39,43 +39,43 @@
 WebSocketTest.onopen() was called with testId = 3.
 WebSocketTest.onclose() was called with testId = 3.
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1005.
 PASS closeEvent.reason is &apos;&apos;
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1005.
 PASS closeEvent.reason is &apos;&apos;
 WebSocketTest.onopen() was called with testId = 4.
 WebSocketTest.onclose() was called with testId = 4.
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1005.
 PASS closeEvent.reason is &apos;&apos;
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1005.
 PASS closeEvent.reason is &apos;&apos;
 WebSocketTest.onopen() was called with testId = 5.
 WebSocketTest.onclose() was called with testId = 5.
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
-PASS closeEvent.reason is &apos;&apos;
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1015.
+FAIL closeEvent.reason should be . Was baz.
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
-PASS closeEvent.wasClean is false
-PASS closeEvent.code is 1006
-PASS closeEvent.reason is &apos;&apos;
+FAIL closeEvent.wasClean should be false. Was true.
+FAIL closeEvent.code should be 1006. Was 1015.
+FAIL closeEvent.reason should be . Was baz.
 WebSocketTest.onopen() was called with testId = 6.
 WebSocketTest.onclose() was called with testId = 6.
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
 PASS closeEvent.wasClean is true
-PASS closeEvent.code is 65535
-PASS closeEvent.reason is &apos;good bye&apos;
+FAIL closeEvent.code should be 65535. Was 1005.
+FAIL closeEvent.reason should be good bye. Was .
 PASS typeof closeEvent.wasClean is &apos;boolean&apos;
 PASS closeEvent.wasClean is true
-PASS closeEvent.code is 65535
-PASS closeEvent.reason is &apos;good bye&apos;
+FAIL closeEvent.code should be 65535. Was 1005.
+FAIL closeEvent.reason should be good bye. Was .
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801323</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-06 13:47:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/83950001&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801340</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 14:09:01 -0700</bug_when>
    <thetext>In the meantime, marked test expectations: https://trac.webkit.org/changeset/283661/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877621</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-06-23 03:42:30 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1724</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879547</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-30 15:34:24 -0700</bug_when>
    <thetext>Committed 252017@main (19a3f253f03d): &lt;https://commits.webkit.org/252017@main&gt;

Reviewed commits have been landed. Closing PR #1724 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>