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

Raise the bar for SharedArrayBuffer via postMessage() #4734

Merged
merged 5 commits into from
Jul 8, 2020

Commits on Jun 29, 2020

  1. Add the cross-origin isolated primitive

    A top-level navigation response with Cross-Origin-Opener-Policy set to same-origin and Cross-Origin-Embedder-Policy set to require-corp will create a cross-origin isolated browsing context group. And all agent clusters therein will be cross-origin isolated as well (shared and service workers can still not be, as they sit on the side).
    
    This change also:
    
    * Gates SharedArrayBuffer exposure behind that primitive for web compatibility reasons.
    * Gates SharedArrayBuffer sharing behind that primitive.
    * Exposes it through self.crossOriginIsolated.
    * Makes document.domain return before it mutates the origin.
    * Makes agent clusters keyed on origin.
    
    Tests:
    
    * web-platform-tests/wpt#17719
    * web-platform-tests/wpt#17760
    * web-platform-tests/wpt#17761
    * web-platform-tests/wpt#17802
    * web-platform-tests/wpt#17909
    * web-platform-tests/wpt#18543
    * web-platform-tests/wpt#20116
    * web-platform-tests/wpt#22358
    
    Closes #4732. Closes #5122. Closes #5444.
    
    Follow-up: #5435.
    annevk committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    50ebcb4 View commit details
    Browse the repository at this point in the history
  2. address feedback

    annevk committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    4e5a00c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. getter steps

    annevk committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    fd3f73a View commit details
    Browse the repository at this point in the history
  2. More precise SAB deletion

    domenic committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    522b16e View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. nit

    annevk committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    f1e41e5 View commit details
    Browse the repository at this point in the history