summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/inspector-wrappers/inspector-treeElementIdentifier.html
blob: 288edc75feb580183b5a3c257e29e21ba23b81b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<script src="inspector-wrappers-test-utils.js"></script>
</head>
<body>
<script>
  document.body.__defineGetter__("__treeElementIdentifier", function() {
    try { doAttack(); } catch(ex) { }
    return this.___treeElementIdentifier;
  });
  document.body.__defineSetter__("__treeElementIdentifier", function(val) {
    this.___treeElementIdentifier = val;
  });
</script>
<script>instructions({trigger: "Collapse and expand the &lt;body/&gt; tag"});</script>
</body>
</html>