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
… (mdn#35725)

* Navigator: cookieEnabled warning regarding Safari is outdated mdn#32845

Signed-off-by: Kowshik BV <[email protected]>

* Update index.md

Removed note section as it is not needed.

Signed-off-by: kaushik95 <[email protected]>

---------

Signed-off-by: Kowshik BV <[email protected]>
Signed-off-by: kaushik95 <[email protected]>
  • Loading branch information
kaushik95 committed Sep 12, 2024
1 parent f7e5cd5 commit 3fdf7ec
Showing 1 changed file with 0 additions and 3 deletions.
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]
> 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 3fdf7ec

Please sign in to comment.