Make cctest/test-debug pass with extensions installed
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Jul 2013 13:33:20 +0000 (13:33 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Jul 2013 13:33:20 +0000 (13:33 +0000)
commitba8119f9b564e25a9f1ffbec810044815736876b
tree57b7f3c9fcbbeed6bb2dc047a38372633b8b6e7f
parentfa001d1b6afc7540f09dd018291ca63f4ab00474
Make cctest/test-debug pass with extensions installed

Compiling extensions during context creation triggers debug events.
Work around this by installing the event listener after creating
the context

BUG=v8:2745
R=yangguo@chromium.org

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

Patch from Jochen Eisinger <jochen@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/cctest/test-debug.cc