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

Unified Diff: test/webkit/fast/js/kde/RegExp-expected.txt

Issue 1545633002: Reland of Add web compat workarounds for ES2015 RegExp semantics (patchset #3 id:40001 of https://c… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move var declaration up to fix debug build Created 5 years 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
« no previous file with comments | « test/mjsunit/es6/regexp-flags.js ('k') | test/webkit/fast/regex/toString-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/kde/RegExp-expected.txt
diff --git a/test/webkit/fast/js/kde/RegExp-expected.txt b/test/webkit/fast/js/kde/RegExp-expected.txt
index a3e1f1c44bad7af64967bd4f8653193c1438f5d2..add9a29ccc39b2f6895cc8de24efc2b5567c51fd 100644
--- a/test/webkit/fast/js/kde/RegExp-expected.txt
+++ b/test/webkit/fast/js/kde/RegExp-expected.txt
@@ -114,7 +114,7 @@ PASS str.match(/d/gi).toString() is 'D,d'
PASS /\u0061/.source is '\\u0061'
PASS 'abc'.match(/\u0062/).toString() is 'b'
FAIL Object.prototype.toString.apply(RegExp.prototype) should be [object RegExp]. Was [object Object].
-FAIL typeof RegExp.prototype.toString() should be string. Threw exception TypeError: Method RegExp.prototype.toString called on incompatible receiver [object Object]
+PASS typeof RegExp.prototype.toString() is 'string'
PASS new RegExp().toString() is '/(?:)/'
PASS (new RegExp('(?:)')).source is '(?:)'
PASS /(?:)/.toString() is '/(?:)/'
« no previous file with comments | « test/mjsunit/es6/regexp-flags.js ('k') | test/webkit/fast/regex/toString-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698