From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- js/src/tests/non262/regress/regress-406769.js | 152 ++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 js/src/tests/non262/regress/regress-406769.js (limited to 'js/src/tests/non262/regress/regress-406769.js') diff --git a/js/src/tests/non262/regress/regress-406769.js b/js/src/tests/non262/regress/regress-406769.js new file mode 100644 index 0000000000..3a9eee80d0 --- /dev/null +++ b/js/src/tests/non262/regress/regress-406769.js @@ -0,0 +1,152 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +//----------------------------------------------------------------------------- +var BUGNUMBER = 406769; +var summary = 'Regression from bug 398609 caused infinite loop'; +var actual = ''; +var expect = ''; + +//----------------------------------------------------------------------------- +test(); +//----------------------------------------------------------------------------- + +function test() +{ + printBugNumber(BUGNUMBER); + printStatus (summary); + +var a0; +var a1; +var a2; +var a3; +var a4; +var a5; +var a6; +var a7; +var a8; +var a9; +var a10; +var a11; +var a12; +var a13; +var a14; +var a15; +var a16; +var a17; +var a18; +var a19; +var a20; +var a21; +var a22; +var a23; +var a24; +var a25; +var a26; +var a27; +var a28; +var a29; +var a30; +var a31; +var a32; +var a33; +var a34; +var a35; +var a36; +var a37; +var a38; +var a39; +var a40; +var a41; +var a42; +var a43; +var a44; +var a45; +var a46; +var a47; +var a48; +var a49; +var a50; +var a51; +var a52; +var a53; +var a54; +var a55; +var a56; +var a57; +var a58; +var a59; +var a60; +var a61; +var a62; +var a63; +var a64; +var a65; +var a66; +var a67; +var a68; +var a69; +var a70; +var a71; +var a72; +var a73; +var a74; +var a75; +var a76; +var a77; +var a78; +var a79; +var a80; +var a81; +var a82; +var a83; +var a84; +var a85; +var a86; +var a87; +var a88; +var a89; +var a90; +var a91; +var a92; +var a93; +var a94; +var a95; +var a96; +var a97; +var a98; +var a99; +var a100; +var a101; +var a102; +var a103; +var a104; +var a105; +var a106; +var a107; +var a108; +var a109; +var a110; +var a111; +var a112; +var a113; +var a114; +var a115; +var a116; +var a117; +var a118; +var a119; +var a120; +var a121; +var a122; +var a123; +var a124; +var a125; +for (var a126 = 1; a126 < ([1,2,3]).length -1; ++a126) + 1; + + + reportCompare(expect, actual, summary); +} -- cgit v1.2.3