Bug 1332240 - Properly guard a test case on SharedArrayBuffer. r=bbouvier
authorLars T Hansen <lhansen@mozilla.com>
Thu, 19 Jan 2017 11:51:46 +0100
changeset 375120 fb476a85015b45db1e8bcd45439c7767dcfa13a1
parent 375119 b3338b6713e03abd0fd7a5ae00d2d0d3b0a58a6b
child 375121 b16ebc0970fbd699e7012610ff74a518e5d8a328
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier
bugs1332240
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332240 - Properly guard a test case on SharedArrayBuffer. r=bbouvier
js/src/tests/js1_8_5/extensions/dataview.js
--- a/js/src/tests/js1_8_5/extensions/dataview.js
+++ b/js/src/tests/js1_8_5/extensions/dataview.js
@@ -1644,9 +1644,11 @@ function test(sharedMem) {
     dv = 1;
     gc();
 
     reportCompare(0, 0, 'done.');
     exitFunc ('test');
 }
 
 test(false);
-test(true);
+
+if (this.SharedArrayBuffer)
+    test(true);