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

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: Do not add a new Internals API 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 8440fd7e0437054074898f5ebc48dad27b97718f..60e08e9a5735df785922e93dc9f66b6de0b3aee8 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