* Map Chrome sameSite values to Playwright format
(sameSite)
| 136 | * Map Chrome sameSite values to Playwright format |
| 137 | */ |
| 138 | function mapSameSite(sameSite) { |
| 139 | if (!sameSite) return 'Lax'; |
| 140 | const value = sameSite.toLowerCase(); |
| 141 | if (value.includes('strict')) return 'Strict'; |
| 142 | if (value.includes('none') || value.includes('no_restriction')) return 'None'; |
| 143 | return 'Lax'; |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Check if localStorage contains authentication tokens |
no outgoing calls
no test coverage detected