Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1823)

Unified Diff: tests/html/node_validator_important_if_you_suppress_make_the_bug_critical_test.dart

Issue 1365093003: Fix node_validator xss tests for IE and Firefox (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/src/Html5NodeValidator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e5c5622f79171c1561da1aeedbf5f204104b411d..4d7d338393c0cd11ac0cd3648f5dc545e8f76381 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
@@ -298,7 +298,7 @@ main() {
..allowElement(
'a',
attributes: ['href']);
-
+
testHtml('reject different-origin link',
validator,
'<a href="http://www.google.com/foo">Google-Foo</a>',
@@ -511,7 +511,7 @@ main() {
testHtml('DOM clobbering of attributes with single node',
validator,
- "<form onmouseover='alert(1)'><input name='attributes'>",
+ "<form id='single_node_clobbering' onmouseover='alert(1)'><input name='attributes'>",
"");
testHtml('DOM clobbering of attributes with multiple nodes',
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/src/Html5NodeValidator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698