92bd4d1f2d
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 |
||
---|---|---|
.. | ||
array-find.js | ||
array-findindex.js | ||
array-iterator.js | ||
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 | ||
block-let-declaration.js | ||
block-let-semantics.js | ||
block-scoping.js | ||
collections.js | ||
dataview-accessors.js | ||
debug-blockscopes.js | ||
debug-evaluate-blockscopes.js | ||
debug-function-scopes.js | ||
generators-iteration.js | ||
generators-objects.js | ||
generators-parsing.js | ||
generators-runtime.js | ||
iteration-semantics.js | ||
iteration-syntax.js | ||
module-linking.js | ||
module-parsing.js | ||
module-recompile.js | ||
module-resolution.js | ||
numeric-literals-off.js | ||
numeric-literals.js | ||
object-observe.js | ||
proxies-example-membrane.js | ||
proxies-for.js | ||
proxies-function.js | ||
proxies-hash.js | ||
proxies-json.js | ||
proxies-symbols.js | ||
proxies-with.js | ||
proxies.js | ||
string-contains.js | ||
string-endswith.js | ||
string-repeat.js | ||
string-startswith.js | ||
symbols.js | ||
typedarrays.js | ||
typeof.js |