summaryrefslogtreecommitdiffstats
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:01:37 +0000
commit4698b4b3cadd2547cf87a03daebaa23e3bd92cd5 (patch)
tree116750daa4df440186a8f79a0ab26726eaf4bb4a /js/xpconnect
parent798f0bd3ad1f5b1abd9ed7c4832dbbac51be9f8b (diff)
downloadUXP-4698b4b3cadd2547cf87a03daebaa23e3bd92cd5.tar
UXP-4698b4b3cadd2547cf87a03daebaa23e3bd92cd5.tar.gz
UXP-4698b4b3cadd2547cf87a03daebaa23e3bd92cd5.tar.lz
UXP-4698b4b3cadd2547cf87a03daebaa23e3bd92cd5.tar.xz
UXP-4698b4b3cadd2547cf87a03daebaa23e3bd92cd5.zip
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 38f3f447d..d1cc3e26c 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",