diff --git a/xhr.bs b/xhr.bs index 00b3eb7..32dd843 100644 --- a/xhr.bs +++ b/xhr.bs @@ -1595,41 +1595,15 @@ interface FormData {

Each {{FormData}} object has an associated -entry list (a list of -entries). It is initially the empty list. +entry list (an +entry list). It is initially empty. -

An entry consists of a -name and a -value. - -

For the purposes of interaction with other algorithms, an entry's filename is -the empty string if value is not a {{File}} object, and otherwise its -filename is the value of entry's value's {{File/name}} -attribute. - -

To create an entry for name, value, and optionally a -filename, run these steps: - -

    -
  1. Let entry be a new entry. - -

  2. Set entry's name to name. - -

  3. If value is a {{Blob}} object and not a {{File}} object, then set - value to a new {{File}} object, representing the same bytes, whose {{File/name}} - attribute value is "blob". - - -

  4. If value is (now) a {{File}} object and filename is given, then set - value to a new {{File}} object, representing the same bytes, whose {{File/name}} - attribute value is filename. - -

  5. Set entry's value to value. - -

  6. Return entry. -

- -
+

This section used to define +entry, an entry's +name and +value, and the +create an entry algorithm. These definitions have been +moved to the HTML Standard. [[HTML]]

The new FormData(form) @@ -1659,7 +1633,7 @@ method steps are:

  1. Let value be value if given; otherwise blobValue. -

  2. Let entry be the result of creating an entry with +

  3. Let entry be the result of creating an entry with name, value, and filename if given.

  4. Append entry to this's entry list. @@ -1710,7 +1684,7 @@ method steps are:

    1. Let value be value if given; otherwise blobValue. -

    2. Let entry be the result of creating an entry with +

    3. Let entry be the result of creating an entry with name, value, and filename if given.

    4. If there are entries in this's entry list