<?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>253533</bug_id>
          
          <creation_ts>2023-03-07 14:16:28 -0800</creation_ts>
          <short_desc>[SOUP] HTTP/2 status text WPTs fail on WPE and GTK</short_desc>
          <delta_ts>2024-01-16 13:39:33 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>176479</dependson>
    
    <dependson>253043</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Nham">nham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1939551</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2023-03-07 14:16:28 -0800</bug_when>
    <thetext>These WPTs fail when we fix the WPT test runner to actually run the H2 test cases over H2 (253043):

imported/w3c/web-platform-tests/fetch/api/basic/status.h2.any-expected.txt
imported/w3c/web-platform-tests/fetch/api/basic/status.h2.any.worker-expected.txt
imported/w3c/web-platform-tests/xhr/status.h2.window-expected.txt

Example diff:

```
--- /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/fetch/api/basic/status.h2.any-expected.txt
+++ /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/fetch/api/basic/status.h2.any-actual.txt
@@ -1,9 +1,9 @@
 
-FAIL statusText over H2 for status 200 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 210 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 400 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 404 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 410 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 500 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
-FAIL statusText over H2 for status 502 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OMG&quot;
+FAIL statusText over H2 for status 200 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;OK&quot;
+FAIL statusText over H2 for status 210 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Unknown Error&quot;
+FAIL statusText over H2 for status 400 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Bad Request&quot;
+FAIL statusText over H2 for status 404 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Not Found&quot;
+FAIL statusText over H2 for status 410 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Gone&quot;
+FAIL statusText over H2 for status 500 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Internal Server Error&quot;
+FAIL statusText over H2 for status 502 should be the empty string assert_equals: statusText should be the empty string expected &quot;&quot; but got &quot;Bad Gateway&quot;
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1939553</commentid>
    <comment_count>1</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2023-03-07 14:19:07 -0800</bug_when>
    <thetext>Looks like Joseph&apos;s fix for this issue only worked for Cocoa platforms and not for other platforms: https://github.com/WebKit/WebKit/commit/93719e196089a762755edc915cbb597f32112394</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>