diff --git a/index.html b/index.html index c1d2632b..952cdc02 100644 --- a/index.html +++ b/index.html @@ -2112,19 +2112,6 @@

-
  • If details["phone"] is present: -
      -
    1. If details["phone"] is not a - structurally valid phone number, throw a - RangeError exception. -
    2. -
    3. - Canonicalize a phone number - details["phone"] and set - address.[[\phone]] to the result. -
    4. -
    -
  • If details["languageCode"] is present:
    1. If details["recipient"] and set address.[[\recipient]] to the result.
    2. +
    3. If details["phone"] is present, strip + leading and trailing ASCII whitespace from + details["phone"] and set + address.[[\phone]] to the result. +
    4. Return address.
    @@ -2566,10 +2558,8 @@

    none was provided.

  • 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 DOMString tel is - structurally valid phone number is given by the - following algorithm. -

    -

    - The algorithm checks that a phone number conforms to [[!E.164]]. -

    -
      -
    1. If tel contains U+000A LINE FEED (LF) or U+000D - CARRIAGE RETURN (CR) characters, return false. -
    2. -
    3. - Strip - and collapse ASCII whitespace in tel. -
    4. -
    5. If tel's the length is greater 15, return false. -
    6. -
    7. If the first code point is not U+002B PLUS SIGN, return false. -
    8. -
    -
    -
    -

    - Canonicalize a phone number -

    -

    - The steps to canonicalize a phone number given a - DOMString tel is - given by the following algorithm. -

    -
      -
    1. TBW... -
    2. -
    -
    -

    @@ -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]].
  • Set response.[[\completeCalled]] to false.