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

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

Issue 1144253003: Remove --enable-strict-site-isolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Charlie's fixes Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_frame_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; 430 const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
431 431
432 // Enables implementation of the Cache-Control: stale-while-revalidate directive 432 // Enables implementation of the Cache-Control: stale-while-revalidate directive
433 // which permits servers to allow the use of stale resources while revalidation 433 // which permits servers to allow the use of stale resources while revalidation
434 // proceeds in the background. 434 // proceeds in the background.
435 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; 435 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
436 436
437 // Enables StatsTable, logging statistics to a global named shared memory table. 437 // Enables StatsTable, logging statistics to a global named shared memory table.
438 const char kEnableStatsTable[] = "enable-stats-table"; 438 const char kEnableStatsTable[] = "enable-stats-table";
439 439
440 // Experimentally ensures that each renderer process:
441 // 1) Only handles rendering for pages from a single site, apart from iframes.
442 // (Note that a page can reference content from multiple origins due to images,
443 // JavaScript files, etc. Cross-site iframes are also loaded in-process.)
444 // 2) Only has authority to see or use cookies for the page's top-level origin.
445 // (So if a.com iframes b.com, the b.com network request will be sent without
446 // cookies.)
447 // This is expected to break compatibility with many pages for now. Unlike the
448 // --site-per-process flag, this allows cross-site iframes, but it blocks all
449 // cookies on cross-site requests.
450 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation";
451
452 // Blocks all insecure requests from secure contexts, and prevents the user 440 // Blocks all insecure requests from secure contexts, and prevents the user
453 // from overriding that decision. 441 // from overriding that decision.
454 const char kEnableStrictMixedContentChecking[] = 442 const char kEnableStrictMixedContentChecking[] =
455 "enable-strict-mixed-content-checking"; 443 "enable-strict-mixed-content-checking";
456 444
457 // Blocks insecure usage of number of powerful features (geolocation, for 445 // Blocks insecure usage of number of powerful features (geolocation, for
458 // example) that we haven't yet deprecated for the web at large. 446 // example) that we haven't yet deprecated for the web at large.
459 const char kEnableStrictPowerfulFeatureRestrictions[] = 447 const char kEnableStrictPowerfulFeatureRestrictions[] =
460 "enable-strict-powerful-feature-restrictions"; 448 "enable-strict-powerful-feature-restrictions";
461 449
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 // Defaults to disabled. 730 // Defaults to disabled.
743 const char kScrollEndEffect[] = "scroll-end-effect"; 731 const char kScrollEndEffect[] = "scroll-end-effect";
744 732
745 // Visibly render a border around paint rects in the web page to help debug 733 // Visibly render a border around paint rects in the web page to help debug
746 // and study painting behavior. 734 // and study painting behavior.
747 const char kShowPaintRects[] = "show-paint-rects"; 735 const char kShowPaintRects[] = "show-paint-rects";
748 736
749 // Runs the renderer and plugins in the same process as the browser 737 // Runs the renderer and plugins in the same process as the browser
750 const char kSingleProcess[] = "single-process"; 738 const char kSingleProcess[] = "single-process";
751 739
752 // Experimentally enforces a one-site-per-process security policy. 740 // Enforces a one-site-per-process security policy:
753 // All cross-site navigations force process swaps, and we can restrict a 741 // * Each renderer process, for its whole lifetime, is dedicated to rendering
754 // renderer process's access rights based on its site. For details, see: 742 // pages for just one site.
743 // * Thus, pages from different sites are never in the same process.
744 // * A renderer process's access rights are restricted based on its site.
745 // * All cross-site navigations force process swaps.
746 // * <iframe>s are rendered out-of-process whenever the src= is cross-site.
747 //
748 // More details here:
755 // http://www.chromium.org/developers/design-documents/site-isolation 749 // http://www.chromium.org/developers/design-documents/site-isolation
756 //
757 // Unlike --enable-strict-site-isolation (which allows cross-site iframes),
758 // this flag does not affect which cookies are attached to cross-site requests.
759 // Support is being added to render cross-site iframes in a different process
760 // than their parent pages.
761 const char kSitePerProcess[] = "site-per-process"; 750 const char kSitePerProcess[] = "site-per-process";
762 751
763 // Skip gpu info collection, blacklist loading, and blacklist auto-update 752 // Skip gpu info collection, blacklist loading, and blacklist auto-update
764 // scheduling at browser startup time. 753 // scheduling at browser startup time.
765 // Therefore, all GPU features are available, and about:gpu page shows empty 754 // Therefore, all GPU features are available, and about:gpu page shows empty
766 // content. The switch is intended only for layout tests. 755 // content. The switch is intended only for layout tests.
767 // TODO(gab): Get rid of this switch entirely. 756 // TODO(gab): Get rid of this switch entirely.
768 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; 757 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
769 758
770 // Specifies if the browser should start in fullscreen mode, like if the user 759 // Specifies if the browser should start in fullscreen mode, like if the user
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 // Windows Vista and later. 1004 // Windows Vista and later.
1016 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1005 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1017 #endif 1006 #endif
1018 1007
1019 // Enables the use of NPAPI plugins. 1008 // Enables the use of NPAPI plugins.
1020 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; 1009 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing";
1021 1010
1022 // Don't dump stuff here, follow the same order as the header. 1011 // Don't dump stuff here, follow the same order as the header.
1023 1012
1024 } // namespace switches 1013 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698