Bug 1636118 - Use agressive prefetch in mixed-content tests, r=smaug

This makes the tests which expect link rel=prefetch to always occur pass

Differential Revision: https://phabricator.services.mozilla.com/D75500
This commit is contained in:
James Graham 2020-05-18 11:04:55 +00:00
Родитель 16af962c7e
Коммит 0a67e9982c
5 изменённых файлов: 2 добавлений и 150 удалений

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

@ -0,0 +1 @@
prefs: [network.prefetch-next.aggressive:true]

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

@ -0,0 +1 @@
lsan-allowed: [Alloc, CustomElementReactionsStack, MakeRefPtr, MakeUnique, Malloc, Realloc, allocate, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::WeakPtr, mozilla::dom::DocGroup::Create, mozilla::dom::DocGroup::DocGroup, mozilla::net::HttpBaseChannel::HttpBaseChannel, mozilla::net::HttpChannelChild::HttpChannelChild, mozilla::net::nsHttpHandler::NewProxiedChannel, mozilla::net::nsIOService::NewChannelFromURIWithProxyFlagsInternal, mozilla::net::nsStandardURL::TemplatedMutator, nsDynamicAtom::Create, nsNodeSupportsWeakRefTearoff::GetWeakReference, nsPrefetchService::EnqueueURI]

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

@ -1,65 +0,0 @@
[link-prefetch-tag.https.html]
expected:
if not fission and (os == "android"): OK
if fission: OK
TIMEOUT
[Mixed-Content: Expects allowed for link-prefetch-tag to same-https origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
TIMEOUT
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-https origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects allowed for link-prefetch-tag to same-https origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-https origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN

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

@ -1,23 +0,0 @@
[link-prefetch-tag.https.html]
expected:
if not fission and (os == "android"): OK
if fission: OK
TIMEOUT
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects allowed for link-prefetch-tag to same-https origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
TIMEOUT
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN

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

@ -1,62 +0,0 @@
[link-prefetch-tag.https.html]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["TIMEOUT", "OK"]
if not fission and (os == "android"): OK
if fission: OK
TIMEOUT
[Mixed-Content: Expects allowed for link-prefetch-tag to same-https origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["TIMEOUT", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
TIMEOUT
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and swap-scheme redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and keep-scheme redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects allowed for link-prefetch-tag to same-https origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and no-redirect redirection from https context.]
expected:
if not fission and (os == "linux") and (processor == "x86"): ["NOTRUN", "PASS"]
if not fission and (os == "android"): PASS
if fission: PASS
NOTRUN