Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: LayoutTests/fast/js/var-declarations-shadowing.html

Issue 243173004: Make window.screen property non replaceable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/var-declarations-shadowing.html
diff --git a/LayoutTests/fast/js/var-declarations-shadowing.html b/LayoutTests/fast/js/var-declarations-shadowing.html
index d810d9d2abdfbf2f1b4d210082896810738ea9ed..b213525d3e3dd069351850f0ce8491958a601990 100644
--- a/LayoutTests/fast/js/var-declarations-shadowing.html
+++ b/LayoutTests/fast/js/var-declarations-shadowing.html
@@ -250,8 +250,8 @@ shouldBe(eval('defaultstatus == marker'), "eval('defaultstatus == marker')", tru
try {
eval("var screen = marker");
} catch(e) { }
-shouldBe(screen == marker, "screen == marker", true);
-shouldBe(eval('screen == marker'), "eval('screen == marker')", true);
+shouldBe(screen == marker, "screen == marker", false);
+shouldBe(eval('screen == marker'), "eval('screen == marker')", false);
try {
eval("var history = marker");

Powered by Google App Engine
This is Rietveld 408576698