summaryrefslogtreecommitdiffstats
path: root/dom/console/tests/test_console_proto.html
blob: b492a8926f3b9ae5ddf2a2aebce2d9b8b144b69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test for console.__proto__</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
  <script type="application/javascript">

  isnot(Object.getPrototypeOf(console), Object.prototype, "Foo");
  is(Object.getPrototypeOf(Object.getPrototypeOf(console)), Object.prototype, "Boo");

  </script>
</body>
</html>