Switch branches/tags
Nothing to show
Commits on Oct 1, 2018
  1. Do not reset override MIME type

    annevk committed Oct 1, 2018
    It does not make much sense as overrideMimeType() isn't blocked from being used before open() is invoked. (And 3/4 of the major implementations do not have this behavior.)
    Partially reverts 121cee5.
    Tests: web-platform-tests/wpt#12404.
    Closes web-platform-tests/wpt#12289.
Commits on Aug 21, 2018
  1. Review Draft Publication: August 2018

    annevk authored and domenic committed Aug 21, 2018
Commits on Jun 15, 2018
  1. Remove outdated note from setRequestHeader()

    ryoqun authored and annevk committed Jun 15, 2018
    Closes #213.
  2. Make handle errors look at the timeout first

    jakearchibald authored and annevk committed Jun 15, 2018
    Otherwise it'd never report a timeout error.
    Fixes #212.
Commits on May 29, 2018
  1. Meta: Review Draft infrastructure

    annevk authored and domenic committed May 29, 2018
    See whatwg/ and whatwg/meta#92 for details.
    This also updates the web-platform-tests and IRC URLs.
Commits on May 28, 2018
Commits on May 8, 2018
  1. Don't fire a "progress" event for synchronous XMLHttpRequest

    ricea authored and annevk committed May 8, 2018
    Only fire a "progress" event during "handle response end-of-body" for
    asynchronous XMLHttpRequest. This matches most browsers.
    Tests: web-platform-tests/wpt#10887.
    Closes #207.
  2. FormData: remove 'type' mapping for 'entry'

    tkent-google authored and annevk committed May 8, 2018
    This fixes part of whatwg/html#3648.
Commits on Apr 23, 2018
  1. Editorial: move Feature Policy integration section

    annevk committed Apr 23, 2018
    It's part of XMLHttpRequest, not ProgressEvent.
    Fixes #199.
Commits on Apr 19, 2018
  1. Remove incorrect note about responseXML

    annevk committed Apr 19, 2018
    Fixes #203.
Commits on Apr 17, 2018
  1. Editorial: uppercase UTF-8

    annevk committed Apr 17, 2018
    Fixes #196.
  2. Fix overrideMimeType() again

    annevk committed Apr 17, 2018
    This makes a number of changes:
    * Integrates with the new MIME Sniffing infrastructure.
    * Reset override MIME type when open() is invoked.
    * Actually make overriding the charset parameter work (setting override MIME type to the "MIME type portion" (now essence) as done previously would always erase it).
    * Use "get an encoding" (previously undefined) to convert from a label to an encoding.
    Tests: web-platform-tests/wpt#8449.
    Fixes #157.
Commits on Apr 16, 2018
  1. Define Content-Type manipulation in terms of MIME Sniffing

    annevk committed Apr 16, 2018
    Note that this also replaces "utf-8" with "UTF-8" and no longer preserves duplicate parameters.
    Tests: web-platform-tests/wpt#8422.
    Fixes #188.
Commits on Apr 11, 2018
Commits on Apr 10, 2018
  1. Editorial: cleanup exception terminology

    annevk committed Apr 10, 2018
    Fixes #173.
Commits on Mar 2, 2018
  1. Integrate Feature Policy: "sync-xhr"

    clelland authored and annevk committed Mar 2, 2018
    This adds a policy-controlled feature, named 'sync-xhr', which can be disabled in a document to turn off synchronous requests for that document (and documents in all descendant frames). Calling send() on a synchronous request in a document where "sync-xhr" is disabled will result in a "NetworkError" DOMException exception being thrown.
    Caveat: whatwg/html#3287 which redefines "allowed to use" in HTML to be more like has not yet landed. If that takes significant time we should add a note to its usage here.
    Tests: xhr/xmlhttprequest-sync-default-feature-policy.sub.html in web-platform-tests.
    Fixes #178.
Commits on Jan 12, 2018
  1. Meta: remove mention of CC0

    annevk committed Jan 12, 2018
    Also fix a couple other nits.
Commits on Jan 6, 2018
  1. Meta: reference whatwg/meta resources

    annevk committed Jan 6, 2018
    Helps with whatwg/meta#65.
Commits on Jan 5, 2018
Commits on Dec 20, 2017
  1. Meta: update .travis.yml

    foolip authored and annevk committed Dec 20, 2017
Commits on Dec 4, 2017
  1. Use the API URL character encoding for XMLHttpRequest

    annevk committed Dec 4, 2017
    Unfortunately forcing UTF-8 is not web compatible.
    This also cleans up some other steps in the open() method in the process.
    Fixes #159.
  2. Editorial: use HTML/XML MIME type terms

    annevk committed Dec 4, 2017
    Fixes #160.
Commits on Oct 13, 2017
Commits on Oct 11, 2017
Commits on Oct 5, 2017
  1. Use Infra for JSON parsing

    annevk committed Sep 29, 2017
Commits on Sep 8, 2017
  1. Align with Fetch's upcoming abort revamp

    jakearchibald authored and annevk committed Sep 8, 2017
    See whatwg/fetch#523 for details.
Commits on Aug 30, 2017
Commits on Aug 10, 2017
Commits on Jun 15, 2017
Commits on May 9, 2017
Commits on Apr 20, 2017
  1. Sort and lowercase header names in getAllResponseHeaders() example

    annevk committed Apr 20, 2017
    Also add highlighting for code. Fixes #136.
Commits on Mar 13, 2017
  1. Align header handling with Fetch

    annevk committed Mar 13, 2017
    In particular, setRequestHeader() should use 0x2C 0x20 as separator (not just 0x2C) and get(All)ResponseHeader(s)() should do so too. The latter also always needs to end in 0x0D 0x0A rather than omitting it at the end.
    This depends on whatwg/fetch#504 landing first.
    Tests: web-platform-tests/wpt#4641, web-platform-tests/wpt#5008, and web-platform-tests/wpt#5115.
    Fixes #108 and fixes #109.