This commit is contained in:
Joel Einbinder 2020-02-18 20:02:36 -08:00 committed by GitHub
parent a475f4df6a
commit 6c89ab1285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -413,7 +413,6 @@ module.exports.describe = function({testRunner, expect, playwright, MAC, WIN, FF
frame._page.waitForRequest(server.PREFIX + suffix),
])
}
frame.setContent
let responses = {};
// Hold on to a bunch of requests without answering.
server.setRoute('/fetch-request-a.js', (req, res) => responses.a = res);