Backed out changeset ced61db946ff (bug 1604212) for failing geckoview at WebExecutorTest.testAnonymous on a CLOSED TREE

This commit is contained in:
Andreea Pavel 2020-02-25 18:50:39 +02:00
Родитель 62b6d7d0b7
Коммит 8e5752950e
15 изменённых файлов: 16 добавлений и 27 удалений

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

@ -7005,18 +7005,18 @@
- name: network.cookie.sameSite.laxByDefault
type: bool
value: @IS_NIGHTLY_BUILD@
value: false
mirror: always
# lax-by-default 2 minutes tollerance for unsafe methods. The value is in seconds.
- name: network.cookie.sameSite.laxPlusPOST.timeout
type: uint32_t
value: 120
value: 0
mirror: always
- name: network.cookie.sameSite.noneRequiresSecure
type: bool
value: @IS_NIGHTLY_BUILD@
value: false
mirror: always
- name: network.cookie.thirdparty.sessionOnly

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

@ -186,11 +186,6 @@ void InitPrefs(nsIPrefBranch* aPrefBranch) {
aPrefBranch->SetIntPref(kPrefCookieQuotaPerHost, 49);
// Set the base domain limit to 50 so we have a known value.
aPrefBranch->SetIntPref(kCookiesMaxPerHost, 50);
// SameSite=none by default. We have other tests for lax-by-default.
// XXX: Bug 1617611 - Fix all the tests broken by "cookies sameSite=lax by
// default"
Preferences::SetBool("network.cookie.sameSite.laxByDefault", false);
}
TEST(TestCookie, TestCookieMain)

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

@ -1,6 +0,0 @@
// Base preferences file used by the mochitest
/* globals user_pref */
/* eslint quotes: 0 */
// XXX: Bug 1617611 - Fix all the tests broken by "cookies sameSite=lax by default"
user_pref("network.cookie.sameSite.laxByDefault", false);

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

@ -7,7 +7,6 @@
profile_files = [
'base/*',
'common/*',
'mochitest/*',
'perf/*',
'profiles.json',
'profileserver/*',

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

@ -1,6 +1,6 @@
{
"geckoview-junit": ["base", "common", "unittest-required", "unittest-features"],
"mochitest": ["base", "common", "unittest-required", "unittest-features", "mochitest"],
"mochitest": ["base", "common", "unittest-required", "unittest-features"],
"profileserver": ["base", "common", "unittest-required", "unittest-features", "profileserver"],
"raptor": ["base", "common", "perf", "raptor"],
"reftest": ["base", "common", "reftest"],

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

@ -28,5 +28,3 @@ user_pref("idle.lastDailyNotification", -1);
// Enable telemetry event ping during tests, even for geckoview, where it
// is normally disabled.
user_pref("toolkit.telemetry.eventping.enabled", true);
// XXX: Bug 1617611 - Fix all the tests broken by "cookies sameSite=lax by default"
user_pref("network.cookie.sameSite.laxByDefault", false);

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

@ -1,5 +1,4 @@
[fetch.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
[Cross-site redirecting to same-host fetches are strictly same-site]
expected: FAIL
@ -8,6 +7,7 @@
[fetch.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[Cross-site redirecting to same-host fetches are strictly same-site]
expected: FAIL

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

@ -1,4 +1,5 @@
[form-get-blank.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[Cross-site redirecting to subdomain top-level form GETs are strictly same-site]
expected: FAIL
@ -7,7 +8,6 @@
[form-get-blank.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
[Cross-site redirecting to subdomain top-level form GETs are strictly same-site]
expected: FAIL

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

@ -1,4 +1,5 @@
[form-post-blank-reload.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
expected:
if os == "android": TIMEOUT
ERROR
@ -13,7 +14,6 @@
[form-post-blank-reload.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
expected:
if os == "android": TIMEOUT
ERROR

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

@ -1,4 +1,5 @@
[form-post-blank.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[Cross-site redirecting to same-host top-level form POSTs are strictly same-site]
expected: FAIL
@ -7,7 +8,6 @@
[form-post-blank.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
[Cross-site redirecting to same-host top-level form POSTs are strictly same-site]
expected: FAIL

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

@ -1,5 +1,4 @@
[iframe-reload.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
expected:
if processor == "aarch64": ["OK", "CRASH"]
[Reloaded cross-site fetches are cross-site]
@ -8,6 +7,7 @@
[iframe-reload.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[Reloaded cross-site fetches are cross-site]
expected:
if fission: FAIL

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

@ -1,4 +1,5 @@
[iframe.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
expected:
if processor == "aarch64": ["OK", "CRASH"]
[Cross-site redirecting to same-host fetches are strictly same-site]
@ -9,7 +10,6 @@
[iframe.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
expected:
if processor == "aarch64": ["OK", "CRASH"]
[Cross-site redirecting to same-host fetches are strictly same-site]

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

@ -1,4 +1,5 @@
[img.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[Cross-site redirecting to same-host images are strictly same-site]
expected: FAIL
@ -7,7 +8,6 @@
[img.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]
[Cross-site redirecting to same-host images are strictly same-site]
expected: FAIL

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

@ -1,4 +1,4 @@
[setcookie-lax.https.html]
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[setcookie-lax.https.html?legacy-samesite]
prefs: [network.cookie.sameSite.laxByDefault:false, network.cookie.sameSite.noneRequiresSecure:false]

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

@ -1 +1,4 @@
prefs: [network.cookie.sameSite.laxByDefault:true, network.cookie.sameSite.noneRequiresSecure:true]
[third-party-cookie-accepted.https.html]
[Test that third-party cookies are accepted for WebSockets.]
expected: FAIL