• ager@chromium.org's avatar
    Reland exception propagation fix. · aacd9031
    ager@chromium.org authored
    Fix exception propagation problem where undefined was returned instead
    of an empty handle in case of an exception.  This problem can break
    C++ programs that are not interested in catching exceptions and just
    want to propagate them out by testing for empty handles.
    
    The issue is that exceptions are not rescheduled if they are
    externally caught.  Externally caught exceptions have to be
    rescheduled if there is a JavaScript frame on the way to the C++ frame
    that holds the external handler.
    
    A couple of tests will fail on the ARM simulator because the simulator
    has separate stacks for C++ and JavaScript.  I have marked the tests
    as failing only on the simulator.
    Review URL: http://codereview.chromium.org/56105
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    aacd9031
test-api.cc 192 KB