testing/firefox-ui/resources/cookies/cookie_single.html
author Nicholas Nethercote <nnethercote@mozilla.com>
Wed, 27 Apr 2016 14:16:50 +1000
changeset 336387 3d67e45f994a3ae1ae43479c32c2ed63bbf1a7c8
parent 328027 76a0add3c8de10ec2f97a3d6baef2e715b594210
child 411880 c2726c90864718e143802611bb2ef480eee35818
permissions -rw-r--r--
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. It's an annotation that is used a lot, and should be used even more, so a shorter name is better. MozReview-Commit-ID: 1VS4Dney4WX

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<script type="text/javascript">
  function setCookie()
  {
    var date = new Date();
    date.setDate(new Date().getDate() + 36);
    document.cookie = "litmus_1=true;expires=" + date.toGMTString();
  }
</script>
</head>

<body onload="setCookie()">
</body>
</html>