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

chore(roll): roll Playwright to 1.38.0 #2075

Merged
merged 2 commits into from
Sep 15, 2023
Merged

chore(roll): roll Playwright to 1.38.0 #2075

merged 2 commits into from
Sep 15, 2023

Conversation

mxschmitt
Copy link
Member

Fixes #2061

@mxschmitt mxschmitt marked this pull request as ready for review September 15, 2023 13:00
playwright/_impl/_js_handle.py Outdated Show resolved Hide resolved
@mxschmitt mxschmitt merged commit 7873afd into main Sep 15, 2023
37 of 39 checks passed
@mxschmitt mxschmitt deleted the roll/1.38 branch September 15, 2023 20:24
@@ -69,6 +69,14 @@ async def test_evaluate_transfer_bigint(page: Page) -> None:
assert await page.evaluate("a => a", 17) == 17


async def test_should_transfer_maps(page):
assert await page.evaluate("() => new Map([[1, { test: 42n }]])") == {}

Choose a reason for hiding this comment

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

@mxschmitt Hi, does this mean playwright-python doesn't support transfering Map or Set actually?

Map(1) { 1 => { test: 42n } }
Set(2) { 1, { test: 42n } }

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi yes, we decided to not implement Map/Set in the language ports for now. (Then last 2 years nobody asked for it)

Choose a reason for hiding this comment

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

Thank you for sharing about the decision :)

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.

[Ports]: Backport client side changes
3 participants