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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_apitest.cc

Issue 12077029: Removing the Dev channel restriction for requestBody of Web Request API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/browser/extensions/api/web_request/web_request_apitest.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_apitest.cc b/chrome/browser/extensions/api/web_request/web_request_apitest.cc
index 66cebfb4e6e0a3cc56109dac9ff2df8e6d7dfd00..b7122bb2283ca9e1ca0df4b6d9413ce2ecceea37 100644
--- a/chrome/browser/extensions/api/web_request/web_request_apitest.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_apitest.cc
@@ -245,16 +245,12 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebRequestApiTest,
}
IN_PROC_BROWSER_TEST_F(ExtensionWebRequestApiTest, PostData1) {
- // Request body access is only enabled on dev (and canary).
- Feature::ScopedCurrentChannel sc(chrome::VersionInfo::CHANNEL_DEV);
// Test HTML form POST data access with the default and "url" encoding.
ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_post1.html")) <<
message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionWebRequestApiTest, PostData2) {
- // Request body access is only enabled on dev (and canary).
- Feature::ScopedCurrentChannel sc(chrome::VersionInfo::CHANNEL_DEV);
// Test HTML form POST data access with the multipart and plaintext encoding.
ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_post2.html")) <<
message_;

Powered by Google App Engine
This is Rietveld 408576698