diff --git a/experimental/puppeteer-firefox/lib/FrameManager.js b/experimental/puppeteer-firefox/lib/FrameManager.js index c6557595ca6..7b3e7e5a732 100644 --- a/experimental/puppeteer-firefox/lib/FrameManager.js +++ b/experimental/puppeteer-firefox/lib/FrameManager.js @@ -193,10 +193,12 @@ class Frame { const { timeout = this._timeoutSettings.navigationTimeout(), waitUntil = ['load'], + referer, } = options; const normalizedWaitUntil = normalizeWaitUntil(waitUntil); const {navigationId} = await this._session.send('Page.navigate', { frameId: this._frameId, + referer, url, }); if (!navigationId) diff --git a/experimental/puppeteer-firefox/package.json b/experimental/puppeteer-firefox/package.json index a381588fa77..8003328a4e2 100644 --- a/experimental/puppeteer-firefox/package.json +++ b/experimental/puppeteer-firefox/package.json @@ -9,7 +9,7 @@ "node": ">=8.9.4" }, "puppeteer": { - "firefox_revision": "32fc518d9228fd0115c0a4fd4bd341780bdba2fc" + "firefox_revision": "6186c850885f1fa486e9987b5119d2b4bcb53499" }, "scripts": { "install": "node install.js", diff --git a/test/navigation.spec.js b/test/navigation.spec.js index 67943bc88b0..a0c2efe1bd4 100644 --- a/test/navigation.spec.js +++ b/test/navigation.spec.js @@ -310,7 +310,7 @@ module.exports.addTests = function({testRunner, expect, Errors, CHROME}) { } expect(error.message).toContain(url); }); - it_fails_ffox('should send referer', async({page, server}) => { + it('should send referer', async({page, server}) => { const [request1, request2] = await Promise.all([ server.waitForRequest('/grid.html'), server.waitForRequest('/digits/1.png'),