Index: test/mjsunit/es7/object-observe.js |
diff --git a/test/mjsunit/es7/object-observe.js b/test/mjsunit/es7/object-observe.js |
index 7bb579f0c1462b6b33ff1bc6c3229067317f2845..26f5503a855cb6f69e958bea58fa984c1998c54f 100644 |
--- a/test/mjsunit/es7/object-observe.js |
+++ b/test/mjsunit/es7/object-observe.js |
@@ -1685,8 +1685,10 @@ var obj = { __proto__: fun }; |
Object.observe(obj, observer.callback); |
obj.prototype = 7; |
Object.deliverChangeRecords(observer.callback); |
-observer.assertNotCalled(); |
- |
+observer.assertRecordCount(1); |
+observer.assertCallbackRecords([ |
+ { object: obj, name: 'prototype', type: 'add' }, |
+]); |
// Check that changes in observation status are detected in all IC states and |
// in optimized code, especially in cases usually using fast elements. |