Index: test/mjsunit/object-define-property.js |
diff --git a/test/mjsunit/object-define-property.js b/test/mjsunit/object-define-property.js |
index 9384a357bae1da251e9b44c0123bf037ff40ea4a..fdaf82d105e4de50c2a0708c6b6e95ae053178ad 100644 |
--- a/test/mjsunit/object-define-property.js |
+++ b/test/mjsunit/object-define-property.js |
@@ -1,4 +1,4 @@ |
-// Copyright 2010 the V8 project authors. All rights reserved. |
+// Copyright 2012 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: |
@@ -503,7 +503,7 @@ try { |
// Defining properties null should fail even when we have |
// other allowed values |
try { |
- %DefineOrRedefineAccessorProperty(null, 'foo', 0, func, 0); |
+ %DefineOrRedefineAccessorProperty(null, 'foo', func, null, 0); |
} catch (e) { |
assertTrue(/illegal access/.test(e)); |
} |