Chromium Code Reviews| Index: test/mjsunit/es7/object-observe.js |
| diff --git a/test/mjsunit/es7/object-observe.js b/test/mjsunit/es7/object-observe.js |
| index 5af205eadf88f894685efda34256d2acb4800b50..9a42cc259cb4c5afe0aa7a66c97200716c330c71 100644 |
| --- a/test/mjsunit/es7/object-observe.js |
| +++ b/test/mjsunit/es7/object-observe.js |
| @@ -1142,7 +1142,8 @@ var properties = ["a", "1", 1, "length", "setPrototype", "name", "caller"]; |
| function blacklisted(obj, prop) { |
| return (obj instanceof Int32Array && prop == 1) || |
| (obj instanceof Int32Array && prop === "length") || |
| - (obj instanceof ArrayBuffer && prop == 1) |
| + (obj instanceof ArrayBuffer && prop == 1) || |
| + (obj instanceof Function && prop === "name") |
|
arv (Not doing code reviews)
2015/02/26 21:26:24
Adam, do you know why this is needed?
adamk
2015/02/26 23:31:51
Because this sort of "internal" accessor needs to
|
| } |
| for (var i in objects) for (var j in properties) { |