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 9293edb0c0
commit dca54d5c02

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;