fune/browser/components/sessionstore
Valentin Gosu 982bdfbbbd Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

Differential Revision: https://phabricator.services.mozilla.com/D48715

--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00
..
content Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb 2019-09-26 16:22:41 +00:00
test Bug 1576714 - Part 6: Remove now-passing fail-if, r=kmag 2019-10-15 16:19:20 +00:00
ContentRestore.jsm Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs 2019-08-21 13:28:23 +00:00
ContentSessionStore.jsm Bug 1549975 - Implement SessionStorageListener for contentSessionStore in C++ r=peterv,mikedeboer 2019-08-27 14:47:27 +00:00
GlobalState.jsm
jar.mn
moz.build
RecentlyClosedTabsAndWindowsMenuUtils.jsm Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8 2019-09-14 09:39:26 +00:00
RunState.jsm
SessionCookies.jsm
SessionFile.jsm
SessionMigration.jsm
SessionSaver.jsm
SessionStartup.jsm
SessionStore.jsm Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika 2019-10-22 08:02:16 +00:00
SessionWorker.js
SessionWorker.jsm
StartupPerformance.jsm
TabAttributes.jsm
TabState.jsm
TabStateCache.jsm
TabStateFlusher.jsm