JS Test Harness: Insert the stylesheet dynamically
[WebKit-https.git] / LayoutTests / fast / js / delete-multiple-global-blocks.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 description(
9 "Tests whether delete works properly across multiple global blocks in the presence of redefined variables."
10 );
11
12 a = 1;
13 </script>
14 <script>
15 var a;
16 delete a;
17
18 function test()
19 {
20     return this.a ? true : false;
21 }
22
23 shouldBeFalse("test()");
24
25 var successfullyParsed = true;
26 </script>
27 <script src="resources/js-test-post.js"></script>
28 </body>
29 </html>