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

Unified Diff: content/test/data/form_that_posts_cross_site.html

Issue 2062523002: Fixing renderer's access to a file from HTTP POST (after a xsite transfer). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the new (redundant) access check from RDHI. Created 4 years, 6 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
Index: content/test/data/form_that_posts_cross_site.html
diff --git a/content/test/data/form_that_posts_cross_site.html b/content/test/data/form_that_posts_cross_site.html
new file mode 100644
index 0000000000000000000000000000000000000000..6317347e9d004f921ef2e85fb6122491a7c1d4ad
--- /dev/null
+++ b/content/test/data/form_that_posts_cross_site.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head></head>
+ <body>
+ <form id="text-form" method="POST" action="/cross-site-307/x.com/echoall">
+ <input type="text" id="text" name="text" value="value">
+ <input type="submit">
+ </form>
+ <form id="file-form" method="POST" action="/cross-site-307/x.com/echoall"
+ enctype="multipart/form-data">
+ <input type="file" id="file" name="file">
+ <input type="submit">
+ </form>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698