• Jakob Gruber's avatar
    Reland "[regexp] Escape newlines when setting [[OriginalSource]]" · 4edfaa1f
    Jakob Gruber authored
    This is a reland of 0e22ec73
    
    Original change's description:
    > [regexp] Escape newlines when setting [[OriginalSource]]
    > 
    > This escapes LineTerminator characters in a regexp pattern when
    > creating the string that will be stored in the [[OriginalSource]] slot.
    > 
    > As an example, the source property for all following objects will equal
    > "\n" (a '\' character followed by 'n'):
    > 
    >   /\n/
    >   new RegExp("\n")
    >   new RegExp("\\n")
    > 
    > Bug: v8:1982, chromium:855009
    > Change-Id: I3b539497a0697e3d51ec969cae49308b0b312a19
    > Reviewed-on: https://chromium-review.googlesource.com/c/1384316
    > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Reviewed-by: Mathias Bynens <mathias@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#58387}
    
    Bug: v8:1982, chromium:855009
    Change-Id: I1ba22395477ec37e8e8c944000f9beade1e3250b
    Reviewed-on: https://chromium-review.googlesource.com/c/1386495Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58419}
    4edfaa1f
Name
Last commit
Last update
..
local-tests/test Loading commit data...
BUILD.gn Loading commit data...
README Loading commit data...
detachArrayBuffer.js Loading commit data...
harness-adapt-donotevaluate.js Loading commit data...
harness-adapt.js Loading commit data...
harness-agent.js Loading commit data...
prune-local-tests.sh Loading commit data...
test262.status Loading commit data...
testcfg.py Loading commit data...
upstream-local-tests.sh Loading commit data...