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

Unified Diff: test/cctest/test-decls.cc

Issue 151191: Make global variable initialization consistent with Firefox and Safari... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-decls.cc
===================================================================
--- test/cctest/test-decls.cc (revision 2324)
+++ test/cctest/test-decls.cc (working copy)
@@ -534,10 +534,10 @@
{ ExistsInPrototypeContext context;
context.Check("var x; x",
+ 1, // get
0,
- 0,
1, // declaration
- EXPECT_RESULT, Undefined());
+ EXPECT_EXCEPTION);
}
{ ExistsInPrototypeContext context;
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698