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

Hide nonce content attribute values. (#2369) #2373

Merged
merged 12 commits into from Nov 22, 2017
Merged

Hide nonce content attribute values. (#2369) #2373

merged 12 commits into from Nov 22, 2017

Commits on Apr 7, 2017

  1. Hide 'nonce' content attributes.

    This patch extracts the 'nonce' attribute out to a generic definition in
    the "Fetching resources" section (alongside "CORS settings attributes",
    etc.), and defines some new behaviors with the intent of reducing the
    risk of side-channel leakage of the nonce's value.
    
    In short, the nonce value is extracted from the content attribute when
    the element is inserted into the DOM, and put into an internal slot. The
    content attribute's value is set to the empty string.
    
    From then on, the slot's value and the content attribute's value are
    disconnected; alterations to one have no effect on the other, and
    vice-versa.
    
    The nonce's value is available to script via the `nonce` IDL attribute,
    and so can be propagated just as today.
    
    Addresses #2369.
    mikewest committed Apr 7, 2017
    Copy the full SHA
    e1fe3e9 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. Copy the full SHA
    7c2ecca View commit details
    Browse the repository at this point in the history

Commits on May 4, 2017

  1. Copy the full SHA
    5fce306 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2017

  1. fixup HTMLElement.

    mikewest committed May 5, 2017
    Copy the full SHA
    84e0e9b View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. Copy the full SHA
    51e0a2a View commit details
    Browse the repository at this point in the history

Commits on May 24, 2017

  1. Copy the full SHA
    ba33b18 View commit details
    Browse the repository at this point in the history
  2. fixup ordering

    mikewest committed May 24, 2017
    Copy the full SHA
    0eccfe5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2017

  1. fixup new approach

    mikewest committed May 25, 2017
    Copy the full SHA
    218badf View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Copy the full SHA
    c8f5419 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1a78955 View commit details
    Browse the repository at this point in the history
  3. fixup @annevk feedback

    mikewest committed Nov 15, 2017
    4
    Copy the full SHA
    67f38c6 View commit details
    Browse the repository at this point in the history
  4. fixup @annvk's feedback II.

    mikewest committed Nov 15, 2017
    Copy the full SHA
    d628a08 View commit details
    Browse the repository at this point in the history