summaryrefslogtreecommitdiffstats
path: root/devtools/client/commandline/test/browser_cmd_cookie.html
blob: 7688d034ac34ac4c5ce3b9012dbd24eab686de04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>GCLI cookie command test</title>
</head>
<body>

  <p>Cookie test</p>
  <p id=result></p>
  <script type="text/javascript">
    document.cookie = "zap=zep";
    document.cookie = "zip=zop";
    document.cookie = "zig=zag; domain=.mochi.test";
    document.getElementById("result").innerHTML = document.cookie;
  </script>

</body>
</html>