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

Unified Diff: test/webkit/fast/regex/constructor.js

Issue 1448933002: Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/test262/test262.status ('k') | test/webkit/fast/regex/constructor-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/regex/constructor.js
diff --git a/test/webkit/fast/regex/constructor.js b/test/webkit/fast/regex/constructor.js
index 552d82e3ac2b8b1e6133ae44a64bf6de1192402e..e8ad726830d82e6a2d9d739c536643c245ccbab1 100644
--- a/test/webkit/fast/regex/constructor.js
+++ b/test/webkit/fast/regex/constructor.js
@@ -27,5 +27,5 @@ var re = /abc/;
shouldBeTrue("re === RegExp(re)");
shouldBeTrue("re !== new RegExp(re)");
-shouldThrow("re === RegExp(re,'i')");
-shouldThrow("re !== new RegExp(re,'i')");
+shouldBeFalse("re === RegExp(re,'i')");
+shouldBeTrue("re !== new RegExp(re,'i')");
« no previous file with comments | « test/test262/test262.status ('k') | test/webkit/fast/regex/constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698