1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 //-----------------------------------------------------------------------------
7 var BUGNUMBER = 273931;
8 var summary = 'Pop scope chain in exception handling';
10 var expect = 'ReferenceError';
12 printBugNumber(BUGNUMBER);
13 printStatus (summary);
15 status = summary + ' ' + inSection(1) + ' ';
33 reportCompare(expect, actual, status);
35 status = summary + ' ' + inSection(2) + ' ';
53 reportCompare(expect, actual, status);
55 status = summary + ' ' + inSection(3) + ' ';
74 reportCompare(expect, actual, status);