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

Unified Diff: test/preparser/duplicate-property.pyt

Issue 329413002: Throw syntax error when a getter/setter has the wrong number of params (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test exception Created 6 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/mozilla/mozilla.status ('k') | test/webkit/for-in-cached.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/preparser/duplicate-property.pyt
diff --git a/test/preparser/duplicate-property.pyt b/test/preparser/duplicate-property.pyt
index 5abf9adbcfd96b6ac7ef00808fd9b03e0eac8d87..594b4786cb0d66afc3de690d11968910142b869b 100644
--- a/test/preparser/duplicate-property.pyt
+++ b/test/preparser/duplicate-property.pyt
@@ -81,7 +81,7 @@ def PropertyTest(name, propa, propb, allow_strict = True):
""", replacement, None)
StrictTest("$name-nested-set", """
- var o = {set $id1(){}, o: {set $id2(){} } };
+ var o = {set $id1(v){}, o: {set $id2(v){} } };
""", replacement, None)
« no previous file with comments | « test/mozilla/mozilla.status ('k') | test/webkit/for-in-cached.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698