If "phone" is not in excludeList, set
- details["phone"] to the user-provided
- structurally valid phone number in canonical form, or to the empty
- string if none was provided.
+ details["phone"] to the user-provided phone number,
+ or to the empty string if none was provided.
-
-
- Phone-related algorithms
-
-
-
- Structurally valid phone numbers
-
-
- The steps to check if a DOMStringtel is
- structurally valid phone number is given by the
- following algorithm.
-
-
- The algorithm checks that a phone number conforms to [[!E.164]].
-
-
-
If tel contains U+000A LINE FEED (LF) or U+000D
- CARRIAGE RETURN (CR) characters, return false.
-
If tel's the length is greater 15, return false.
-
-
If the first code point is not U+002B PLUS SIGN, return false.
-
-
-
-
-
- Canonicalize a phone number
-
-
- The steps to canonicalize a phone number given a
- DOMStringtel is
- given by the following algorithm.
-
-
-
TBW...
-
-
-
-
@@ -3450,9 +3394,10 @@
"PaymentOptions.requestPayerPhone">requestPayerPhone value of
request.[[\options]] is true, then set the
payerPhone attribute of
- response to a structurally valid phone number in
- canonical form provided
- by the user, or to null if none was provided.
+ response to the payer's phone number provided by the user,
+ or to null if none was provided. When setting the payerPhone value, the user agent
+ SHOULD format the phone number to adhere to [[!E.164]].