diff --git a/js/tests/js1_5/Regress/regress-104077.js b/js/tests/js1_5/Regress/regress-104077.js index 18f7e01a9efe..67da2fefd560 100644 --- a/js/tests/js1_5/Regress/regress-104077.js +++ b/js/tests/js1_5/Regress/regress-104077.js @@ -268,6 +268,38 @@ captureThis(); +function entry_menu() +{ + var document = new Object(); + var dialog = new Object(); + var num = 100; + + with (document) + { + with (dialog) + { + try + { + while (true) + { + return num; + } + } + finally + { + } + } + } +} + +status = inSection(8); +actual = entry_menu(); +expect = 100; +captureThis(); + + + + //----------------------------------------------------------------------------- test(); //-----------------------------------------------------------------------------