Reviewers: mvstanton,

Description:
Land test case for RegExp.source.

BUG=chromium:447561
LOG=N
[email protected]

Please review this at https://codereview.chromium.org/878033003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+6, -12 lines):
  A + test/mjsunit/regress/regress-447561.js


Index: test/mjsunit/regress/regress-447561.js
diff --git a/test/mjsunit/compiler/regress-ntl-effect.js b/test/mjsunit/regress/regress-447561.js
similarity index 53%
copy from test/mjsunit/compiler/regress-ntl-effect.js
copy to test/mjsunit/regress/regress-447561.js
index 708fe32828c9197dfa3d8c371ab01cbc1ad3317a..0d7a321de0255805485053e6dfd618ad7fec6261 100644
--- a/test/mjsunit/compiler/regress-ntl-effect.js
+++ b/test/mjsunit/regress/regress-447561.js
@@ -2,15 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.

-// Flags: --allow-natives-syntax
-
-function g() {
-  throw 0;
-}
-
-function f() {
-  g();
-  while (1) {}
-}
-
-assertThrows(function () { f(); });
+__proto__ = /foo/gi;
+assertEquals("foo", source);
+assertTrue(global);
+assertTrue(ignoreCase);
+assertFalse(multiline);
+assertEquals(0, lastIndex);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to