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

Unified Diff: test/mjsunit/regress/regress-447561.js

Issue 1432683002: Revert of Implement flag and source getters on RegExp.prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rproto
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/mjsunit/regexp.js ('k') | test/test262/test262.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-447561.js
diff --git a/test/mjsunit/regress/regress-447561.js b/test/mjsunit/regress/regress-447561.js
index e1a5ba5aa59e633f2187bfc496a840a94f7f2589..0d7a321de0255805485053e6dfd618ad7fec6261 100644
--- a/test/mjsunit/regress/regress-447561.js
+++ b/test/mjsunit/regress/regress-447561.js
@@ -3,8 +3,8 @@
// found in the LICENSE file.
__proto__ = /foo/gi;
-assertThrows(function() { source });
-assertThrows(function() { global });
-assertThrows(function() { ignoreCase });
-assertThrows(function() { multiline });
+assertEquals("foo", source);
+assertTrue(global);
+assertTrue(ignoreCase);
+assertFalse(multiline);
assertEquals(0, lastIndex);
« no previous file with comments | « test/mjsunit/regexp.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698