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: support await using for close() and dispose() #27766

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Oct 24, 2023

This change assumes that the user has Node 18 with Symbol.dispose available.

Fixes #27141

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Test results for "tests 1"

1 failed
❌ [playwright-test] › reporter-html.spec.ts:620:5 › created › should render annotations

7 flaky ⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:408:14 › should produce screencast frames crop
⚠️ [chromium] › library/chromium/oopif.spec.ts:330:3 › should not throw on exposeFunction when oopif detaches
⚠️ [firefox] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [webkit] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [webkit] › page/page-wait-for-navigation.spec.ts:85:3 › should work with clicking on links which do not commit navigation

25975 passed, 604 skipped
✔️✔️✔️

Merge workflow run.

@pavelfeldman pavelfeldman merged commit 7de0ccd into microsoft:main Oct 24, 2023
29 of 30 checks passed
Germandrummer92 pushed a commit to OctoMind-dev/playwright that referenced this pull request Oct 27, 2023
This change assumes that the user has Node 18 with Symbol.dispose
available.

Fixes microsoft#27141
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.

[Feature] Support Symbol.asyncDispose method (the using keyword) in addition to close()
2 participants