Skip to content

Implement XMLHttpRequest #2282

Closed
Closed

Description

@Manishearth

I'll use this meta bug to track all the requests/PRs relevant to this.

(This is my Google Summer of Code project, original proposal here)

Activity

  1. added 2 commits that reference this issue on May 3, 2014
  2. Manishearth commented on May 5, 2014

    @Manishearth
    MemberAuthor

    Status update posted, dated 2014-05-04.

  3. added 4 commits that reference this issue on May 6, 2014
  4. Manishearth commented on May 12, 2014

    @Manishearth
    MemberAuthor

    Status update posted (2014-05-11).

    Done:

    XHR:

    Other:

    Next:

    • Basic asynchronous GET
    • Start looking in to header support. rust-http already has a struct that handles headers, so this should not be too hard.
    • Add support for extra data (Method, Headers, etc) through Load in resource_task.
  5. Manishearth commented on May 20, 2014

    @Manishearth
    MemberAuthor

    Status update posted

    Status posted, 2014-05-20

    Done

    • Async/Sync GET for XHR with headers. Waiting on review and some minor changes from me.
    • Investigated how to add request/response header support. Blocked on the above PR. Made some related changes to rust-http
    • Investigated string POSTdata support thoroughly. Also blocked. (I have code snippets, I just want to avoid rentegrating/rebasing so I'll PR after the async PR merges)

    Next

    • Add string POSTdata support
    • Add request/response header support
    • Start work on events
    • Check progress against wpt, fix minor issues which are noticed by it
  6. Manishearth commented on May 27, 2014

    @Manishearth
    MemberAuthor

    Status update posted (2014-05-27):

    Done

    Next:

    • Events! (Blocked on EventHandler PR)
    • Finish POSTdata PR. Uncomment the duplication bit in setRequestHeader
    • Possibly do FormData
  7. added 3 commits that reference this issue on May 28, 2014
  8. Manishearth commented on Jun 3, 2014

    @Manishearth
    MemberAuthor

    Status update 2014-06-03

    Done

    Next

    • More WPT (Meta bug). I'm thinking of doing some or all of the following (might change based on further inspection of the wpt suite):
      • Support for Abort/Timeout (a lot of tests need this)
      • Support for arbitrary request methods
      • FormData
    • Support for more response types, probably JSON (given that the parser already exists inside SpiderMonkey)
  9. added a commit that references this issue on Jun 4, 2014
  10. Manishearth commented on Jun 11, 2014

    @Manishearth
    MemberAuthor

    Status update 2014-06-11

    Done

    Next

    • Timeouts / Abort
    • Possibly overrideMIMEType
    • Possibly stating work on URLSearchParams
    • More WPT

    Non-XHR:

    I'm working with larsberg on getting Travis integration up. This might involve a small Rust upgrade. We have a working build here.

  11. Manishearth commented on Jun 18, 2014

    @Manishearth
    MemberAuthor

    Status update 2014-06-16

    Done

    • Request termination (timeouts/abort) [In review]
    • WPT upgrade (Works, pull request not yet filed since I want to discuss a bit first)
    • [Last week's FormData and jQuery PRs are still in review]

    Next

    Possibly CORS, MIME type support, and/or URLSearchParams. The majority of the proposal is completed, there are now a couple of small features left, as well as some optional extras from the proposal that I'll start work on. This will be peppered with WPT PRs.

  12. Manishearth commented on Jun 24, 2014

    @Manishearth
    MemberAuthor

    Status update 2014-06-24

    Done

    Next

    • CORS. Will require some spec reading first.
    • Occasional WPT tests
    • Get started on URLSearchParams
  13. Manishearth commented on Jul 7, 2014

    @Manishearth
    MemberAuthor

    Status update 2014-07-07

    Done:

    Next:

    • Finish CORS
    • Possibly look into rust-fetch, depending on what the team decides
    • Hook FormData and URLSearchParams into XHR
  14. Manishearth commented on Jul 18, 2014

    @Manishearth
    MemberAuthor

    Status update, 19 July

    Done: Rust-http simplification, see mailing list for more details

    Next: rust-fetch, CORS fixups

  15. jdm commented on Oct 11, 2014

    @jdm
    Member

    I don't think this metabug has much value any longer.

  16. Manishearth commented on Oct 11, 2014

    @Manishearth
    MemberAuthor

    Agreed.

    Also, reminds me, better finish up fetch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions