feat(firefox): implement page.exposeFunction (#4052)

This commit is contained in:
Andrey Lushnikov
2019-02-22 00:04:25 -08:00
committed by GitHub
parent 7d39aca93c
commit 5c818368a5
4 changed files with 90 additions and 4 deletions

View File

@@ -538,7 +538,7 @@ module.exports.addTests = function({testRunner, expect, headless, Errors, Device
});
});
describe_fails_ffox('Page.exposeFunction', function() {
describe('Page.exposeFunction', function() {
it('should work', async({page, server}) => {
await page.exposeFunction('compute', function(a, b) {
return a * b;