mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Bug 1871376 - enable keepalive tests. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D206509
This commit is contained in:
parent
1d1d486194
commit
7efb7e9888
@ -1 +1,2 @@
|
||||
leak-threshold: [tab:51200]
|
||||
prefs: [dom.fetchKeepalive.enabled:true]
|
||||
|
@ -1,2 +0,0 @@
|
||||
[keepalive.any.html]
|
||||
disabled: true
|
@ -1,2 +0,0 @@
|
||||
[cors-keepalive.any.html]
|
||||
disabled: true
|
@ -1,2 +0,0 @@
|
||||
[redirect-keepalive.any.html]
|
||||
disabled:true
|
@ -18,7 +18,7 @@ const {
|
||||
* document event.
|
||||
*/
|
||||
function keepaliveSimpleRequestTest(method) {
|
||||
for (const evt of ['load', 'pagehide', 'unload']) {
|
||||
for (const evt of ['load', 'unload', 'pagehide']) {
|
||||
const desc =
|
||||
`[keepalive] simple ${method} request on '${evt}' [no payload]`;
|
||||
promise_test(async (test) => {
|
||||
@ -30,7 +30,6 @@ function keepaliveSimpleRequestTest(method) {
|
||||
if (evt != 'load') {
|
||||
iframe.remove();
|
||||
}
|
||||
assert_equals(await getTokenFromMessage(), token1);
|
||||
|
||||
assertStashedTokenAsync(desc, token1);
|
||||
}, `${desc}; setting up`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user