Skip to content
Branch: master
Commits on Jun 29, 2020
  1. Meta: update repository files

    foolip authored and annevk committed Jun 29, 2020
Commits on Jun 18, 2020
  1. Editorial: use dotted JavaScript intrinsics form

    ljharb committed Jun 18, 2020
    Follows tc39/ecma262#1376, and prevents problems
    in the future when the non-dotted forms are deleted.
Commits on Jun 14, 2020
  1. Meta: update repository files

    foolip authored and annevk committed Jun 13, 2020
Commits on Jun 3, 2020
  1. Fix and symmetrize "less than" and "prefix"

    domenic committed Jun 3, 2020
    We had a definition of (code unit) "prefix" for strings, but "starts
    with" for byte sequences, which led to usage errors within the
    corresponding "less than" algorithms.
    This makes "prefix" the primary operation for both strings and byte
    sequences, with dedicated <dfn>s for "starts with" for both. Then, it
    fixes "less than" for byte sequences to use "prefix" instead of "starts
    with", which makes the algorithm correct and closes #309.
    Additionally, this fixes the code unit prefix algorithm to be correct
    instead of backward, and updates the variable names from "a" and "b" to
    "potentialPrefix" and "input" for clarity.
Commits on May 29, 2020
  1. Define clear for an ordered map

    annevk committed May 29, 2020
    Useful for whatwg/html#5560.
Commits on May 20, 2020
  1. Meta: actually export byte/code point's value

    annevk authored and domenic committed May 20, 2020
Commits on May 18, 2020
  1. Give a name to byte and code point's underlying number

    annevk committed May 18, 2020
    This would be useful for whatwg/url#518, the Encoding Standard, and also clarifies isomorphic decode/encode a bit.
    This also requires all code points to be denoted in the same way, using "U+".
Commits on May 13, 2020
  1. Handle JS values which JSON-stringify as undefined

    domenic committed May 13, 2020
    Closes #264.
  2. Meta: update repository files

    annevk committed May 13, 2020
Commits on May 12, 2020
  1. Add definitions for string "is" and "identical to"

    aphillips committed May 12, 2020
    Adds definitions for string equality comparisons "is" and "identical to". Includes a blanket statement making these the default for string equality. Also includes a note spelling out the relationship to HTML's former "case-sensitive" comparison and appropriate health warning about visual and encoding sequence identity.
    Helps with whatwg/html#5067.
Commits on Apr 20, 2020
  1. Define implementation-defined

    annevk committed Apr 20, 2020
    Closes #210.
Commits on Apr 6, 2020
  1. Meta: update repository files

    annevk committed Apr 6, 2020
Commits on Apr 1, 2020
  1. Meta: update repository files

    annevk committed Apr 1, 2020
Commits on Mar 10, 2020
  1. Meta: add another ID for string's length

    annevk committed Mar 10, 2020
  2. Redo JavaScript and scalar value strings

    annevk committed Mar 10, 2020
    This changes things a bit so there's one clear base type, called string. A scalar value string is now defined as a subset of a string's value space, similar to ASCII string.
    A string's length is in code units and a string also has a code point length for the couple places that need that.
    Fixes part of #291. (The remainder there is fixing downstream dependencies.)
Commits on Feb 12, 2020
  1. Fix the usage of "length" in the code unit prefix algorithm

    andreubotella authored and annevk committed Feb 11, 2020
    This change corrects the usage of "length" as applied to strings in the
    code unit prefix algorithm, when in context it measures the number of
    code units, not code points.
    Fixes #288.
Commits on Jan 29, 2020
  1. Review Draft Publication: January 2020

    annevk authored and foolip committed Jan 29, 2020
Commits on Jan 15, 2020
  1. Define fingerprinting vector

    zcorpan and annevk committed Jan 15, 2020
    This allows other standards to designate something as a tracking vector and link this text for a
    centralized explanation.
    Fixes #20.
    Co-authored-by: Anne van Kesteren <>
Commits on Oct 9, 2019
  1. Add Boolean to JSON-to-Infra conversion steps

    NotWoods authored and annevk committed Oct 9, 2019
    Fixes #273.
Commits on Sep 23, 2019
  1. Define "user agent"

    jyasskin authored and annevk committed Sep 23, 2019
Commits on Aug 30, 2019
  1. Add cloning for maps

    domenic committed Aug 30, 2019
Commits on Jul 16, 2019
  1. Review Draft Publication: July 2019

    annevk authored and foolip committed Jul 16, 2019
Commits on Jun 28, 2019
  1. Fix "starts with" and "code unit prefix" algorithm

    al-arz authored and domenic committed Jun 28, 2019
    Closes #256.
Commits on May 24, 2019
  1. Add byte sequence's starts with and byte less than

    annevk committed May 23, 2019
    Needed for Fetch and XMLHttpRequest.
    See whatwg/fetch#906 and whatwg/xhr#248.
  2. Editorial: improve code unit prefix

    annevk committed May 23, 2019
Commits on May 21, 2019
  1. Revise the way otherwise is supposed to be used

    annevk committed May 21, 2019
    This also clarifies how "get the value of an entry" for an ordered map works.
    Closes #247.
Commits on May 10, 2019
  1. Add "parse JSON into Infra values"

    domenic committed May 10, 2019
    Part of #159. This provides the basic parsing framework, although no validation or type-checking.
  2. Add code unit prefix, less than, and general sorting

    domenic authored and annevk committed May 10, 2019
    Closes #55.
Commits on Mar 31, 2019
  1. Add extend for lists

    annevk committed Mar 31, 2019
    To insert the items of the first given list at the end of the second given list.
    Fixes #238.
Commits on Jan 23, 2019
  1. Review Draft Publication: January 2019

    annevk authored and domenic committed Jan 23, 2019
Commits on Nov 14, 2018
  1. Be consistent in how we advance position

    annevk committed Nov 14, 2018
Commits on Oct 19, 2018
  1. Add "normalize newlines"

    domenic committed Oct 19, 2018
    This will help with whatwg/html#4105, and can also replace or help with several other similar operations throughout various specifications.
Commits on Sep 13, 2018
  1. Editorial: greather ➡️ greater

    annevk authored and domenic committed Sep 13, 2018
Commits on Aug 2, 2018
  1. Add "serialize JSON to bytes" algorithm

    equalsJeffH authored and domenic committed Aug 2, 2018
    Fixes #193.
Commits on Jul 30, 2018
  1. Add ASCII encode and decode algorithms

    jyasskin authored and domenic committed Jul 30, 2018
    I'm using this with,
    which returns strings in some cases that I'd like to use them as byte
    sequences. Because of,
    I'm guaranteed they're actually all ASCII.
You can’t perform that action at this time.