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

WIP: 2.1.1 puppeteer parity #16

Open
wants to merge 759 commits into
base: dev
Choose a base branch
from
Open

WIP: 2.1.1 puppeteer parity #16

wants to merge 759 commits into from

Conversation

Granitosaurus
Copy link
Contributor

This is huge rework for catching up with puppeteer 2.1.1

For more see:
https://github.com/pyppeteer/pyppeteer2/projects/3

@Granitosaurus Granitosaurus added enhancement New feature or request help wanted Extra attention is needed/wanted labels Feb 21, 2020
@Granitosaurus Granitosaurus self-assigned this Feb 22, 2020
setup.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
@Mattwmaster58
Copy link
Member

Mattwmaster58 commented Mar 8, 2020

Blocker: undefined computeQuadArea in jshandle (see https://stackoverflow.com/questions/24467972 for easy implementation)

pyppeteer/domworld.py Outdated Show resolved Hide resolved
Mattwmaster58 and others added 11 commits July 13, 2020 13:49
the last implementation didn't even make sense
I'm not sure why I skipped this in the first place but my best guess is that the test server implementation was faulty causing this test to fail and I thought it was the test's fault. Now that the test server is A-OK, this test is unskipped
this is why that one test before was skipped: the test prior used used a 204, but then the next test also used a 204, but you can't use the same response twice. this changes things so each response is generated as needed
@Sunda001

This comment has been minimized.

Expose more security related fields
…t_server_response

Add kwargs for onetime test server response
Mattwmaster58 and others added 2 commits January 7, 2021 23:47
This fixes any InvalidState exceptions that occurred when terminating
with an unrelated error.


def rewriteError(error: Exception) -> Union[None, Dict[str, Dict[str, str]]]:
msg = error.args[0]

Choose a reason for hiding this comment

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

Issue #119
We probably want to check if error.args has any elements, otherwise this throws an exception

Copy link
Member

Choose a reason for hiding this comment

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

I agree! We're accepting PRs against this branch if you'd like to make the necessary changes

Do not try to set an exception on finished futures
@scratchmex
Copy link

Legit question: why is 2.1.1 the target version if puppeteer now is in version 10?

@Mattwmaster58
Copy link
Member

Mattwmaster58 commented Sep 11, 2021 via email

@miracle2k
Copy link

Could the page make it a little bit more clear what the status of this branch is vs "dev", and which one is recommended that people a) user as end users and b) send patches to? It seems dev is very active, while this port is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment