[Webkit-unassigned] [Bug 271845] New: PKPaymentMethod still fails strict mode decoding when using private label cards after 273108 at main

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 13:16:46 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271845

            Bug ID: 271845
           Summary: PKPaymentMethod still fails strict mode decoding when
                    using private label cards after 273108 at main
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit Process Model
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: a_protyasha at apple.com
                CC: a_protyasha at apple.com,
                    webkit-bug-importer at group.apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240328/3e529976/attachment.htm>


More information about the webkit-unassigned mailing list