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

Unified Diff: third_party/WebKit/Source/web/tests/data/pageserialization/url_attribute_values.html

Issue 1398453005: Make WebPageSerializerImpl to escape URL attribute values in result. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2015-10-13T17:56:56 Rebase Created 5 years, 2 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 | « third_party/WebKit/Source/web/tests/WebPageSerializerTest.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/pageserialization/url_attribute_values.html
diff --git a/third_party/WebKit/Source/web/tests/data/pageserialization/url_attribute_values.html b/third_party/WebKit/Source/web/tests/data/pageserialization/url_attribute_values.html
new file mode 100644
index 0000000000000000000000000000000000000000..366d6166c82176d2cb1411e438f84978af588e36
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/pageserialization/url_attribute_values.html
@@ -0,0 +1,4 @@
+<meta charset="utf8">
+<img src='javascript:"'>
+<a href='local#"'>local</a>
+<a href="http://www.example.com/#&quot;&gt;&lt;script&gt;alert(0)&lt;/script&gt;">external</a>
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebPageSerializerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698