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

Unified Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 888903004: Non-SFI mode:Suid sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add --disable-namespace-sandbox flag to browser tests temporarily. Created 5 years, 10 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/ppapi/ppapi_browsertest.cc
diff --git a/chrome/test/ppapi/ppapi_browsertest.cc b/chrome/test/ppapi/ppapi_browsertest.cc
index be5a136f3da369797e0dbb3f17e9e775c0852b47..3334f261f8327f7c60bedf2e142935c553347b19 100644
--- a/chrome/test/ppapi/ppapi_browsertest.cc
+++ b/chrome/test/ppapi/ppapi_browsertest.cc
@@ -19,6 +19,7 @@
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/nacl/common/nacl_switches.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/javascript_test_observer.h"
#include "content/public/test/test_renderer_host.h"
@@ -1349,6 +1350,8 @@ class TransitionalNonSfiPackagedAppTest : public NonSfiPackagedAppTest {
void SetUpCommandLine(base::CommandLine* command_line) override {
NonSfiPackagedAppTest::SetUpCommandLine(command_line);
command_line->AppendSwitch(switches::kUseNaClHelperNonSfi);
+ // TODO(hidehiko): Remove this flag, when namespace sandbox is supported.
+ command_line->AppendSwitch(switches::kDisableNamespaceSandbox);
}
};

Powered by Google App Engine
This is Rietveld 408576698