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

Side by Side Diff: content/public/common/content_switches.cc

Issue 8496027: Enhance --enable-strict-site-isolation to prevent a site-isolated renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/site_instance.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // Cause the OS X sandbox write to syslog every time an access to a resource 238 // Cause the OS X sandbox write to syslog every time an access to a resource
239 // is denied by the sandbox. 239 // is denied by the sandbox.
240 const char kEnableSandboxLogging[] = "enable-sandbox-logging"; 240 const char kEnableSandboxLogging[] = "enable-sandbox-logging";
241 241
242 // Enable the seccomp sandbox (Linux only) 242 // Enable the seccomp sandbox (Linux only)
243 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox"; 243 const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox";
244 244
245 // Enables StatsTable, logging statistics to a global named shared memory table. 245 // Enables StatsTable, logging statistics to a global named shared memory table.
246 const char kEnableStatsTable[] = "enable-stats-table"; 246 const char kEnableStatsTable[] = "enable-stats-table";
247 247
248 // Experimentally ensure each renderer process has pages from only one site. 248 // Experimentally ensures that each renderer process:
249 // 1) Only handles rendering for a single page.
250 // (Note that a page can reference content from multiple origins due to images,
251 // iframes, etc).
252 // 2) Only has authority to see or use cookies for the page's top-level origin.
253 // (So if a.com iframe's b.com, the b.com network request will be sent without
254 // cookies).
249 // This is expected to break compatibility with many pages for now. 255 // This is expected to break compatibility with many pages for now.
250 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; 256 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation";
251 257
252 // Enable multithreaded GPU compositing of web content. 258 // Enable multithreaded GPU compositing of web content.
253 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 259 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
254 260
255 // Enable use of experimental TCP sockets API for sending data in the 261 // Enable use of experimental TCP sockets API for sending data in the
256 // SYN packet. 262 // SYN packet.
257 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 263 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
258 264
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 // instead of NSS for SSL. 549 // instead of NSS for SSL.
544 const char kUseSystemSSL[] = "use-system-ssl"; 550 const char kUseSystemSSL[] = "use-system-ssl";
545 #endif 551 #endif
546 552
547 #if !defined(OFFICIAL_BUILD) 553 #if !defined(OFFICIAL_BUILD)
548 // Causes the renderer process to throw an assertion on launch. 554 // Causes the renderer process to throw an assertion on launch.
549 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 555 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
550 #endif 556 #endif
551 557
552 } // namespace switches 558 } // namespace switches
OLDNEW
« no previous file with comments | « content/browser/site_instance.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698