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

Unified Diff: third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html

Issue 2531163004: Remove attributes that contain javascript from MHTML (Closed)
Patch Set: Address feedback Created 4 years, 1 month 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
Index: third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html
diff --git a/third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html b/third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html
new file mode 100644
index 0000000000000000000000000000000000000000..36025de52697e28312df1ad3f0856e25c2ab89c2
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html
@@ -0,0 +1,11 @@
+<html>
+<meta charset="utf8">
+<body onload="foo();">
+<a href="javascript:foo();" onclick="bar();">Link</a>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <rect id="rect" height="100" fill="green">
+ <animate attributeName="width" from="javascript:foo();" to="javascript:bar();" />
+ </rect>
+</svg>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698