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

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

Issue 1543723002: Add web compat workarounds for ES2015 RegExp semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test expectations for new workaround 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
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 '/(?:)/'

Powered by Google App Engine
This is Rietveld 408576698