mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(firefox): implement page.exposeFunction (#4052)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user