Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<title>navigator.cookieEnabled false</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<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>