Title: [123167] trunk/LayoutTests
Revision
123167
Author
[email protected]
Date
2012-07-19 17:22:06 -0700 (Thu, 19 Jul 2012)

Log Message

Fix test after r123145.

Unreviewed.

* fast/js/var-declarations-shadowing-expected.txt:
* fast/js/var-declarations-shadowing.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (123166 => 123167)


--- trunk/LayoutTests/ChangeLog	2012-07-20 00:21:16 UTC (rev 123166)
+++ trunk/LayoutTests/ChangeLog	2012-07-20 00:22:06 UTC (rev 123167)
@@ -1,3 +1,12 @@
+2012-07-19  Erik Arvidsson  <[email protected]>
+
+        Fix test after r123145.
+
+        Unreviewed.
+
+        * fast/js/var-declarations-shadowing-expected.txt:
+        * fast/js/var-declarations-shadowing.html:
+
 2012-07-19  Julien Chaffraix  <[email protected]>
 
         [CSS2.1] Anonymous tables should be inline/block-level based off their parent

Modified: trunk/LayoutTests/fast/js/var-declarations-shadowing-expected.txt (123166 => 123167)


--- trunk/LayoutTests/fast/js/var-declarations-shadowing-expected.txt	2012-07-20 00:21:16 UTC (rev 123166)
+++ trunk/LayoutTests/fast/js/var-declarations-shadowing-expected.txt	2012-07-20 00:22:06 UTC (rev 123167)
@@ -64,8 +64,6 @@
 PASS: eval('opener == marker') should be true and is.
 PASS: parent == marker should be true and is.
 PASS: eval('parent == marker') should be true and is.
-PASS: top == marker should be true and is.
-PASS: eval('top == marker') should be true and is.
 PASS: devicePixelRatio == marker should be true and is.
 PASS: eval('devicePixelRatio == marker') should be true and is.
 PASS: devicePixelRatio == marker should be true and is.
@@ -99,4 +97,6 @@
 PASS: eval('document == marker') should be false and is.
 PASS: crypto == marker should be false and is.
 PASS: eval('crypto == marker') should be false and is.
+PASS: top == marker should be false and is.
+PASS: eval('top == marker') should be false and is.
 

Modified: trunk/LayoutTests/fast/js/var-declarations-shadowing.html (123166 => 123167)


--- trunk/LayoutTests/fast/js/var-declarations-shadowing.html	2012-07-20 00:21:16 UTC (rev 123166)
+++ trunk/LayoutTests/fast/js/var-declarations-shadowing.html	2012-07-20 00:22:06 UTC (rev 123167)
@@ -206,12 +206,6 @@
 shouldBe(eval('parent == marker'), "eval('parent == marker')", true);
 
 try {
-    eval("var top = marker");
-} catch(e) { }
-shouldBe(top == marker, "top == marker", true);
-shouldBe(eval('top == marker'), "eval('top == marker')", true);
-
-try {
     eval("var devicePixelRatio = marker");
 } catch(e) { }
 shouldBe(devicePixelRatio == marker, "devicePixelRatio == marker", true);
@@ -309,4 +303,10 @@
 shouldBe(crypto == marker, "crypto == marker", false);
 shouldBe(eval('crypto == marker'), "eval('crypto == marker')", false);
 
+try {
+    eval("var top = marker");
+} catch(e) { }
+shouldBe(top == marker, "top == marker", false);
+shouldBe(eval('top == marker'), "eval('top == marker')", false);
+
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to