summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:59:22 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:59:22 +0200
commitc60cefb1b02be321f56f64dcccc6d6b7670e4293 (patch)
tree021d34536b70456dd8124065e4e1763ae3228dfc
parent3bd16c90800e8ec6ef8d7f135d8435bbbc0b94e6 (diff)
downloadUXP-c60cefb1b02be321f56f64dcccc6d6b7670e4293.tar
UXP-c60cefb1b02be321f56f64dcccc6d6b7670e4293.tar.gz
UXP-c60cefb1b02be321f56f64dcccc6d6b7670e4293.tar.lz
UXP-c60cefb1b02be321f56f64dcccc6d6b7670e4293.tar.xz
UXP-c60cefb1b02be321f56f64dcccc6d6b7670e4293.zip
Bug 1339986 - Handle export* when checking for duplicate export
-rw-r--r--js/src/builtin/ModuleObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/ModuleObject.cpp b/js/src/builtin/ModuleObject.cpp
index 444d8962d..7d2204259 100644
--- a/js/src/builtin/ModuleObject.cpp
+++ b/js/src/builtin/ModuleObject.cpp
@@ -147,7 +147,7 @@ DEFINE_GETTER_FUNCTIONS(ExportEntryObject, moduleRequest, ModuleRequestSlot)
DEFINE_GETTER_FUNCTIONS(ExportEntryObject, importName, ImportNameSlot)
DEFINE_GETTER_FUNCTIONS(ExportEntryObject, localName, LocalNameSlot)
-DEFINE_ATOM_ACCESSOR_METHOD(ExportEntryObject, exportName)
+DEFINE_ATOM_OR_NULL_ACCESSOR_METHOD(ExportEntryObject, exportName)
DEFINE_ATOM_OR_NULL_ACCESSOR_METHOD(ExportEntryObject, moduleRequest)
DEFINE_ATOM_OR_NULL_ACCESSOR_METHOD(ExportEntryObject, importName)
DEFINE_ATOM_OR_NULL_ACCESSOR_METHOD(ExportEntryObject, localName)