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

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

Issue 1419823010: Implement flag and source getters on RegExp.prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rproto
Patch Set: new webkit expectations 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
Index: test/mjsunit/regress/regress-447561.js
diff --git a/test/mjsunit/regress/regress-447561.js b/test/mjsunit/regress/regress-447561.js
index 0d7a321de0255805485053e6dfd618ad7fec6261..e1a5ba5aa59e633f2187bfc496a840a94f7f2589 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;
-assertEquals("foo", source);
-assertTrue(global);
-assertTrue(ignoreCase);
-assertFalse(multiline);
+assertThrows(function() { source });
+assertThrows(function() { global });
+assertThrows(function() { ignoreCase });
+assertThrows(function() { multiline });
assertEquals(0, lastIndex);
« src/bootstrapper.cc ('K') | « test/mjsunit/regexp.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698