This repository has been archived by the owner on Jul 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 548
[Large] Port dependent changes for CSP (and other good stuff) from WHATWG #387
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Had to adapt "resulting URL record" -> "resulting parsed URL" (will fix with changes to 2.5.2 eventually)
Also fix typo 'teh'
Importing dependent changes since last sync of WHATWG in mid-Jan. Added JS-related terms
and reorders a few sections to match WHATWG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 820 200"> | ||
<style><![CDATA[ | ||
<?xml version="1.0"?> | ||
<svg width="820" height="140" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to viewBox
and remove width
and height
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
3. If the <a>origin</a> of <var>url</var> is not the same as the <a>origin</a> of | ||
<var>document</var>, throw a <code>SecurityError</code> exception and abort these steps. | ||
2. <a>Parse</a> <var>url</var>, relative to the <a>entry settings object</a>. If this is not | ||
successful, throw a "<code>SyntaxError</code>" {{DOMException}} and abort these steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to {{SyntaxError}}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed all occurrences in the spec to link as such.
W3C-HTML-Bot
pushed a commit
that referenced
this pull request
May 16, 2016
…nd other good stuff) from WHATWG (#387)
edent
added a commit
that referenced
this pull request
Feb 17, 2018
This was originally added by #387 in response to #186 and was ported over from whatwg/html@882803c We currently don't have a `style/nonce` nor `script/nonce`- neither do WHATWG. `nonce` is already covered by `global`. * Re whatwg/html#2373 * Re https://github.com/whatwg/html/pull/2373/files#r117354683 * Fixes #1215
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Validated fixes:
HostEnsureCanCompileStrings
#189 (Adds HostEnsureCanCompileStrings)Document
's CSP list" during document init. #188 (Initializes a “Document CSP list” during doc init)<script nonce="...">
&&<style nonce="...">
are missing. #186 (Adding script/style nonce IDL and content attributes)<meta>
processing. #184 Meta Processing mysteriously vanished; now restored