Skip to content

Summer of Code 2016: Fetch API

Josh Matthews edited this page Mar 1, 2016 · 1 revision

Contact: Manish Goregaokar (Manishearth, manishearth@gmail.com), Josh Matthews (jdm, josh@joshmatthews.net).

This project will be focused on implementing the JS API portion of Fetch API in Servo, which is used to retrieve network resources using a new JS technology called Promises.

Project breakdown

  • Implementing the basic fetch function and wiring it up to the existing implementation of the underlying network API
  • Implementing any missing DOM APIs from the specification (Request, Response, Headers, etc.)
  • Diagnosing and fixing test failures from the existing testsuite
  • Writing new tests

Specification:

Reference:

Existing network API:

Documentation for adding new DOM APIs:

Suggestions for preparation

(Feel free to ask questions in #servo on irc.mozilla.org, or our mailing list!)

  • Read the existing fetch/ code; try to understand it and its relation to the rest of the Fetch spec
  • Gain experience using Rust by solving an easy DOM issue. Please leave a comment saying that you're working on it.
Clone this wiki locally