diff options
Diffstat (limited to 'deps/v8/test/webkit/object-literal-direct-put.js')
-rw-r--r-- | deps/v8/test/webkit/object-literal-direct-put.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/webkit/object-literal-direct-put.js b/deps/v8/test/webkit/object-literal-direct-put.js index 69c085f06..99f0a60c0 100644 --- a/deps/v8/test/webkit/object-literal-direct-put.js +++ b/deps/v8/test/webkit/object-literal-direct-put.js @@ -25,11 +25,11 @@ description("This test ensures that properties on an object literal are put dire shouldBeTrue("({a:true}).a"); shouldBeTrue("({__proto__: {a:false}, a:true}).a"); -shouldBeTrue("({__proto__: {set a() {throw 'Should not call setter'; }}, a:true}).a"); +shouldBeTrue("({__proto__: {set a(v) {throw 'Should not call setter'; }}, a:true}).a"); shouldBeTrue("({__proto__: {get a() {throw 'Should not reach getter'; }}, a:true}).a"); shouldBeTrue("({__proto__: {get a() {throw 'Should not reach getter'; }, b:true}, a:true}).b"); shouldBeTrue("({__proto__: {__proto__: {a:false}}, a:true}).a"); -shouldBeTrue("({__proto__: {__proto__: {set a() {throw 'Should not call setter'; }}}, a:true}).a"); +shouldBeTrue("({__proto__: {__proto__: {set a(v) {throw 'Should not call setter'; }}}, a:true}).a"); shouldBeTrue("({__proto__: {__proto__: {get a() {throw 'Should not reach getter'; }}}, a:true}).a"); shouldBeTrue("({__proto__: {__proto__: {get a() {throw 'Should not reach getter'; }, b:true}}, a:true}).b"); |