<?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>234014</bug_id>
          
          <creation_ts>2021-12-08 10:05:44 -0800</creation_ts>
          <short_desc>REGRESSION (r286632): [iOS] 3 editing/pasteboard/dom-paste/ are failing</short_desc>
          <delta_ts>2021-12-08 12:37:44 -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>New Bugs</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="Truitt Savell">tsavell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hi</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>1821603</commentid>
    <comment_count>0</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-12-08 10:05:44 -0800</bug_when>
    <thetext>It looks like the changes in https://trac.webkit.org/changeset/286632/webkit

broke 3 pasteboard tests on iOS 15 

editing/pasteboard/dom-paste/dom-paste-confirmation.html
editing/pasteboard/dom-paste/dom-paste-consecutive-confirmations.html
editing/pasteboard/dom-paste/dom-paste-requires-user-gesture.html

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=editing%2Fpasteboard%2Fdom-paste%2Fdom-paste-consecutive-confirmations.html&amp;test=editing%2Fpasteboard%2Fdom-paste%2Fdom-paste-requires-user-gesture.html&amp;test=fast%2Fforms%2Fios%2Ffocus-select-and-switch-tabs.html&amp;platform=ios


Diff example:
--- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/editing/pasteboard/dom-paste/dom-paste-confirmation-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/editing/pasteboard/dom-paste/dom-paste-confirmation-actual.txt
@@ -1,5 +1,5 @@
-Click here to copy
-Click here to copy
+
+
 
 Verifies that a menu is shown when the page programmatically triggers paste, and that selecting Paste in the menu allows the paste to happen. To manually test, click or tap the text on the bottom, click or tap the editable area above, and then select &apos;Paste&apos; in the resulting menu. The text &apos;Click here to copy&apos; should be pasted twice in the editable area.
 
@@ -7,12 +7,13 @@
 
 PASS document.queryCommandSupported(&apos;Paste&apos;) is true
 PASS document.queryCommandEnabled(&apos;Paste&apos;) is true
-PASS event.clipboardData.getData(&apos;text/plain&apos;) is &quot;Click here to copy&quot;
+FAIL event.clipboardData.getData(&apos;text/plain&apos;) should be Click here to copy. Was .
 PASS document.execCommand(&apos;Paste&apos;) is true
-PASS event.clipboardData.getData(&apos;text/plain&apos;) is &quot;Click here to copy&quot;
+FAIL event.clipboardData.getData(&apos;text/plain&apos;) should be Click here to copy. Was .
 PASS document.execCommand(&apos;Paste&apos;) is true
-PASS editor.textContent is &quot;Click here to copyClick here to copy&quot;
+FAIL editor.textContent should be Click here to copyClick here to copy. Was .
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1821604</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-08 10:06:07 -0800</bug_when>
    <thetext>&lt;rdar://problem/86217231&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1821720</commentid>
    <comment_count>2</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-12-08 12:37:44 -0800</bug_when>
    <thetext>Fixed by reverting in https://trac.webkit.org/changeset/286705/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>