summaryrefslogtreecommitdiff
path: root/js/xpconnect
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-06 10:01:37 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-06 10:02:00 +0000
commit1154e48843479efa00d81712cafcd9e520180030 (patch)
tree7702fbe0d5adc205b30856dae5d5063b3b81d9ba /js/xpconnect
parent9440be0ae35650e9ffd9d2ec3692c6fc932c3582 (diff)
downloaduxp-1154e48843479efa00d81712cafcd9e520180030.tar.gz
Issue #1639 - Implement object.fromEntries()
Adds a self-hosted implementation of this map->object conversion. This resolves #1639.
Diffstat (limited to 'js/xpconnect')
-rw-r--r--js/xpconnect/tests/chrome/test_xrayToJS.xul4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul
index 38f3f447d8..d1cc3e26c5 100644
--- a/js/xpconnect/tests/chrome/test_xrayToJS.xul
+++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul
@@ -190,9 +190,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
constructorProps(["setPrototypeOf", "getOwnPropertyDescriptor", "getOwnPropertyDescriptors",
"keys", "is", "defineProperty", "defineProperties", "create",
"getOwnPropertyNames", "getOwnPropertySymbols",
- "preventExtensions", "freeze", "isFrozen", "seal",
+ "preventExtensions", "freeze", "fromEntries", "isFrozen", "seal",
"isSealed", "assign", "getPrototypeOf", "values",
- "entries", "isExtensible"])
+ "entries", "isExtensible"]);
gPrototypeProperties['Array'] =
["length", "toSource", "toString", "toLocaleString", "join", "reverse", "sort", "push",
"pop", "shift", "unshift", "splice", "concat", "slice", "lastIndexOf", "indexOf",