Debian Codegraph @

js/src/tests/non262/regress/regress-1456512.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 = 1456512;
9 var summary = 'rogue read barrier';
10
11 printBugNumber(BUGNUMBER);
12 printStatus (summary);
13
14 var wm = new WeakMap();
15 grayRoot().map = wm;
16 wm = null;
17 gczeal(13, 7);
18 var lfOffThreadGlobal = newGlobal();
19
20 if (typeof reportCompare == 'function')
21 reportCompare(true, true, "ok");