mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1609078 - Removed browser.tabs.remote.useCORP r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66861 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
bb72ba681a
commit
7b0de70e19
@ -1012,15 +1012,6 @@
|
||||
#endif
|
||||
mirror: always
|
||||
|
||||
# When this pref is enabled, the browser will check no-cors responses that
|
||||
# have the Cross-Origin-Resource-Policy header and will fail the request if
|
||||
# the origin of the resource's loading document doesn't match the origin
|
||||
# (or base domain) of the loaded resource.
|
||||
- name: browser.tabs.remote.useCORP
|
||||
type: bool
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
# The percentage of the screen that needs to be scrolled before toolbar
|
||||
# manipulation is allowed.
|
||||
- name: browser.ui.scroll-toolbar-threshold
|
||||
|
@ -7666,10 +7666,6 @@ nsresult nsHttpChannel::ProcessCrossOriginEmbedderPolicyHeader() {
|
||||
|
||||
// https://mikewest.github.io/corpp/#corp-check
|
||||
nsresult nsHttpChannel::ProcessCrossOriginResourcePolicyHeader() {
|
||||
if (!StaticPrefs::browser_tabs_remote_useCORP()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Fetch 4.5.9
|
||||
uint32_t corsMode;
|
||||
MOZ_ALWAYS_SUCCEEDS(GetCorsMode(&corsMode));
|
||||
|
@ -1 +0,0 @@
|
||||
prefs: [browser.tabs.remote.useCORP:true]
|
@ -1,2 +1,2 @@
|
||||
prefs: [browser.tabs.remote.useCrossOriginEmbedderPolicy:true, browser.tabs.remote.useCORP:true]
|
||||
prefs: [browser.tabs.remote.useCrossOriginEmbedderPolicy:true]
|
||||
lsan-allowed: [Alloc, Malloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::dom::ServiceWorkerJobQueue::RunJob, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator]
|
||||
|
Loading…
Reference in New Issue
Block a user