Skip to content

fix(chromium): disable ThirdPartyStoragePartitioning - #32701

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:fix-disable-storage-partitioning
Sep 19, 2024
Merged

Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:fix-disable-storage-partitioning

Conversation

@dgozman

Copy link
Copy Markdown
Collaborator

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 flaky ⚠️ [webkit-library] › library/download.spec.ts:712:3 › should download links with data url

35521 passed, 661 skipped
✔️✔️✔️

Merge workflow run.

@dgozman
Dmitry Gozman (dgozman) merged commit 5089d9f into microsoft:main Sep 19, 2024
@oochaDog

oochaDog commented Feb 7, 2025

Copy link
Copy Markdown

Hi Dmitry Gozman (@dgozman) - This change broke our tests so I would like to re-enable ThirdPartyStoragePartitioning. We see that just enabling the feature in our config does not work.

use: {
  launchOptions: {
    args: ['--enable-features=ThirdPartyStoragePartitioning'],
  }
}

The only way I've been able to achieve this is within our playwright.config is to ignoreDefaultArgs then re-add all the defaults back in without the ThirdPartyStoragePartitioning flag like this:

launchOptions: {
      // need to remove entire default '--disable-features' argument then add everything back except 'ThirdPartyStoragePartitioning'.
      ignoreDefaultArgs: ['--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker'],
      args: ['--disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,LensOverlay,PlzDedicatedWorker'],
    },

This approach is not maintainable for us. Can you suggest a better solution then ignoring the entire default --disable-feature and re-adding it back?

Thank you for your time.

@dgozman

Copy link
Copy Markdown
Collaborator Author

oochaDog Unfortunately, there is not better workaround than what you are doing.

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