зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1135338 - Do not run sharedtypedarray.js test if SharedArrayBuffer is not defined. r=jandem
--HG-- extra : histedit_source : 5afdc455606707a3b352f5ea1eeaff235b0b481b
This commit is contained in:
Родитель
256a142a70
Коммит
1a4f6dfdb7
|
@ -228,8 +228,10 @@ function testSharedTypedArrayMethods() {
|
|||
assertEq(v[9], -5);
|
||||
}
|
||||
|
||||
testSharedArrayBuffer();
|
||||
testSharedTypedArray();
|
||||
testSharedTypedArrayMethods();
|
||||
if (typeof SharedArrayBuffer === "function") {
|
||||
testSharedArrayBuffer();
|
||||
testSharedTypedArray();
|
||||
testSharedTypedArrayMethods();
|
||||
}
|
||||
|
||||
reportCompare(0, 0, 'ok');
|
||||
|
|
Загрузка…
Ссылка в новой задаче