Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Summer of Code 2016: ServiceWorker infrastructure

Awal Garg edited this pageMar 24, 2016 ·2 revisions

Contact: Josh Matthews (jdm,josh@joshmatthews.net)

The goal of this project is to implement some important building blocks required for theServiceWorker API. Due to the API's size and complexity, this project is focused on the parts of the specification that revolve around intercepting network requests.

Project breakdown

  • Implement the missinghandle fetch integration for the Fetch implementation, and add unit tests
  • Implement logic for marking a service worker as registered and determining if a given HTTP request should be controlled by a worker or not
  • Allow script event loops to be notified that aFetchEvent should be dispatched to an appropriate worker, and create a mechanism allowing the result to be propagated back to the network request
  • Create infrastructure for sharing workers between multiple pages

Specifications:

Reference:http://www.html5rocks.com/en/tutorials/service-worker/introduction/

Current implementation:

Suggestions for preparation

(Feel free to ask questions in #servo onirc.mozilla.org, or ourmailing list!)

  • Read the existing Fetch and DedicatedWorkerGlobalScope; try to understand it and its relation to the specifications; as well as how WebIDL works
  • Gain experience using Rust bysolving an easy DOM issue. Please leave a comment saying that you're working on it.

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp