Changeset 295177 in webkit
- Timestamp:
- Jun 2, 2022, 11:45:11 PM (4 years ago)
- Location:
- branches/safari-613-branch
- Files:
-
- 3 edited
-
Source/WebCore/PAL/ChangeLog (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613-branch/Source/WebCore/PAL/ChangeLog
r294066 r295177 1 2022-04-14 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [iOS] [WK2] Managed pasteboard should function for all managed domains 4 https://bugs.webkit.org/show_bug.cgi?id=239319 5 rdar://80059355 6 7 Reviewed by Kate Cheney. 8 9 Add an SPI method on `MCProfileConnection`. 10 11 * pal/spi/ios/ManagedConfigurationSPI.h: 12 1 13 2022-04-19 Alan Coon <alancoon@apple.com> 2 14 -
branches/safari-613-branch/Source/WebKit/ChangeLog
r295176 r295177 1 2022-04-14 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [iOS] [WK2] Managed pasteboard should function for all managed domains 4 https://bugs.webkit.org/show_bug.cgi?id=239319 5 rdar://80059355 6 7 Reviewed by Kate Cheney. 8 9 Unless a WebKit client has specified a data owner for the web view that is not _UIDataOwnerUndefined, fall back 10 to _UIDataOwnerEnterprise when the current domain of the WKWebView is managed (that is, `-[MCProfileConnection 11 isURLManaged:]` returns YES for the web view's current URL). This allows managed pasteboard to work for all 12 WebKit clients, if the current URL is managed. 13 14 Test: UIPasteboardTests.PerformAsDataOwnerWithManagedURL 15 16 * Platform/spi/ios/UIKitSPI.h: 17 18 Drive-by fix: move the staged declarations of `-_dataOwnerForCopy` and `-_dataOwnerForPaste` out of the IPI 19 section, and into the non-internal SDK section. 20 21 * UIProcess/ios/WKContentViewInteraction.mm: 22 (-[WKContentView _dataOwnerForPasteboard:]): 23 1 24 2022-04-22 Kimmo Kinnunen <kkinnunen@apple.com> 2 25 -
branches/safari-613-branch/Tools/ChangeLog
r295174 r295177 1 2022-04-14 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [iOS] [WK2] Managed pasteboard should function for all managed domains 4 https://bugs.webkit.org/show_bug.cgi?id=239319 5 rdar://80059355 6 7 Reviewed by Kate Cheney. 8 9 Add a new API test to verify that we fall back to consulting `-[MCProfileConnection isURLManaged:]` when 10 determining the data owner for copy and paste, unless a data owner is already explicitly set on a view in the 11 responder chain (specifically, the WKWebView). 12 13 * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: 14 (+[TestUIPasteboard _performAsDataOwner:block:]): 15 (-[TestMCProfileConnection isURLManaged:]): 16 (TestWebKitAPI::TEST): 17 1 18 2022-04-22 Kimmo Kinnunen <kkinnunen@apple.com> 2 19
Note:
See TracChangeset
for help on using the changeset viewer.