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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/postData/submit.js

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/submit.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/postData/submit.js b/chrome/test/data/extensions/api_test/webrequest/postData/submit.js
new file mode 100644
index 0000000000000000000000000000000000000000..434d39acf1af2810ce66fda78a41c7804f403f90
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrequest/postData/submit.js
@@ -0,0 +1,4 @@
+function submitForm() {
+ document.forms[0].submit();
+}
+window.onload = submitForm;

Powered by Google App Engine
This is Rietveld 408576698