-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the built-on-push with a shell script that committers are meant to manually run pre commit. Reason are errors on GitHub actions: https://github.com/WICG/sanitizer-api/actions/runs/12810876107/job/35718920474
- Loading branch information
1 parent
ebdfd9e
commit fbdaa30
Showing
5 changed files
with
653 additions
and
9 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/.project | ||
/out | ||
/*.ninja* | ||
/builtins/safe-default-configuration.json | ||
/builtins/safe-baseline-configuration-materialized.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
# Generate safe-default-configuration.json | ||
python3 builtins/safe-default-configuration.py --input builtins/safe-default-configuration.txt --out builtins/safe-default-configuration.json | ||
# Generate safe-baseline-configuration-materialized.json | ||
python3 builtins/safe-baseline-configuration.py --input builtins/safe-baseline-configuration.json --event-handlers builtins/event-handler-content-attributes.txt --out builtins/safe-baseline-configuration-materialized.json | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"removeElements": [ | ||
{ | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"name": "script" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"name": "frame" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"name": "iframe" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"name": "object" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/1999/xhtml", | ||
"name": "embed" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/2000/svg", | ||
"name": "script" | ||
}, | ||
{ | ||
"namespace": "http://www.w3.org/2000/svg", | ||
"name": "use" | ||
} | ||
], | ||
"removeAttributes": [ | ||
"onafterprint", | ||
"onauxclick", | ||
"onbeforeinput", | ||
"onbeforematch", | ||
"onbeforeprint", | ||
"onbeforeunload", | ||
"onbeforetoggle", | ||
"onblur", | ||
"oncancel", | ||
"oncanplay", | ||
"oncanplaythrough", | ||
"onchange", | ||
"onclick", | ||
"onclose", | ||
"oncontextlost", | ||
"oncontextmenu", | ||
"oncontextrestored", | ||
"oncopy", | ||
"oncuechange", | ||
"oncut", | ||
"ondblclick", | ||
"ondrag", | ||
"ondragend", | ||
"ondragenter", | ||
"ondragleave", | ||
"ondragover", | ||
"ondragstart", | ||
"ondrop", | ||
"ondurationchange", | ||
"onemptied", | ||
"onended", | ||
"onerror", | ||
"onfocus", | ||
"onformdata", | ||
"onhashchange", | ||
"oninput", | ||
"oninvalid", | ||
"onkeydown", | ||
"onkeypress", | ||
"onkeyup", | ||
"onlanguagechange", | ||
"onload", | ||
"onloadeddata", | ||
"onloadedmetadata", | ||
"onloadstart", | ||
"onmessage", | ||
"onmessageerror", | ||
"onmousedown", | ||
"onmouseenter", | ||
"onmouseleave", | ||
"onmousemove", | ||
"onmouseout", | ||
"onmouseover", | ||
"onmouseup", | ||
"onoffline", | ||
"ononline", | ||
"onpagehide", | ||
"onpagereveal", | ||
"onpageshow", | ||
"onpageswap", | ||
"onpaste", | ||
"onpause", | ||
"onplay", | ||
"onplaying", | ||
"onpopstate", | ||
"onprogress", | ||
"onratechange", | ||
"onreset", | ||
"onresize", | ||
"onrejectionhandled", | ||
"onscroll", | ||
"onscrollend", | ||
"onsecuritypolicyviolation", | ||
"onseeked", | ||
"onseeking", | ||
"onselect", | ||
"onslotchange", | ||
"onstalled", | ||
"onstorage", | ||
"onsubmit", | ||
"onsuspend", | ||
"ontimeupdate", | ||
"ontoggle", | ||
"onunhandledrejection", | ||
"onunload", | ||
"onvolumechange", | ||
"onwaiting", | ||
"onwheel" | ||
] | ||
} |
Oops, something went wrong.