Bug 271845
Summary: | PKPaymentMethod still fails strict mode decoding when using private label cards after 273108@main | ||
---|---|---|---|
Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
Component: | WebKit Process Model | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Abrar Rahman Protyasha
This time, the decode failure is for a `PKPaymentPassContent` field.
```
2024-03-04 09:31:53.996982-0800 0x3B20E Fault 0x1270FA 4057 0 com.apple.WebKit.WebContent: (WebKit) [com.apple.WebKit:SecureCoding] NSKU decode failed for object of classes {(
PKPaymentMethod
)}: value for key 'content' was of unexpected class 'PKPaymentPassContent' (0x1f2039188) [/System/Library/PrivateFrameworks/PassKitCore.framework].
Allowed classes are:
{(
"'PKContent' (0x1f2029e18) [/System/Library/PrivateFrameworks/PassKitCore.framework]"
)}
```
This is only the tip of the iceberg, though, and there are other issues such as having to rewrite arrays to NSMutableArray and not converting NSURL instances to WKSecureCodingURLWrapper when encoding.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Abrar Rahman Protyasha
rdar://124015611
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/26572
EWS
Committed 276839@main (f3ac44b62cc1): <https://commits.webkit.org/276839@main>
Reviewed commits have been landed. Closing PR #26572 and removing active labels.