File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/driver/cypress/e2e/commands Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1376,10 +1376,12 @@ describe('src/cy/commands/cookies', () => {
13761376
13771377 // @see https://bugzilla.mozilla.org/show_bug.cgi?id=1550032
13781378 // Firefox bidi returns "unspecified" for sameSite;
1379- // webkit returns "no_restriction" for sameSite;
1379+ // webkit & firefox < 135 return "no_restriction" for sameSite;
13801380 // other browsers do not return sameSite at all
1381- const sameSite = Cypress . isBrowser ( 'webkit' )
1382- ? 'no_restriction' :
1381+ const sameSite = (
1382+ ( Cypress . isBrowser ( 'firefox' ) && Number ( Cypress . browser . majorVersion ) < 135 ) ||
1383+ Cypress . isBrowser ( 'webkit' )
1384+ ) ? 'no_restriction' :
13831385 Cypress . isBrowser ( 'firefox' ) ? 'unspecified' : null
13841386
13851387 if ( sameSite ) {
You can’t perform that action at this time.
0 commit comments