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

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

Issue 11358159: Split ExtensionWebRequestApiTest.PostData into two (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/test_post1.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_post1.js b/chrome/test/data/extensions/api_test/webrequest/test_post1.js
new file mode 100644
index 0000000000000000000000000000000000000000..503b56385335c927084f9b66b78519c4021abc8a
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webrequest/test_post1.js
@@ -0,0 +1,11 @@
+// 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.
+
+runTests([
+ // Navigates to a page with a form and submits it, generating a POST request.
+ // A form in default encoding (which is "urlencoded").
+ sendPost('no-enctype.html', true /*parseableForm*/),
+ // Urlencoded form.
+ sendPost('urlencoded.html', true /*parseableForm*/),
+]);

Powered by Google App Engine
This is Rietveld 408576698