Bug 1105806: Add guards for existence of TypedObject in tests; r=jonco over IRC

This commit is contained in:
Benjamin Bouvier 2014-11-27 18:17:29 +01:00
Родитель 72621a3548
Коммит 9978d73b32
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,5 @@
if (!this.hasOwnProperty("TypedObject"))
quit();
gczeal(2); gczeal(2);
var Vec3u16Type = TypedObject.uint16.array(3); var Vec3u16Type = TypedObject.uint16.array(3);

Просмотреть файл

@ -1,3 +1,5 @@
if (!this.hasOwnProperty("TypedObject"))
quit();
var Vec3u16Type = TypedObject.uint16.array(3); var Vec3u16Type = TypedObject.uint16.array(3);