Unreviewed test fix after r226224.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Dec 2017 23:57:56 +0000 (23:57 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Dec 2017 23:57:56 +0000 (23:57 +0000)
commit8981a0bc4a9eb8029acb1e6f1bd7b50e406c5b9b
tree42da2ff6bd1bb7ebc0577d14e72c14a2b44c181c
parent9aa5f2d2b79ad47cbc3e23da96819b73a5415ee2
Unreviewed test fix after r226224.
<rdar://problem/36185975>

Pasteboard data is more than a dictionary. We have to whitelist NSString
and NSArray as well. Change method name to reflect that we take a whitelist
of classes that are allowed to be unarchived in the call.
Source/WebCore:

* platform/ios/PlatformPasteboardIOS.mm:
(WebCore::PlatformPasteboard::write): Use revised method.
(WebCore::PlatformPasteboard::typesSafeForDOMToReadAndWrite const): Ditto.

Source/WebCore/PAL:

* pal/spi/cocoa/NSKeyedArchiverSPI.h:
(unarchivedObjectOfClassesFromData):
(unarchivedObjectOfClassFromData): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h
Source/WebCore/platform/ios/PlatformPasteboardIOS.mm