Debian Codegraph @

js/src/tests/non262/regress/regress-1463421.js

raw
1 // |reftest| skip-if(!xulRuntime.shell) -- needs grayRoot
2
3 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7
8 var BUGNUMBER = 1463421;
9 var summary = 'rogue read barrier';
10
11 printBugNumber(BUGNUMBER);
12 printStatus (summary);
13
14 var exc;
15 try {
16 var __v_1173 = new WeakMap();
17 grayRoot().map = __v_1173;
18 __v_1173 = null;
19 gczeal(13, 7);
20 if (!isNaN()) {
21 }
22 (function __f_252() {
23 ( {
24 })()
25 })();
26 } catch (e) {
27 exc = e;
28 }
29
30 if (typeof reportCompare == 'function')
31 reportCompare("" + exc, "TypeError: ({}) is not a function", "ok");