for #46: add firstparty.isolate variation(s)

This commit is contained in:
groovecoder 2017-07-05 12:28:11 -05:00
Родитель 4c3f9f552c
Коммит 850948a7f3
2 изменённых файлов: 16 добавлений и 1 удалений

Просмотреть файл

@ -45,6 +45,16 @@ const breakageRadioOptions = {
{'value': 'flash', 'label': 'Flash'},
{'value': 'screen', 'label': 'Window size'},
{'value': 'other', 'label': 'Something else'}
],
'firstPartyIsolation': [
{'value': 'login-failure', 'label': 'Could not sign in.'},
{'value': 'social-failure', 'label': 'Could not share, like, or tweet.'},
{'value': 'other', 'label': 'Something else'}
],
'firstPartyIsolationOpenerAccess': [
{'value': 'login-failure', 'label': 'Could not sign in.'},
{'value': 'social-failure', 'label': 'Could not share, like, or tweet.'},
{'value': 'other', 'label': 'Something else'}
]
}
const searchParams = new URL(window.location).searchParams

Просмотреть файл

@ -21,7 +21,12 @@ const studyConfig = {
'thirdPartyCookiesOnlyFromVisited': () => feature.studyPref('network.cookie.cookieBehavior', 3),
'trackingProtection': () => feature.studyPref('privacy.trackingprotection.enabled', true),
'originOnlyRefererToThirdParties': () => feature.studyPref('network.http.referer.XOriginTrimmingPolicy', 2),
'resistFingerprinting': () => feature.studyPref('privacy.resistFingerprinting', true)
'resistFingerprinting': () => feature.studyPref('privacy.resistFingerprinting', true),
'firstPartyIsolation': () => feature.studyPref('privacy.firstparty.isolate', true),
'firstPartyIsolationOpenerAccess': () => {
feature.studyPref('privacy.firstparty.isolate', true)
feature.studyPref('privacy.firstparty.isolate.restrict_opener_access', false)
}
}
};