Skip to content

feat: chromium{Enable,Disable}Features launch options - #36746

Closed
Dmitry Gozman (dgozman) wants to merge 1 commit into
microsoft:mainfrom
dgozman:feat-chromium-disable-features
Closed

Dmitry Gozman (dgozman) wants to merge 1 commit into
microsoft:mainfrom
dgozman:feat-chromium-disable-features

Conversation

@dgozman

Copy link
Copy Markdown
Collaborator

Drive-by: remove extension-related features from the default list, explicitly pass them in tests.

References #36459.

Drive-by: remove extension-related features from the default list,
explicitly pass them in tests.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

10 flaky ⚠️ [chromium-library] › library/role-utils.spec.ts:442:5 › svg role=presentation @chromium-ubuntu-22.04-node18
⚠️ [chromium-library] › library/role-utils.spec.ts:442:5 › svg role=presentation @chromium-ubuntu-22.04-node20
⚠️ [chromium-library] › library/chromium/oopif.spec.ts:284:3 › should click @chromium-ubuntu-22.04-node24
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079:7 › cli codegen › should not throw csp directive violation errors @firefox-ubuntu-22.04-node18
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all @ubuntu-latest-node18-1
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all @ubuntu-latest-node20-1
⚠️ [webkit-library] › library/browsercontext-viewport-mobile.spec.ts:157:5 › mobile viewport › mouse should work with mobile viewports and cross process navigations @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › page/page-event-popup.spec.ts:28:3 › should work with window features @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › page/page-screenshot.spec.ts:345:5 › page screenshot › should work while navigating @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

46764 passed, 926 skipped
✔️✔️✔️

Merge workflow run.

@aik099

Copy link
Copy Markdown

Hi Dmitry Gozman (@dgozman), I ran into the same problem from a different angle in #43557: a user --disable-features in args replaces Playwright's own list, so the defaults (ThirdPartyStoragePartitioning and the redirect workarounds) are lost without any warning.

This PR looks like the approach I would have suggested, so I'm curious why it was closed. Was there something about the design that didn't work out, or was it just not needed for #36459 in the end? Knowing that would help me propose something that fits.

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.

2 participants