| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/js-test-pre.js"></script> | 4 <script src="resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 description( | 8 description( |
| 9 "Tests whether delete works properly across multiple global blocks in the presen
ce of redefined variables." | 9 "Tests whether delete works properly across multiple global blocks in the presen
ce of redefined variables." |
| 10 ); | 10 ); |
| 11 | 11 |
| 12 a = 1; | 12 a = 1; |
| 13 </script> | 13 </script> |
| 14 <script> | 14 <script> |
| 15 var a; | 15 var a; |
| 16 delete a; | 16 delete a; |
| 17 | 17 |
| 18 function test() | 18 function test() |
| 19 { | 19 { |
| 20 return this.a ? true : false; | 20 return this.a ? true : false; |
| 21 } | 21 } |
| 22 | 22 |
| 23 shouldBeFalse("test()"); | 23 shouldBeFalse("test()"); |
| 24 </script> | 24 </script> |
| 25 <script src="resources/js-test-post.js"></script> | |
| 26 </body> | 25 </body> |
| 27 </html> | 26 </html> |
| OLD | NEW |