summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-bug-632275-getters.html
blob: 349c301f3c83fb63190d529865ad679103ebe12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Web Console test for bug 632275 - getters</title>
    <!-- Any copyright is dedicated to the Public Domain.
         http://creativecommons.org/publicdomain/zero/1.0/ -->

<script type="application/javascript;version=1.8">
  document.foobar = {
    _val: 5,
    get val() { return ++this._val; }
  };
</script>

  </head>
  <body>
    <p>Web Console test for bug 632275 - getters.</p>
  </body>
</html>