Permalink
Commits on Jul 11, 2017
Commits on Jul 6, 2017
  1. Fix typo

    jungkees committed Jul 6, 2017
Commits on Jun 30, 2017
  1. Use right value for Resolve Job Promise (#1054)

    This changes Resolve Job Promise/Reject Job Promise algorithms and their
    call sites to use correct fulfillment values/rejection reasons for
    equivalent job promises by specifying the associated realms.
    
    Fixes #829.
    jungkees committed on GitHub Jun 30, 2017
Commits on Jun 24, 2017
  1. Update the “Link type "serviceworker"” section (#1110)

    * Add new section “Declaring a "serviceworker" Link header”
    * Drop normative requirement to fire an error if link[workertype] value
      isn’t a valid worker type; instead just abort.
    * Drop the partial interface IDL for the HTMLLinkElement interface (the
      definitions for the IDL attributes have already been merged directly
      into the HTMLLinkElement interface IDL definition in the HTML spec).
    
    Fixes #1073
    sideshowbarker committed with jungkees Jun 24, 2017
Commits on Jun 12, 2017
  1. Backport 443753f to V1

    jungkees committed Jun 12, 2017
Commits on Jun 7, 2017
  1. Backport 5430012 to V1

    jungkees committed Jun 7, 2017
  2. Extend attribute ref with link to external spec (#1144)

    Because the "closing" attribute is not referenced elsewhere within the
    specification, this step may cause confusion for readers who are not
    familiar with its origins in the Workers specification. Extend the
    reference to include a hyperlink to that document.
    jugglinmike committed with jungkees Jun 7, 2017
  3. Changing useCache boolean to updateViaCache enum (#1107)

     Changing useCache boolean to updateViaCache enum
    
    Issue: #1104.
    Tests: w3c/web-platform-tests#5515.
    HTML change: whatwg/html@b5fcec0.
    jakearchibald committed with jungkees Jun 7, 2017
Commits on May 30, 2017
  1. Fix the control flow of update() method

    This patch fixes the control flow of registration.update() method such
    that the algorithm returns a promise rejected with an exception on error
    conditions. Before this patch, the steps rejected a non-returned promise
    and aborted the steps right away.
    
    Issue raised through #1152.
    jungkees committed May 30, 2017
Commits on May 29, 2017
  1. Revert "Editorial: correct method control flow (#1152)"

    Reviewing the algorithm again, update() method isn't supposed to run in
    parallel until the update job is scheduled by Run Job algorithm.
    Necessary changes for the original PR will be addressed separately.
    
    This reverts commit 474b57f.
    jungkees committed May 29, 2017
  2. Revert "Backport 474b57f to V1"

    This reverts commit 35afcf7.
    jungkees committed May 29, 2017
  3. Backport 474b57f to V1

    jungkees committed May 29, 2017
  4. Editorial: correct method control flow (#1152)

    The previous control flow for the `ServiceWorkerRegistration#update`
    algorithm did not return a value under certain error conditions. Update
    the algorithm steps to consistently return the Promise defined to track
    the status of the operation.
    
    * Editor note: This patch fixes the update() method such that the method returns a promise and runs the update job in parallel.
    jugglinmike committed with jungkees May 29, 2017
  5. Backport 5e86528 to V1

    jungkees committed May 29, 2017
  6. Editorial: Correct value references (#1150)

    Set job properties based on the value of the like-named algorithm inputs
    (not the job properties themselves).
    jugglinmike committed with jungkees May 29, 2017
Commits on May 26, 2017
  1. Backport 87a6de9 to V1

    jungkees committed May 26, 2017
  2. Editorial: Correct grammar of informative note (#1145)

    * Editorial: Correct grammar of informative note
    
    * fixup! Improve note - following up on ddc7c64
    jugglinmike committed with jungkees May 26, 2017
Commits on May 22, 2017
  1. Merge pull request #1149 from bocoup/link-ex-typos

    Editorial: correct typos in <link> element example
    mkruisselbrink committed on GitHub May 22, 2017
Commits on May 19, 2017
  1. Fix fetchEvent.request initialization (#1147)

    This patch moves the creation of a Request object and its associated
    Headers object to a right place. It moves those steps from outside into
    the task where the fetch event's request attribute is initialized.
    
    Fixes #951.
    
    * Add html files
    jungkees committed on GitHub May 19, 2017
Commits on May 12, 2017
  1. Assert same-origin for registration matching (#1138)

    This patch adds an assertion in the Match Service Worker Registration
    that the given URL and the matched URL are the same origin. This also
    adds a note that the URL serializer serializes the URLs with a trailing
    slash at the end of the origin part of the URLs.
    
    Fixes #1118.
    jungkees committed on GitHub May 12, 2017
Commits on May 10, 2017
  1. Fix the type of the key of the registration map

    This changes the type of the key of the scope to registration map from a
    URL to a string. The algorithms that reference the scope to registration
    map (including the Match Service Worker Registration) were correctly
    using the keys as strings.
    
    This changes the variable names in the Match Service Worker Registration
    to clarify the types of the values of the variables.
    
    (This doesn't affect any behavior.)
    
    Fixes #1118.
    jungkees committed May 10, 2017
  2. Backport 12b29ad to V1

    jungkees committed May 10, 2017
  3. Editorial: Simplify `ready` (#1136)

    (This change doesn't affect any behavior.)
    
    The previous structure for the `ready` algorithm involved a recursive
    path through an "else" branch. This tended to obscure the fact that the
    corresponding branch was *not* recursive and that the following steps
    were indeed reachable.
    
    Re-factor the algorithm to include fewer total branches and to contain
    the recursion more tightly.
    jugglinmike committed with jungkees May 10, 2017
Commits on May 4, 2017
  1. Clarify secure context requirements

    This clarifies the secure context requirements by removing the unclear
    language about the localhost and loopback address requirements and
    defering to the secure contexts specification for them.
    
    Fixes #1125.
    jungkees committed May 4, 2017
Commits on Apr 29, 2017
  1. Delete an uninteded local file

    jungkees committed Apr 29, 2017
  2. Backport 20cf12d to V1

    jungkees committed Apr 29, 2017
  3. Handle deserialization failures in postMessage() (#1130)

    This is part of whatwg/html#2530; see related links there for more information. Closes #1116.
    
    Also makes some minor updates to stop referencing terms that have been removed from HTML.
    domenic committed with jungkees Apr 29, 2017
Commits on Apr 27, 2017
  1. Add acknowledgement for 7b810f6

    jungkees committed Apr 27, 2017
Commits on Apr 26, 2017
  1. Backport 7b810f6 to V1

    jungkees committed Apr 26, 2017
  2. Remove duplicate step from "Update" algorithm (#1132)

    The `Service-Worker` header is appended to the request's header list in
    a prior algorithm step.
    jugglinmike committed with jungkees Apr 26, 2017
  3. Ask for web-platform-tests in CONTRIBUTING.md (#1131)

    The wording is adapted from the WHATWG contributor guidelines:
    https://github.com/whatwg/meta/blob/master/CONTRIBUTING.md
    
    This is sometimes already happening:
    w3c/web-platform-tests#3449
    w3c/web-platform-tests#5628
    
    Drive-by: whitespace
    foolip committed with jungkees Apr 26, 2017