puppeteer/packages/puppeteer-core
Ophir Back e3d69ec554
feat(page): Adding support for referrerPolicy in page.goto (#9561)
Issue: #9394

**What kind of change does this PR introduce?**

Feature - Added support of the `referrerPolicy` parameter (from CDP's
`Page.navigate`) to Puppeteer's `page.goto`.

**Did you add tests for your changes?**

No, currently it has no meaning that isn't browser implementation based,
which might get broken in the future. If there are suggestions to tests,
please let me know so I'll add them.

**If relevant, did you update the documentation?**
Yes, the documentation of the `goto` method has been updated.

**Summary**
I wanted to contribute to this project, which I used for testing on our
environment and saw issue #9394, so I decided to resolve it :)

**Does this PR introduce a breaking change?**
No. I added the `referrerPolicy` as an optional parameter, which will
use the HTTP header `Referrer-Policy` if not provided (much like the
`referer` parameter) so it will not interfere.

Co-authored-by: Ophir Back <ophir.back@broadcom.com>
2023-01-23 11:11:20 +00:00
..
src feat(page): Adding support for referrerPolicy in page.goto (#9561) 2023-01-23 11:11:20 +00:00
third_party chore: add BiDi integration for Chromium (#9410) 2022-12-20 14:37:31 +00:00
tools chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
.gitignore chore: use test runner for installation tests (#9110) 2022-10-14 13:37:07 +02:00
api-extractor.json chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
CHANGELOG.md chore: release main (#9495) 2023-01-12 08:21:09 +01:00
package.json chore: fix third_party build (#9554) 2023-01-20 14:12:03 +00:00
rollup.third_party.config.js chore: add deps needed for BiDi (#9439) 2022-12-19 15:54:58 +01:00
tsconfig.json feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00