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

Alternate take for script enforcement. #236

Merged
merged 3 commits into from
Nov 20, 2019
Merged

Commits on Nov 20, 2019

  1. Alternate take for script enforcement. whatwg/dom#789 and whatwg/html…

    …#3052
    
    As proposed by @annevk, add slots for script URL / text, populate them
    when calling sink functions, and verify them when a script is prepared,
    optionally running a default policy on a value read from the DOM if
    it's different than the slot value.
    
    It avoids integration points with DOM mutation algorithms, but we still
    need to support script.setAttribute('src').
    koto committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    bc44ee8 View commit details
    Browse the repository at this point in the history
  2. Fix reviewer's comments.

    koto committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    dc28723 View commit details
    Browse the repository at this point in the history
  3. Adding a note to DOM issue.

    koto committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    ebf809d View commit details
    Browse the repository at this point in the history