Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify active service worker inheritance #2080

Closed
wants to merge 3 commits into from

Commits on Jan 23, 2017

  1. Specify active service worker inheritance

    This adds steps to make clients that have creator browsing contexts to
    inherit the active service worker from their creators. While they have
    an initial inherited active service worker, if one exists, navigation
    matching still always wins. So, if the navigation goes through HTTP
    fetch, the inherited active service worker is replaced by the matched
    result. Also, if an iframe has a sandbox attribute set without
    allow-same-origin token, the inherited active service worker is set to
    null.
    
    Related issue: w3c/ServiceWorker#765.
    jungkees committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    54ee308 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa7348d View commit details
    Browse the repository at this point in the history
  3. Clean up steps and add more guards for about:blank Document cases

     - Move the initial inheritance into the non navigate fetch case
     - Add steps to handle about:blank Document cases
      . When navigating an iframe with the initial about:blank Document, use
        the matched SW if it has one.
      . When navigating an iframe to a non-initial about:blank Document,
        inherit the parent's SW if it has a parent.
    jungkees committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c380a5f View commit details
    Browse the repository at this point in the history