v8/test/mjsunit/harmony
rossberg@chromium.org 92bd4d1f2d I found this working on
https://codereview.chromium.org/19541010/

The main problem is that if you called Object.getNotifier(obj) on an object, %SetObserved(object) would never get called on it, and thus it would be unobservable (new test added for this).

Additionally, Runtime::SetObserved was asserting obj->IsJSObject() which would fail if called on a proxy.

It just happens that our existing test always called getNotifier() before Object.observe on proxies, and thus we never previously attempted to transition the map of a proxy.

Both issues are now fixed and properly tested.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/21891008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16074 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-08-06 13:49:10 +00:00
..
array-find.js Add new Harmony methods to Array.prototype object. 2013-08-02 10:57:48 +00:00
array-findindex.js Add new Harmony methods to Array.prototype object. 2013-08-02 10:57:48 +00:00
array-iterator.js Update Array Iterator to use numeric indexes 2013-08-06 13:10:07 +00:00
block-conflicts.js
block-const-assign.js
block-early-errors.js
block-for.js
block-lazy-compile.js
block-leave.js
block-let-crankshaft.js Turn on parallel recompilation for tests that assert optimization status. 2013-07-22 09:16:33 +00:00
block-let-declaration.js
block-let-semantics.js
block-scoping.js
collections.js Calling Map etc without new should throw TypeError 2013-08-01 09:18:28 +00:00
dataview-accessors.js Make DataView setters throw when only offset is provided. 2013-07-24 17:35:15 +00:00
debug-blockscopes.js
debug-evaluate-blockscopes.js
debug-function-scopes.js
generators-iteration.js Fix stack frame reconstruction for generators with formal arguments 2013-06-20 10:48:34 +00:00
generators-objects.js Generator object "next" method takes optional send value 2013-06-10 09:26:18 +00:00
generators-parsing.js Generator objects can suspend 2013-04-19 14:11:23 +00:00
generators-runtime.js GeneratorFunction() makes generator instances 2013-06-12 12:52:16 +00:00
iteration-semantics.js Disable --harmony -> --harmony-generators implication 2013-06-11 14:45:17 +00:00
iteration-syntax.js For-of statements do not permit initializers. 2013-06-12 12:37:44 +00:00
module-linking.js Get rid of static module allocation, do it in code. 2012-11-22 10:25:22 +00:00
module-parsing.js
module-recompile.js
module-resolution.js
numeric-literals-off.js Add support for explicit octal and binary integer literals 2013-07-19 09:57:35 +00:00
numeric-literals.js Add support for explicit octal and binary integer literals 2013-07-19 09:57:35 +00:00
object-observe.js I found this working on 2013-08-06 13:49:10 +00:00
proxies-example-membrane.js Calling Map etc without new should throw TypeError 2013-08-01 09:18:28 +00:00
proxies-for.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies-function.js
proxies-hash.js Calling Map etc without new should throw TypeError 2013-08-01 09:18:28 +00:00
proxies-json.js
proxies-symbols.js ES6 symbols: prevent reflection, proxy, and observe APIs from leaking symbols 2013-03-22 17:27:44 +00:00
proxies-with.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies.js Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00
string-contains.js Add new Harmony methods to String.prototype object. 2013-07-30 16:33:08 +00:00
string-endswith.js Add new Harmony methods to String.prototype object. 2013-07-30 16:33:08 +00:00
string-repeat.js Add new Harmony methods to String.prototype object. 2013-07-30 16:33:08 +00:00
string-startswith.js Add new Harmony methods to String.prototype object. 2013-07-30 16:33:08 +00:00
symbols.js Fix set-up of intrinsic's 'constructor' properties 2013-04-11 12:27:55 +00:00
typedarrays.js Add BYTES_PER_ELEMENT property to constructors of typed arrays. 2013-07-17 11:16:07 +00:00
typeof.js