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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/requestBody/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: No change in code, but with a patch generated without copy detection Created 8 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/webrequest/requestBody/urlencoded.html
diff --git a/chrome/test/data/extensions/api_test/webrequest/requestBody/urlencoded.html b/chrome/test/data/extensions/api_test/webrequest/requestBody/urlencoded.html
new file mode 100644
index 0000000000000000000000000000000000000000..812b8343e72f38213600119ab20ad98d78a65ac6
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrequest/requestBody/urlencoded.html
@@ -0,0 +1,31 @@
+<!--
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
+ * source code is governed by a BSD-style license that can be found in the
+ * LICENSE file.
+-->
+<html>
+ <body>
+ <script src="submit.js"></script>
+ <div>
+ <form action="nonExistingTarget.html" method="POST" enctype="application/x-www-form-urlencoded">
+ <input name='text"1ěšý人
+ &#x0d;&#x0a;' type="text" value="TEST_TEXT_1" />
+ <input name="text2" type="text" value="TEST_TEXT_2" />
+ <input name="text3" type="text" value="TEST_TEXT_3" />
+ <input name="password" type="password" value="password" />
+ <input name="radio" type="radio" value="Yes" checked /> Yes
+ <input name="radio" type="radio" value="No" /> No
+ <input name="check" type="checkbox" value="option_A" checked /> A
+ <input name="check" type="checkbox" value="option_B" /> B
+ <textarea name="txtarea" rows="2" cols="20">text"1ěšý人
+ &#x0d;&#x0a;</textarea>
+ <select name="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