diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:50:17 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:50:17 +0200 |
commit | a7f7a2231938e49ca2521fd417be7a313045c006 (patch) | |
tree | 6282d298b9b0200e43d79b91d5cb677ca51ac0ed /js/src/builtin/ModuleObject.cpp | |
parent | b2ec36808a240cd8169190168c915cd0463f8c87 (diff) | |
download | UXP-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/builtin/ModuleObject.cpp')
-rw-r--r-- | js/src/builtin/ModuleObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/ModuleObject.cpp b/js/src/builtin/ModuleObject.cpp index 921319028..f7323e852 100644 --- a/js/src/builtin/ModuleObject.cpp +++ b/js/src/builtin/ModuleObject.cpp @@ -394,7 +394,7 @@ ModuleNamespaceObject::ProxyHandler::getOwnPropertyDescriptor(JSContext* cx, Han desc.object().set(proxy); desc.setWritable(false); desc.setEnumerable(false); - desc.setConfigurable(true); + desc.setConfigurable(false); desc.setValue(value); return true; } |