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

Navigator: cookieEnabled warning regarding Safari is outdated #32845 #35725

Merged
merged 5 commits into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions files/en-us/web/api/navigator/cookieenabled/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ The property is read-only.

A boolean.

> [!NOTE]
> When the browser is configured to block [third-party cookies](/en-US/docs/Web/Privacy/Third-party_cookies), and `navigator.cookieEnabled` is invoked inside a third-party `<iframe>`, it returns `true` in Safari and IE (while trying to set a cookie in such scenario would fail). It returns `false` in Firefox and Chromium-based browsers.

> [!NOTE]
kaushik95 marked this conversation as resolved.
Show resolved Hide resolved
> Web browsers may prevent writing certain cookies in certain scenarios. For example, Chrome-based browsers, as well as some experimental version of Firefox, does not allow creating cookies with [`SameSite=None`](/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value) attribute, unless they are created over HTTPS and with `Secure` attribute.

Expand Down