From 16602df0833dd5a26d0f4be0952034be23babcae Mon Sep 17 00:00:00 2001 From: Lars T Hansen Date: Thu, 3 Nov 2016 19:00:09 +0100 Subject: [PATCH] Bug 1314564 - adapt xray tests for SharedArrayBuffer to include new properties. r=bz --HG-- extra : rebase_source : 9b84f4e1ac126964d241e51666188e0d7b137d49 --- js/xpconnect/tests/chrome/test_xrayToJS.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul index 023c2f87e751..cf96526f4b10 100644 --- a/js/xpconnect/tests/chrome/test_xrayToJS.xul +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul @@ -258,8 +258,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681 constructorProps(["isView", "slice", Symbol.species]); if (!isReleaseOrBeta) { - gPrototypeProperties['SharedArrayBuffer'] = ["constructor", "byteLength"]; - gConstructorProperties['SharedArrayBuffer'] = constructorProps([]); + gPrototypeProperties['SharedArrayBuffer'] = ["constructor", "byteLength", Symbol.toStringTag]; + gConstructorProperties['SharedArrayBuffer'] = constructorProps([Symbol.species]); } else { is(typeof SharedArrayBuffer, "undefined", "Enable tests!"); }