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

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 final feedback Created 4 years 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 | « third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0fc79087984117e56fe153f9bebb588d5ad680a9
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/frameserialization/script_in_attributes.html
@@ -0,0 +1,12 @@
+<html>
+<meta charset="utf8">
+<body ONLOAD="foo();">
+<a class="link" 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>
+<iframe srcdoc="&lt;body&gt;Subframe&lt;/body&gt;"></iframe> <br/>
+</body>
+</html>
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698