Bug 1135338 - Do not run sharedtypedarray.js test if SharedArrayBuffer is not defined. r=jandem

This commit is contained in:
Tooru Fujisawa 2015-02-21 16:42:18 +09:00
parent b2b221690e
commit e869f1d45d

View File

@ -228,8 +228,10 @@ function testSharedTypedArrayMethods() {
assertEq(v[9], -5);
}
if (typeof SharedArrayBuffer === "function") {
testSharedArrayBuffer();
testSharedTypedArray();
testSharedTypedArrayMethods();
}
reportCompare(0, 0, 'ok');