[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: khtmltests/ecma
From: Harri Porten <porten () kde ! org>
Date: 2002-12-24 11:47:00
[Download RAW message or body]
CVS commit by porten:
condensed test for bug #51120 (with(<window object>) { }
M +8 -0 location.html 1.15
--- khtmltests/ecma/location.html #1.14:1.15
@@ -83,4 +83,12 @@
//shouldBe("location", "original");
+delete window.localVar;
+function myfunc() {
+ var localVar;
+ with (window) { localVar = 1; }
+}
+myfunc();
+shouldBe("typeof window.localVar", "'undefined'");
+
document.write("<br>End Of Test");
</script>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic