2
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7
//-----------------------------------------------------------------------------
8
var BUGNUMBER = 471197;
9
var summary = 'Do not crash when cx->thread is null';
14
//-----------------------------------------------------------------------------
16
//-----------------------------------------------------------------------------
21
printBugNumber(BUGNUMBER);
22
printStatus (summary);
29
for (var i = 0; i != 1000; ++i) {
33
if (typeof scatter == 'function')
35
results = scatter([f, f]);
39
print('Test skipped due to lack of scatter threadsafe function');
44
reportCompare(expect, actual, summary);