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

Unified Diff: content/public/common/content_switches.cc

Issue 18254010: IPC fuzzer child process component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: replace ShouldKillChildProcessOnBadMessage with --disable-kill-after-bad-ipc Created 7 years, 4 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: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 36f707f621d55e03fd3235ff55b1dbeb8fc9458a..6137179afc01e95014e6b642a2192812a790b7e6 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -201,6 +201,11 @@ const char kDisableJava[] = "disable-java";
// Don't execute JavaScript (browser JS like the new tab page still runs).
const char kDisableJavaScript[] = "disable-javascript";
+// Don't kill a child process when it sends a bad IPC message. Apart
+// from testing, it is a bad idea from a security perspective to enable
+// this switch.
+const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc";
+
// Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media";

Powered by Google App Engine
This is Rietveld 408576698