test: disable flaky CSP test on Firefox (#2374)

This commit is contained in:
Dmitry Gozman 2020-05-27 19:59:49 -07:00 committed by GitHub
parent 057ae14adc
commit 11d53ad529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -739,7 +739,7 @@ describe('Page.addScriptTag', function() {
expect(await page.evaluate(() => __injected)).toBe(35);
});
it.fail(FFOX && WIN)('should throw when added with content to the CSP page', async({page, server}) => {
it.fail(FFOX)('should throw when added with content to the CSP page', async({page, server}) => {
// Firefox fires onload for blocked script before it issues the CSP console error.
await page.goto(server.PREFIX + '/csp.html');
let error = null;