blob: adcea90a363af504c33738da53a979b9bd9479e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>navigator.cookieEnabled false</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://html.spec.whatwg.org/#dom-navigator-cookieenabled">
<meta name="flags" content="interact">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<h2>Preconditions</h2>
<p>Disable cookies in browser settings.</p>
<script>
test(() => {
assert_false(navigator.cookieEnabled);
}, "navigator.cookieEnabled is false when cookies are disabled");
</script>
|