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

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

Issue 243203002: Make window.navigator property non replaceable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Only keep window.navigator change 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..ad9732949c9161a66e61f4c9e57a2518b32dd815 100644
--- a/LayoutTests/fast/js/var-declarations-shadowing.html
+++ b/LayoutTests/fast/js/var-declarations-shadowing.html
@@ -220,8 +220,8 @@ shouldBe(eval('devicePixelRatio == marker'), "eval('devicePixelRatio == marker')
try {
eval("var navigator = marker");
} catch(e) { }
-shouldBe(navigator == marker, "navigator == marker", true);
-shouldBe(eval('navigator == marker'), "eval('navigator == marker')", true);
+shouldBe(navigator == marker, "navigator == marker", false);
+shouldBe(eval('navigator == marker'), "eval('navigator == marker')", false);
try {
eval("var clientInformation = marker");

Powered by Google App Engine
This is Rietveld 408576698