Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: test/webkit/fast/js/regexp-non-greedy-parentheses-expected.txt

Issue 131363008: A64: Synchronize with r15922. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/webkit/fast/js/regexp-non-greedy-parentheses-expected.txt
diff --git a/test/webkit/add-recovery-expected.txt b/test/webkit/fast/js/regexp-non-greedy-parentheses-expected.txt
similarity index 74%
copy from test/webkit/add-recovery-expected.txt
copy to test/webkit/fast/js/regexp-non-greedy-parentheses-expected.txt
index 1d961b551aa9ef467543ddbb91dc528869e52611..f2b665b887ffceb4fc4897e6eb864c31ed96f04b 100644
--- a/test/webkit/add-recovery-expected.txt
+++ b/test/webkit/fast/js/regexp-non-greedy-parentheses-expected.txt
@@ -21,16 +21,19 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-This tests that speculation recovery of destructive additions on unboxed integers works.
+Test for regression against Wrong result in case of non-iterative matching of subpatterns in non-greedy cases in YARR Interpreter
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS destructiveAddForBoxedInteger({x:1}, 2, 4) is 9
-PASS destructiveAddForBoxedInteger({x:2147483647}, 2, 4) is 2147483655
-PASS destructiveAddForBoxedInteger({x:2}, 2147483647, 4) is 4294967300
-PASS destructiveAddForBoxedInteger({x:2147483647}, 2147483647, 4) is 6442450945
-PASS destructiveAddForBoxedInteger({x:1}, 2, 2147483647) is 2147483652
+PASS "a".match(/(a)??/) is ["", undefined]
+PASS "b".match(/(a)??/) is ["", undefined]
+PASS "ab".match(/(a)??b/) is ["ab", "a"]
+PASS "aaab".match(/(a+)??b/) is ["aaab", "aaa"]
+PASS "abbc".match(/(a)??(b+)??c/) is ["abbc", "a", "bb"]
+PASS "ac".match(/(a)??(b)??c/) is ["ac", "a", undefined]
+PASS "abc".match(/(a(b)??)??c/) is ["abc", "ab", "b"]
+PASS "ac".match(/(a(b)??)??c/) is ["ac", "a", undefined]
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/fast/js/regexp-non-greedy-parentheses.js ('k') | test/webkit/fast/js/regexp-range-out-of-order.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698