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

Unified Diff: chrome/test/data/extensions/api_test/browser_action/popup_with_form/popup.html

Issue 2352083003: Allow top-level navigation in extension pop-ups if it only triggers a download. (Closed)
Patch Set: Changed bug reference (in a TODO comment) to a fresh bug. Created 4 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
Index: chrome/test/data/extensions/api_test/browser_action/popup_with_form/popup.html
diff --git a/chrome/test/data/extensions/api_test/browser_action/popup_with_form/popup.html b/chrome/test/data/extensions/api_test/browser_action/popup_with_form/popup.html
new file mode 100644
index 0000000000000000000000000000000000000000..062c8d3b2a5edc6863b62436a5638c04f78bb5d7
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/browser_action/popup_with_form/popup.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <script src="popup.js"></script>
+</head>
+<body>
+ <div>This popup contains a frame that triggers a POST navigation.</div>
+ <form id="form" method="POST" action="other_page.html">
+ Test field:
+ <input name="test-field" type="text" value="test-value">
+ <input type="submit" value="Submit">
+ </form>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698