• kozyatinskiy's avatar
    [V8] Added line, column and script symbols for SyntaxError · 4e9e1eed
    kozyatinskiy authored
    For exception in promise we generate v8::Message API object from exception object. And in cases of Syntax or Reference Error we don't have enough information in exception object - we can't restore Error location from top stack frame.
    In this patch three aditional private fields introduced for exception object. In case of Syntax Error we store line, column and script on Exception object and receive this information when restoring message.
    
    BUG=443140
    LOG=Y
    R=yurys@chromium.org
    
    Review URL: https://codereview.chromium.org/885043002
    
    Cr-Commit-Position: refs/heads/master@{#26393}
    4e9e1eed
isolate.cc 86.2 KB