Skip to content

Commit

Permalink
Disable strict secure coding for PKPaymentSetupConfiguration
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=255052
rdar://107626990

Reviewed by Tim Horton.

This undoes part of 262558@main until further investigation can happen.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::encodeSecureCodingInternal):

Canonical link: https://commits.webkit.org/262637@main
  • Loading branch information
achristensen07 committed Apr 5, 2023
1 parent 4b5b02b commit f31b514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
Expand Up @@ -568,6 +568,9 @@ static bool shouldEnableStrictMode(Decoder& decoder, NSArray<Class> *allowedClas
|| decoder.messageName() == IPC::MessageName::WebPageProxy_RequestTextRecognitionReply // UIP -> WCP
) && isInWebProcess()
)
#endif
#if ENABLE(APPLE_PAY)
|| [allowedClasses containsObject:PAL::getPKPaymentSetupConfigurationClass()] // rdar://107553429, Don't re-introduce rdar://107626990
#endif
) {
return false;
Expand All @@ -583,7 +586,6 @@ static bool shouldEnableStrictMode(Decoder& decoder, NSArray<Class> *allowedClas
#endif // ENABLE(REVEAL)
#if ENABLE(APPLE_PAY)
|| [allowedClasses containsObject:PAL::getPKPaymentSetupFeatureClass()] // rdar://107553409
|| [allowedClasses containsObject:PAL::getPKPaymentSetupConfigurationClass()] // rdar://107553429
|| [allowedClasses containsObject:PAL::getPKPaymentMerchantSessionClass()] // rdar://107553452
|| ([allowedClasses containsObject:PAL::getPKPaymentClass()] && isInWebProcess())
|| ([allowedClasses containsObject:PAL::getPKPaymentInstallmentConfigurationClass()] && isInWebProcess())
Expand Down

0 comments on commit f31b514

Please sign in to comment.