Source code

Revision control

Copy as Markdown

Other Tools

[sethtml-safety.tentative.html]
expected: [OK, CRASH]
[Testcase #0, setHTML("test)".]
expected: FAIL
[Testcase #1, setHTML("<p>Hello</p>)".]
expected: FAIL
[Testcase #2, setHTML("<div>Hello<script>World</script>xxx)".]
expected: FAIL
[Testcase #3, setHTML("<div>Hello<script>World</script>xxx)".]
expected: FAIL
[Testcase #4, setHTML("<svg>Hello<script>World</script>xxx)".]
expected: FAIL
[Testcase #5, setHTML("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)".]
expected: FAIL
[Testcase #6, setHTML("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)".]
expected: FAIL