<?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>260103</bug_id>
          
          <creation_ts>2023-08-11 15:29:20 -0700</creation_ts>
          <short_desc>REGRESSION(266850@main): imported/w3c/web-platform-tests/cookie-store/change_eventhandler_for_document_cookie.https.window.html is a consistent failure.</short_desc>
          <delta_ts>2023-10-18 22:00:03 -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>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</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>
          
          <blocked>258504</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>rupin</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>cdumez</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1970829</commentid>
    <comment_count>0</comment_count>
    <who name="">rupin</who>
    <bug_when>2023-08-11 15:29:20 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/cookie-store/change_eventhandler_for_document_cookie.https.window.html is flaky</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972158</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-18 15:30:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/114112210&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985713</commentid>
    <comment_count>2</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-10-17 15:39:07 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/cookie-store/change_eventhandler_for_document_cookie.https.window.html

This test is a consistent text failure on wk2.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcookie-store%2Fchange_eventhandler_for_document_cookie.https.window.html

TEXT DIFF:

 PASS document.cookie set/overwrite/delete observed by CookieStore
 PASS CookieStore set/overwrite/delete observed by document.cookie
 FAIL CookieStore agrees with document.cookie on encoding non-ASCII cookies assert_equals: Cookie we wrote using document.cookie in cookie jar expected (string) &quot;DOCUMENT-ðŸª=ðŸ”µ&quot; but got (undefined) undefined
-PASS document.cookie agrees with CookieStore on encoding non-ASCII cookies
+FAIL document.cookie agrees with CookieStore on encoding non-ASCII cookies assert_equals: Empty cookie jar after CookieStore delete expected (undefined) undefined but got (string) &quot;DOCUMENT-ðŸª=ðŸ”µ&quot;
 
DIFF URL:

https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK2-Tests/269423@main%20(319)/imported/w3c/web-platform-tests/cookie-store/change_eventhandler_for_document_cookie.https.window-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Ventura (13.6, 22G120/arm64) ToT using the following command:

run-webkit-tests -v --iterations 10 --exit-after-n-failures 1 imported/w3c/web-platform-tests/cookie-store/change_eventhandler_for_document_cookie.https.window.html

REGRESSION:

The flakiness dashboard indicates a potential regression point at 266850@main. Changes at this point appear to be directly related to this issue and are likely what caused the failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985901</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-10-18 10:31:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19235</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1986079</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-18 22:00:01 -0700</bug_when>
    <thetext>Committed 269503@main (8572ca9d273c): &lt;https://commits.webkit.org/269503@main&gt;

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

    </bug>

</bugzilla>