Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirection code fix #29

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Redirection code fix #29

merged 1 commit into from
Oct 30, 2023

Conversation

AlbertoFDR
Copy link
Contributor

Puppeteer doc says: The frame that initiated the request, or null if navigating to error pages. [doc]
The problem is that the actual code didn't expect the null in the frame() call.

Url example: https://www.dailymail.co.uk/.
Request that crashes: OPTIONS https://hulkprod.anm.co.uk/api/web-push-notification/v1/organisation/mol/analytics/track/prompt/impression

@pes10k
Copy link
Collaborator

pes10k commented Oct 29, 2023

Thanks for the PR! @ShivanKaul can you review and merge if it looks good on your end?

Copy link
Collaborator

@ShivanKaul ShivanKaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ShivanKaul ShivanKaul merged commit 7120468 into brave:main Oct 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants