| Index: tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart
|
| diff --git a/tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart b/tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart
|
| index 4d7d338393c0cd11ac0cd3648f5dc545e8f76381..6859e8734dd61f9cdb9a0613cf37788c0af77dbb 100644
|
| --- a/tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart
|
| +++ b/tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart
|
| @@ -116,6 +116,14 @@ main() {
|
| validator,
|
| '<span>![CDATA[ some text ]]></span>');
|
|
|
| + testHtml('backquotes not removed',
|
| + validator,
|
| + '<img src="dice.png" alt="``onload=xss()" />');
|
| +
|
| + testHtml('0x3000 not removed',
|
| + validator,
|
| + '<a href=" javascript:alert(1)">CLICKME</a>');
|
| +
|
| test('sanitizes template contents', () {
|
| if (!TemplateElement.supported) return;
|
|
|
|
|