summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:50:17 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:50:17 +0200
commita7f7a2231938e49ca2521fd417be7a313045c006 (patch)
tree6282d298b9b0200e43d79b91d5cb677ca51ac0ed /js/src/jit-test/tests/modules
parentb2ec36808a240cd8169190168c915cd0463f8c87 (diff)
downloadUXP-a7f7a2231938e49ca2521fd417be7a313045c006.tar
UXP-a7f7a2231938e49ca2521fd417be7a313045c006.tar.gz
UXP-a7f7a2231938e49ca2521fd417be7a313045c006.tar.lz
UXP-a7f7a2231938e49ca2521fd417be7a313045c006.tar.xz
UXP-a7f7a2231938e49ca2521fd417be7a313045c006.zip
Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to non-configurable
Diffstat (limited to 'js/src/jit-test/tests/modules')
-rw-r--r--js/src/jit-test/tests/modules/import-namespace.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit-test/tests/modules/import-namespace.js b/js/src/jit-test/tests/modules/import-namespace.js
index 94a48461d..71a1ce7df 100644
--- a/js/src/jit-test/tests/modules/import-namespace.js
+++ b/js/src/jit-test/tests/modules/import-namespace.js
@@ -59,7 +59,7 @@ desc = Object.getOwnPropertyDescriptor(ns, Symbol.toStringTag);
assertEq(desc.value, "Module");
assertEq(desc.writable, false);
assertEq(desc.enumerable, false);
-assertEq(desc.configurable, true);
+assertEq(desc.configurable, false);
assertEq(typeof desc.get, "undefined");
assertEq(typeof desc.set, "undefined");
assertEq(Object.prototype.toString.call(ns), "[object Module]");