Description[V8] Added line, column and script symbols for SyntaxError
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
Committed: https://crrev.com/4e9e1eedf1ba399d00b53adf6e5722d442ed9797
Cr-Commit-Position: refs/heads/master@{#26393}
Patch Set 1 #Patch Set 2 : Test added #
Total comments: 6
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Patch Set 5 : Rebased #
Messages
Total messages: 13 (2 generated)
|