Skip to content

Commit

Permalink
Navigator: cookieEnabled warning regarding Safari is outdated mdn#32845
Browse files Browse the repository at this point in the history
Signed-off-by: Kowshik BV <kowshik.bv@fmr.com>
  • Loading branch information
kaushik95 committed Aug 6, 2024
1 parent 0b00648 commit 8fb8d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/navigator/cookieenabled/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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.
> 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 IE (while trying to set a cookie in such scenario would fail). It returns `false` in Firefox, Safari and Chromium-based browsers.
> [!NOTE]
> 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

0 comments on commit 8fb8d70

Please sign in to comment.