In Bug 233350 I mistakenly set the NSSecureCoding classes for _WKApplicationManifestIcon's "purposes" property as an array of strings. However, this should be treated as an array of numbers.
<rdar://problem/85838843>
To make matters worse, I was using an NSString to decode an NSURL, which obviously didn't work. I've added a test case to exercise this code.
Created attachment 445427 [details] Patch
Comment on attachment 445427 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445427&action=review r=me > Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm:379 > + EXPECT_FALSE(error); NIT: `EXPECT_NULL`? > Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm:382 > + EXPECT_FALSE(error); ditto (:379)
Comment on attachment 445427 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445427&action=review >> Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm:379 >> + EXPECT_FALSE(error); > > NIT: `EXPECT_NULL`? Ah! Will do. >> Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplicationManifest.mm:382 >> + EXPECT_FALSE(error); > > ditto (:379) Ditto.
Created attachment 445441 [details] Patch for landing
Committed r286311 (244670@main): <https://commits.webkit.org/244670@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445441 [details].