Bug 1135368 - Do not run shell/futex.js test if SharedArrayBuffer is not defined. r=luke

This commit is contained in:
Tooru Fujisawa 2015-02-22 12:00:28 +09:00
parent 9eeb7dc0d8
commit cd4d2598b2

View File

@ -5,7 +5,7 @@
* http://creativecommons.org/licenses/publicdomain/
*/
if ((this.SharedArrayBuffer && this.AtomicsObject && this.getSharedArrayBuffer && this.setSharedArrayBuffer))
if (!(this.SharedArrayBuffer && this.getSharedArrayBuffer && this.setSharedArrayBuffer))
quit(0);
var DEBUG = false;