<?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>227823</bug_id>
          
          <creation_ts>2021-07-08 17:01:43 -0700</creation_ts>
          <short_desc>[GTK][WPE] Some tests in imported/w3c/web-platform-tests/cookies/prefix/ are flaky</short_desc>
          <delta_ts>2025-02-04 16:48:19 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=227641</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>pgriffis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1775867</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-08 17:01:43 -0700</bug_when>
    <thetext>The following tests imported in 279585 are flaky:

Regressions: Unexpected text-only failures (8)
  imported/w3c/web-platform-tests/cookies/prefix/__host.document-cookie.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__host.document-cookie.https.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__host.header.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__host.header.https.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__secure.document-cookie.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__secure.document-cookie.https.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/__secure.header.html [ Failure ]
  imported/w3c/web-platform-tests/cookies/prefix/document-cookie.non-secure.html [ Failure ]


The flakiness happen due to same random integer that appears on the text results.

Example:

Run 1

-PASS __Host: Non-secure origin: &apos;Path=/;MaxAge=10&apos;
+FAIL __Host: Non-secure origin: &apos;Path=/;MaxAge=10&apos; assert_equals: `__Host-prefixtestcookie=0.47609837379802233` in `document.cookie` expected false but got true

Run 2:

-PASS __Host: Non-secure origin: &apos;Path=/;MaxAge=10&apos;
+FAIL __Host: Non-secure origin: &apos;Path=/;MaxAge=10&apos; assert_equals: `__Host-prefixtestcookie=0.4836850576033984` in `document.cookie` expected false but got true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2092000</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Griffis">pgriffis</who>
    <bug_when>2025-02-04 16:48:19 -0800</bug_when>
    <thetext>These are no longer flakey, libsoup 3.3.0 supports prefixed cookies.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>