Bug 234014 - REGRESSION (r286632): [iOS] 3 editing/pasteboard/dom-paste/ are failing
Summary: REGRESSION (r286632): [iOS] 3 editing/pasteboard/dom-paste/ are failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-08 10:05 PST by Truitt Savell
Modified: 2021-12-08 12:37 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Truitt Savell 2021-12-08 10:05:44 PST
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&suite=layout-tests&suite=layout-tests&test=editing%2Fpasteboard%2Fdom-paste%2Fdom-paste-consecutive-confirmations.html&test=editing%2Fpasteboard%2Fdom-paste%2Fdom-paste-requires-user-gesture.html&test=fast%2Fforms%2Fios%2Ffocus-select-and-switch-tabs.html&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 'Paste' in the resulting menu. The text 'Click here to copy' should be pasted twice in the editable area.
 
@@ -7,12 +7,13 @@
 
 PASS document.queryCommandSupported('Paste') is true
 PASS document.queryCommandEnabled('Paste') is true
-PASS event.clipboardData.getData('text/plain') is "Click here to copy"
+FAIL event.clipboardData.getData('text/plain') should be Click here to copy. Was .
 PASS document.execCommand('Paste') is true
-PASS event.clipboardData.getData('text/plain') is "Click here to copy"
+FAIL event.clipboardData.getData('text/plain') should be Click here to copy. Was .
 PASS document.execCommand('Paste') is true
-PASS editor.textContent is "Click here to copyClick here to copy"
+FAIL editor.textContent should be Click here to copyClick here to copy. Was .
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
Comment 1 Radar WebKit Bug Importer 2021-12-08 10:06:07 PST
<rdar://problem/86217231>
Comment 2 Truitt Savell 2021-12-08 12:37:44 PST
Fixed by reverting in https://trac.webkit.org/changeset/286705/webkit