File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 663
663
< var > paymentMethodvar > .< a data-lt ="PaymentMethodData.data "> dataa >
664
664
into a string. Rethrow any exceptions.
665
665
li >
666
+ < li > If < var > serializedDatavar > is not null, and if required
667
+ by the specification that defines the
668
+ < var > paymentMethodvar > .< a > supportedMethodsa > :
669
+ < ol >
670
+ < li > Let < var > objectvar > be the result of
671
+ < a data-cite ="ECMASCRIPT#sec-json.parse "> JSON-parsinga >
672
+ < var > serializedDatavar > .
673
+ li >
674
+ < li >
675
+ < p >
676
+ < a data-lt ="converting "> Converta > < var > objectvar >
677
+ to an IDL value of the type specified by the
678
+ specification that defines the
679
+ < var > paymentMethodvar > .< a > supportedMethodsa >
680
+ (e.g., a < a data-cite =
681
+ "payment-method-basic-card#dom-basiccardrequest "> BasicCardRequesta >
682
+ in the case of [[?payment-method-basic-card]]).
683
+ Rethrow any exceptions.
684
+ p >
685
+ < p class ="note ">
686
+ This step assures that any IDL type conversion errors
687
+ are caught as early as possible.
688
+ p >
689
+ li >
690
+ ol >
691
+ li >
666
692
< li > Add the tuple (< var > paymentMethodvar > .< a data-lt =
667
693
"PaymentMethodData.supportedMethods "> supportedMethodsa > ,
668
694
< var > serializedDatavar > ) to
You can’t perform that action at this time.
0 commit comments