diff --git a/url.bs b/url.bs index e3360cc4..6579d359 100644 --- a/url.bs +++ b/url.bs @@ -437,8 +437,8 @@ then runs these steps: result of running domain to Unicode on asciiDomain otherwise. -The IPv4 number parser takes a string input and a -writingViolationFlag pointer, and then runs these steps: +

The IPv4 number parser takes a string input and a +validationErrorFlag pointer, and then runs these steps:

  1. Let R be 10. @@ -448,7 +448,7 @@ The IPv4 number parser takes a string input and a are either "0x" or "0X", run these substeps:

      -
    1. Set writingViolationFlag. +

    2. Set validationErrorFlag.

    3. Remove the first two code points from input. @@ -461,7 +461,7 @@ The IPv4 number parser takes a string input and a

        -
      1. Set writingViolationFlag. +

      2. Set validationErrorFlag.

      3. Remove the first code point from input. @@ -473,7 +473,7 @@ The IPv4 number parser takes a string input and a

      4. If input contains a code point that is not a radix-R digit, then return failure. -

      5. Return the mathematical integer value that is represented by input in @@ -488,7 +488,7 @@ The IPv4 number parser takes a string input and a these steps:

          -
        1. Let writingViolationFlag be unset. +

        2. Let validationErrorFlag be unset.

        3. Let parts be input split on ".". @@ -496,7 +496,7 @@ these steps:

          If the last item in parts is the empty string, then:

            -
          1. Set writingViolationFlag. +

          2. Set validationErrorFlag.

          3. If parts has more than one item, then remove the last item from parts. @@ -519,14 +519,14 @@ these steps: domain, not an IPv4 address.

          4. Let n be the result of parsing - part using writingViolationFlag. + part using validationErrorFlag.

          5. If n is failure, return input.

          6. Append n to numbers.

          -
        4. If writingViolationFlag is set, validation error. +

        5. If validationErrorFlag is set, validation error.

        6. If any item in numbers is greater than 255, validation error.