From 03858115864827dc0f7c9d387cc1401e87e2b9c9 Mon Sep 17 00:00:00 2001 From: Daniel Minor Date: Sun, 23 Jun 2024 23:41:40 +0000 Subject: [PATCH] Bug 1903329 - Update test expectations; r=peterv Differential Revision: https://phabricator.services.mozilla.com/D214260 --- dom/serviceworkers/test/test_serviceworker_interfaces.js | 1 + dom/tests/mochitest/general/test_interfaces.js | 1 + dom/workers/test/test_worker_interfaces.js | 1 + js/xpconnect/tests/chrome/test_xrayToJS.xhtml | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dom/serviceworkers/test/test_serviceworker_interfaces.js b/dom/serviceworkers/test/test_serviceworker_interfaces.js index 5fb8c68ff0f9..9b2bb07da11f 100644 --- a/dom/serviceworkers/test/test_serviceworker_interfaces.js +++ b/dom/serviceworkers/test/test_serviceworker_interfaces.js @@ -63,6 +63,7 @@ let ecmaGlobals = [ "Error", "EvalError", "FinalizationRegistry", + "Float16Array", "Float32Array", "Float64Array", "Function", diff --git a/dom/tests/mochitest/general/test_interfaces.js b/dom/tests/mochitest/general/test_interfaces.js index 8150323ba7ae..c1099cec36df 100644 --- a/dom/tests/mochitest/general/test_interfaces.js +++ b/dom/tests/mochitest/general/test_interfaces.js @@ -96,6 +96,7 @@ let ecmaGlobals = [ { name: "Error", insecureContext: true }, { name: "EvalError", insecureContext: true }, { name: "FinalizationRegistry", insecureContext: true }, + { name: "Float16Array", insecureContext: true }, { name: "Float32Array", insecureContext: true }, { name: "Float64Array", insecureContext: true }, { name: "Function", insecureContext: true }, diff --git a/dom/workers/test/test_worker_interfaces.js b/dom/workers/test/test_worker_interfaces.js index ebe178656db4..f2e35a5d5a86 100644 --- a/dom/workers/test/test_worker_interfaces.js +++ b/dom/workers/test/test_worker_interfaces.js @@ -69,6 +69,7 @@ let ecmaGlobals = [ { name: "Error", insecureContext: true }, { name: "EvalError", insecureContext: true }, { name: "FinalizationRegistry", insecureContext: true }, + { name: "Float16Array", insecureContext: true }, { name: "Float32Array", insecureContext: true }, { name: "Float64Array", insecureContext: true }, { name: "Function", insecureContext: true }, diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xhtml b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml index a43f336c34cb..2596f7a3021c 100644 --- a/js/xpconnect/tests/chrome/test_xrayToJS.xhtml +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml @@ -336,7 +336,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681 "getInt32", "getUint32", "getFloat32", "getFloat64", "setInt8", "setUint8", "setInt16", "setUint16", "setInt32", "setUint32", "setFloat32", "setFloat64", - "getBigInt64", "getBigUint64", "setBigInt64", "setBigUint64"] + "getBigInt64", "getBigUint64", "setBigInt64", "setBigUint64", + "getFloat16", "setFloat16"]; gConstructorProperties.DataView = constructorProps([]); // Sort an array that may contain symbols as well as strings.