diff --git a/test/page.spec.js b/test/page.spec.js index 43d53f26c7..2eb0dd2eec 100644 --- a/test/page.spec.js +++ b/test/page.spec.js @@ -739,8 +739,8 @@ describe('Page.addScriptTag', function() { expect(await page.evaluate(() => __injected)).toBe(35); }); - // Firefox fires onload for blocked script before it issues the CSP console error. - it('should throw when added with content to the CSP page', async({page, server}) => { + it.fail(FFOX && WIN)('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; await page.addScriptTag({ content: 'window.__injected = 35;' }).catch(e => error = e);