Title: [271304] trunk/Source/_javascript_Core
- Revision
- 271304
- Author
- [email protected]
- Date
- 2021-01-08 10:46:37 -0800 (Fri, 08 Jan 2021)
Log Message
Unreviewed, add missing scope.release() in JSModuleNamespaceObject
https://bugs.webkit.org/show_bug.cgi?id=220465
* runtime/JSModuleNamespaceObject.cpp:
(JSC::JSModuleNamespaceObject::getOwnPropertyNames):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (271303 => 271304)
--- trunk/Source/_javascript_Core/ChangeLog 2021-01-08 18:18:06 UTC (rev 271303)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-01-08 18:46:37 UTC (rev 271304)
@@ -1,3 +1,11 @@
+2021-01-08 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, add missing scope.release() in JSModuleNamespaceObject
+ https://bugs.webkit.org/show_bug.cgi?id=220465
+
+ * runtime/JSModuleNamespaceObject.cpp:
+ (JSC::JSModuleNamespaceObject::getOwnPropertyNames):
+
2021-01-08 Dmitry Bezhetskov <[email protected]>
[WASM-References] Add optional default value parameter for Table.constructor, Table.grow and Table.set
Modified: trunk/Source/_javascript_Core/runtime/JSModuleNamespaceObject.cpp (271303 => 271304)
--- trunk/Source/_javascript_Core/runtime/JSModuleNamespaceObject.cpp 2021-01-08 18:18:06 UTC (rev 271303)
+++ trunk/Source/_javascript_Core/runtime/JSModuleNamespaceObject.cpp 2021-01-08 18:46:37 UTC (rev 271304)
@@ -233,8 +233,10 @@
}
propertyNames.add(name.impl());
}
- if (propertyNames.includeSymbolProperties())
+ if (propertyNames.includeSymbolProperties()) {
+ scope.release();
thisObject->getOwnNonIndexPropertyNames(globalObject, propertyNames, mode);
+ }
}
bool JSModuleNamespaceObject::defineOwnProperty(JSObject* cell, JSGlobalObject* globalObject, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes