MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / preventExtensions

Method preventExtensions

src/PyBaseProxyHandler.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool PyBaseProxyHandler::preventExtensions(JSContext *cx, JS::HandleObject proxy,
54 JS::ObjectOpResult &result) const {
55 result.succeed();
56 return true;
57}
58
59bool PyBaseProxyHandler::isExtensible(JSContext *cx, JS::HandleObject proxy,
60 bool *extensible) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected