<?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>298042</bug_id>
          
          <creation_ts>2025-08-28 10:44:16 -0700</creation_ts>
          <short_desc>[ macOS, iOS Release ] http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html is a flaky text failure</short_desc>
          <delta_ts>2026-01-06 12:56:00 -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>HTML Editing</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bryan Medina">bmedina2</reporter>
          <assigned_to name="Charlie Wolfe">charliew</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2139396</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-08-28 10:44:16 -0700</bug_when>
    <thetext>http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html

is a flaky text failure occurring on macOS and iOS Release.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fsecurity%2Fclipboard%2Fcopy-paste-html-cross-origin-iframe-across-origin.html

TEXT DIFF:
**Diffs very slightly vary, but this is the most common appearing in all
--- /Volumes/Data/worker/Apple-Sequoia-Debug-AppleSilicon-WK2-Tests/build/layout-test-results/http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-expected.txt
+++ /Volumes/Data/worker/Apple-Sequoia-Debug-AppleSilicon-WK2-Tests/build/layout-test-results/http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-actual.txt
@@ -22,12 +22,12 @@
 PASS frames[0].imageWidth is 80
 PASS new URL(frames[1].src).protocol is &quot;http:&quot;
 PASS frames[1].canAccessContentDocument is false
-PASS new URL(frames[1].imageSrc).protocol is &quot;http:&quot;
-PASS frames[1].imageWidth is 80
+FAIL new URL(frames[1].imageSrc).protocol should be http:. Was data:.
+FAIL frames[1].imageWidth should be 80. Was 10.
 PASS new URL(frames[2].src).protocol is &quot;http:&quot;
 PASS frames[2].canAccessContentDocument is false
-PASS new URL(frames[2].imageSrc).protocol is &quot;data:&quot;
-PASS frames[2].imageWidth is 10
+FAIL new URL(frames[2].imageSrc).protocol should be data:. Was http:.
+FAIL frames[2].imageWidth should be 10. Was 80.
 PASS new URL(frames[3].src).protocol is &quot;http:&quot;
 PASS frames[3].canAccessContentDocument is false
 PASS new URL(frames[3].imageSrc).protocol is &quot;data:&quot;

TEXT DIFF URL:
https://build.webkit.org/results/Apple-Sequoia-Debug-AppleSilicon-WK2-Tests/299189@main%20(2171)/http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-diff.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139397</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-08-28 10:44:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/159374149&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139398</commentid>
    <comment_count>2</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-08-28 10:46:24 -0700</bug_when>
    <thetext>I was able to reproduce the text failure locally on my device running iOS 18 Simulator Release ToT using the following command:

run-webkit-tests http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html --ipad-simulator --iterations=50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139401</commentid>
    <comment_count>3</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-08-28 10:52:35 -0700</bug_when>
    <thetext>It looks like this test has been flaky since it was introduced. I cannot seem to pin point a regression range.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139402</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-08-28 10:53:19 -0700</bug_when>
    <thetext>Test gardening commit 299264@main (a2c839920bc3): &lt;https://commits.webkit.org/299264@main&gt;

Reviewed commits have been landed. Closing PR #50011 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169484</commentid>
    <comment_count>5</comment_count>
    <who name="Charlie Wolfe">charliew</who>
    <bug_when>2026-01-05 14:57:08 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56106</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169692</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-06 12:55:58 -0800</bug_when>
    <thetext>Committed 305169@main (11b19351f780): &lt;https://commits.webkit.org/305169@main&gt;

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

    </bug>

</bugzilla>