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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_post.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_post.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_post.js b/chrome/test/data/extensions/api_test/webrequest/test_post.js
index 46268a5cd3ccbb072337553c52d37c1c342b916a..7368b7b6a817f18ab87616750e37e0ac3c965979 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_post.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_post.js
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Common definitions for test_post?.js.
+
var dirName = "requestBody/";
function sendPost(formFile, parseableForm) {
@@ -128,14 +130,3 @@ function sendPost(formFile, parseableForm) {
navigateAndWait(getURL(dirName + formFile));
}
}
-
-runTests([
- // Navigates to a page with a form and submits it, generating a POST request.
- // First two result in url-encoded form.
- sendPost('no-enctype.html', true),
- sendPost('urlencoded.html', true),
- // Third results in multipart-encoded form.
- sendPost('multipart.html', true),
- // Fourth results in unparseable form, and thus raw data string.
- sendPost('plaintext.html', false),
-]);

Powered by Google App Engine
This is Rietveld 408576698