From 629c56b0ab012d80101cefbc5ad11b4d2792707f Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 17 Dec 2019 12:04:04 -0700 Subject: [PATCH] test: make async stacks pass on WebKit (#277) --- test/page.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/page.spec.js b/test/page.spec.js index 5b4d56458f..a44a1edf61 100644 --- a/test/page.spec.js +++ b/test/page.spec.js @@ -98,10 +98,10 @@ module.exports.addTests = function({testRunner, expect, headless, playwright, FF }); describe('Async stacks', () => { - it.skip(WEBKIT)('should work', async({page, server}) => { + it('should work', async({page, server}) => { server.setRoute('/empty.html', (req, res) => { - res.statusCode = 204; - res.end(); + req.socket.write('deadbeef'); + req.socket.end(); }); let error = null; await page.goto(server.EMPTY_PAGE).catch(e => error = e);