v8/test/webkit/fast/regex
Jakob Gruber 4edfaa1f39 Reland "[regexp] Escape newlines when setting [[OriginalSource]]"
This is a reland of 0e22ec737b

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/1386495
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58419}
2018-12-21 09:15:09 +00:00
..
alternative-length-miscalculation-expected.txt
alternative-length-miscalculation.js
assertion-expected.txt
assertion.js
constructor-expected.txt Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 2015-11-19 16:11:09 +00:00
constructor.js Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 2015-11-19 16:11:09 +00:00
dotstar-expected.txt
dotstar.js
early-acid3-86-expected.txt
early-acid3-86.js
ecma-regex-examples-expected.txt
ecma-regex-examples.js
invalid-range-in-class-expected.txt
invalid-range-in-class.js
lastIndex-expected.txt Reland of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or… (patchset #2 id:20001 of https://codereview.chromium.org/2112713003/ ) 2016-09-15 19:21:12 +00:00
lastIndex.js
malformed-escapes-expected.txt
malformed-escapes.js
non-capturing-backtracking-expected.txt
non-capturing-backtracking.js
overflow-expected.txt
overflow.js
parentheses-expected.txt
parentheses.js
pcre-test-4-expected.txt
pcre-test-4.js
quantified-assertions-expected.txt
quantified-assertions.js
repeat-match-waldemar-expected.txt
repeat-match-waldemar.js
toString-expected.txt Reland "[regexp] Escape newlines when setting [[OriginalSource]]" 2018-12-21 09:15:09 +00:00
toString.js
unicodeCaseInsensitive-expected.txt
unicodeCaseInsensitive.js