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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/postData/urlencoded.html

Issue 10694055: Add read-only access to POST data for webRequest's onBeforeRequest (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Deleting a forgotten comment Created 8 years, 5 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/webrequest/postData/urlencoded.html
diff --git a/chrome/test/data/extensions/api_test/webrequest/postData/urlencoded.html b/chrome/test/data/extensions/api_test/webrequest/postData/urlencoded.html
new file mode 100644
index 0000000000000000000000000000000000000000..8822bcd0a43b431b59aa4e43a2ad7d3569ffa3fc
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrequest/postData/urlencoded.html
@@ -0,0 +1,30 @@
+<html>
+ <body>
+ <script src="submit.js"></script>
+ <div>
+ <form action="nonExistingTarget.html" method="POST" enctype="application/x-www-form-urlencoded">
+ <input name="text1" id="text1" type="text" value="TEST_TEXT_1" />
+ <!--
+ <label for="file1">Filename:</label>
+ <input name="file1" id="file1" type="file" />
+ <label for="file2">Filename:</label>
+ <input name="file2" id="file2" type="file" />
+ -->
battre 2012/07/11 12:28:43 delete?
vabr (Chromium) 2012/07/12 15:13:11 Done.
+ <input name="text2" id="text2" type="text" value="TEST_TEXT_2" />
+ <input name="text3" id="text3" type="text" value="TEST_TEXT_3" />
+ <input name="pw" id="pw" type="password" value="pw" />
+ <input name="radio" id="radio" type="radio" value="Yes" checked /> Yes
+ <input name="radio" id="radio" type="radio" value="No" /> No
+ <input name="chck" id="chck" type="checkbox" value="option_A" checked /> A
+ <input name="chck" id="chck" type="checkbox" value="option_B" /> B
+ <textarea name="txtarea" id="txtarea" rows="2" cols="20">Text</textarea>
+ <select name="select" id="select">
+ <option value="one">one</option>
+ <option value="two">two</option>
+ <option value="three">three</option>
+ </select>
+ <input type="submit" />
+ </form>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698