Revision: 22451
Author: [email protected]
Date: Thu Jul 17 13:23:02 2014 UTC
Log: Limit stack size when testing stack overflow in JSON.stringify.
[email protected]
Review URL: https://codereview.chromium.org/397073004
http://code.google.com/p/v8/source/detail?r=22451
Modified:
/branches/bleeding_edge/test/mjsunit/json-stringify-recursive.js
=======================================
--- /branches/bleeding_edge/test/mjsunit/json-stringify-recursive.js Mon
Nov 12 14:56:25 2012 UTC
+++ /branches/bleeding_edge/test/mjsunit/json-stringify-recursive.js Thu
Jul 17 13:23:02 2014 UTC
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --stack-size=100
+
var a = {};
for (i = 0; i < 10000; i++) {
var current = {};
--
--
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.