Bug 1529004 - Add browser.tabs.remote.useCrossOriginOpenerPolicy to all.js r=nika
authorValentin Gosu <valentin.gosu@gmail.com>
Tue, 26 Feb 2019 18:54:47 +0000
changeset 519140 948362bfcaf31849df085dde4967379d4d50a8bc
parent 519139 70eb46335a2ca23516774624f7ce1cbe34de56ea
child 519141 9d7e38697deec620a5cd00ca4c39912526107909
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnika
bugs1529004
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1529004 - Add browser.tabs.remote.useCrossOriginOpenerPolicy to all.js r=nika Differential Revision: https://phabricator.services.mozilla.com/D21232
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -3402,16 +3402,20 @@ pref("browser.tabs.remote.separateFileUr
 // This has been added in case breaking any window references between these
 // sorts of pages, which we have to do when we run them in the normal web
 // content process, causes compatibility issues.
 pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", true);
 
 // Pref to control whether we use separate privileged content processes.
 pref("browser.tabs.remote.separatePrivilegedContentProcess", false);
 
+// When this pref is enabled top level loads with a mismatched
+// Cross-Origin-Opener-Policy header will be loaded in a separate process.
+pref("browser.tabs.remote.useCrossOriginOpenerPolicy", false);
+
 // Enable the use of display-lists for SVG hit-testing and painting.
 pref("svg.display-lists.hit-testing.enabled", true);
 pref("svg.display-lists.painting.enabled", true);
 
 // Is support for the new getBBox method from SVG 2 enabled?
 // See https://svgwg.org/svg2-draft/single-page.html#types-SVGBoundingBoxOptions
 pref("svg.new-getBBox.enabled", false);