Fix ObjectNotifierPerformChange leak after r21126
authoradamk@chromium.org <adamk@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 May 2014 21:29:15 +0000 (21:29 +0000)
committeradamk@chromium.org <adamk@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 May 2014 21:29:15 +0000 (21:29 +0000)
commit5ea893074c4e5879ad9ec7f8fe10dcdf41f64fcd
treee6e4a7f83aa5451be311c74234d1a23715b67b68
parent4dd8b111714fc42ecb1159629695ffc2089316a9
Fix ObjectNotifierPerformChange leak after r21126

Due to overlapping names of natives and runtime functions, the wrong
context was used for Notifier.prototype.performChange. The leak test
has been augmented to properly cover the leaky case, and the test
now passes.

Also tightened up type checks in runtime.cc and removed Object.observe
functions from knownIssues in fuzz-natives-part2.js.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21129 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/object-observe.js
src/runtime.cc
src/runtime.h
test/cctest/test-object-observe.cc
test/mjsunit/fuzz-natives-part2.js