feat(firefox): roll Firefox to r1011 (#452)

This commit is contained in:
Andrey Lushnikov 2020-01-10 18:54:24 +00:00 committed by Yury Semikhatsky
parent 138f081777
commit c1f75f7833
3 changed files with 4 additions and 5 deletions

View file

@ -9,7 +9,7 @@
"main": "index.js", "main": "index.js",
"playwright": { "playwright": {
"chromium_revision": "724623", "chromium_revision": "724623",
"firefox_revision": "1009", "firefox_revision": "1011",
"webkit_revision": "1080" "webkit_revision": "1080"
}, },
"scripts": { "scripts": {

View file

@ -439,6 +439,8 @@ const DEFAULT_PREFERENCES = {
// Ensure blocklist updates do not hit the network // Ensure blocklist updates do not hit the network
'services.settings.server': `http://${DUMMY_UMA_SERVER}/dummy/blocklist/`, 'services.settings.server': `http://${DUMMY_UMA_SERVER}/dummy/blocklist/`,
'browser.tabs.documentchannel': false,
// Do not automatically fill sign-in forms with known usernames and // Do not automatically fill sign-in forms with known usernames and
// passwords // passwords
'signon.autofillForms': false, 'signon.autofillForms': false,

View file

@ -243,10 +243,7 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
page.evaluate(async url => fetch(url).catch(e => {}), server.EMPTY_PAGE) page.evaluate(async url => fetch(url).catch(e => {}), server.EMPTY_PAGE)
]); ]);
expect(message.text()).toContain('Access-Control-Allow-Origin'); expect(message.text()).toContain('Access-Control-Allow-Origin');
if (CHROME || WEBKIT) expect(message.type()).toEqual('error');
expect(message.type()).toEqual('error');
else
expect(message.type()).toEqual('warn');
}); });
it('should have location for console API calls', async({page, server}) => { it('should have location for console API calls', async({page, server}) => {
await page.goto(server.EMPTY_PAGE); await page.goto(server.EMPTY_PAGE);