| Index: test/preparser/duplicate-property.pyt
|
| diff --git a/test/preparser/duplicate-property.pyt b/test/preparser/duplicate-property.pyt
|
| index 594b4786cb0d66afc3de690d11968910142b869b..0dcd212a1070a5ee99cfe76b9deab11351ffdce3 100644
|
| --- a/test/preparser/duplicate-property.pyt
|
| +++ b/test/preparser/duplicate-property.pyt
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2011 the V8 project authors. All rights reserved.
|
| +# Copyright 2011, 2014 the V8 project authors. All rights reserved.
|
| # Redistribution and use in source and binary forms, with or without
|
| # modification, are permitted provided that the following conditions are
|
| # met:
|
| @@ -46,7 +46,7 @@ def PropertyTest(name, propa, propb, allow_strict = True):
|
| Template("strict-$name-data-data", """
|
| "use strict";
|
| var o = {$id1: 42, $id2: 42};
|
| - """)(replacement, "strict_duplicate_property")
|
| + """)(replacement, None)
|
|
|
| Template("$name-data-data", """
|
| var o = {$id1: 42, $id2: 42};
|
| @@ -54,27 +54,27 @@ def PropertyTest(name, propa, propb, allow_strict = True):
|
|
|
| StrictTest("$name-data-get", """
|
| var o = {$id1: 42, get $id2(){}};
|
| - """, replacement, "accessor_data_property")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-data-set", """
|
| var o = {$id1: 42, set $id2(v){}};
|
| - """, replacement, "accessor_data_property")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-get-data", """
|
| var o = {get $id1(){}, $id2: 42};
|
| - """, replacement, "accessor_data_property")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-set-data", """
|
| var o = {set $id1(v){}, $id2: 42};
|
| - """, replacement, "accessor_data_property")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-get-get", """
|
| var o = {get $id1(){}, get $id2(){}};
|
| - """, replacement, "accessor_get_set")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-set-set", """
|
| var o = {set $id1(v){}, set $id2(v){}};
|
| - """, replacement, "accessor_get_set")
|
| + """, replacement, None)
|
|
|
| StrictTest("$name-nested-get", """
|
| var o = {get $id1(){}, o: {get $id2(){} } };
|
|
|