-
Notifications
You must be signed in to change notification settings - Fork 79
Change Script Enforcement Mechanism to use flags #579
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
base: main
Are you sure you want to change the base?
Conversation
This still requires changes to deal with the issues related to children changed steps being fired by parser. |
Also add SVGScriptElement to spec
05fda45
to
11456d2
Compare
|
||
1. Set [=this=]'s [=SVGScriptElement/is trusted=] to false. | ||
|
||
1. Run the {{SVGScriptElement|script}} [=post-connection steps=], given [=this=]. |
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.
Does SVG even have this?
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.
SVG has very little but we can add a note that we assume it has the same as HTML script has.
Opened #581 to at least add SVG to the existing spec while this bit is still to be worked out. |
<li>... | ||
</ol> | ||
|
||
Issue: There's no proper definition for the processing of SVG script elements. However, you should apply a similar change to the processing of {{SVGScriptElement}}s. |
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.
Can we mention the sink name explicitly? WebKit uses "SVGScriptElement text": https://searchfox.org/wubkat/rev/d1661224f525bf15e34fde4eafe9de09b92c864b/Source/WebCore/dom/ScriptElement.cpp#192
Also add SVGScriptElement to spec
Preview | Diff