summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/js/delete-multiple-global-blocks.html
blob: bb2e412bf89b2b0dcf2d927586df95f13c766a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<script>
description(
"Tests whether delete works properly across multiple global blocks in the presence of redefined variables."
);

a = 1;
</script>
<script>
var a;
delete a;

function test()
{
    return this.a ? true : false;
}

shouldBeFalse("test()");
</script>
</body>
</html>