From bd31d8961693d76bfc79a56e60e44a9aab446350 Mon Sep 17 00:00:00 2001 From: Jungkee Song Date: Fri, 4 Sep 2015 13:03:00 +0900 Subject: [PATCH] Make FetchEvent be cancelable. Fixes #741. --- spec/service_worker/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/service_worker/index.html b/spec/service_worker/index.html index 0a295257..675dbe70 100644 --- a/spec/service_worker/index.html +++ b/spec/service_worker/index.html @@ -3006,7 +3006,7 @@

Handle Fetch

  • Invoke Run Service Worker algorithm with activeWorker as the arguement.
  • Queue a task task to run the following substeps:
      -
    1. Create a trusted event e that uses the FetchEvent interface, with the event type fetch, which does not bubble, is not cancelable, and has no default action.
    2. +
    3. Create a trusted event e that uses the FetchEvent interface, with the event type fetch, which does not bubble and has no default action.
    4. Let the request attribute of e be initialized to r.
    5. Let c be null.
    6. If request's client is a window client, set c to the result of running Capture Window Client algorithm, or its equivalent, with request's client's responsible browsing context as the argument.