mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic changes by ESLint, except for manual corrections for .xml files. Differential Revision: https://phabricator.services.mozilla.com/D4439 --HG-- extra : moz-landing-system : lando
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
"use strict";
|
|
|
|
const PREF = "network.cookie.cookieBehavior";
|
|
const PAGE_URL = "http://mochi.test:8888/browser/" +
|
|
"browser/components/sessionstore/test/browser_1234021_page.html";
|
|
const BEHAVIOR_REJECT = 2;
|
|
|
|
add_task(async function test() {
|
|
await pushPrefs([PREF, BEHAVIOR_REJECT]);
|
|
|
|
await BrowserTestUtils.withNewTab({
|
|
gBrowser,
|
|
url: PAGE_URL,
|
|
}, async function handler(aBrowser) {
|
|
await TabStateFlusher.flush(aBrowser);
|
|
ok(true, "Flush didn't time out");
|
|
});
|
|
});
|