* @brief base class for PyDictProxyHandler and PyListProxyHandler */
| 22 | * @brief base class for PyDictProxyHandler and PyListProxyHandler |
| 23 | */ |
| 24 | struct PyBaseProxyHandler : public js::BaseProxyHandler { |
| 25 | public: |
| 26 | PyBaseProxyHandler(const void *family) : js::BaseProxyHandler(family) {}; |
| 27 | |
| 28 | bool getPrototypeIfOrdinary(JSContext *cx, JS::HandleObject proxy, bool *isOrdinary, JS::MutableHandleObject protop) const override final; |
| 29 | bool preventExtensions(JSContext *cx, JS::HandleObject proxy, JS::ObjectOpResult &result) const override final; |
| 30 | bool isExtensible(JSContext *cx, JS::HandleObject proxy, bool *extensible) const override final; |
| 31 | }; |
| 32 | |
| 33 | enum ProxySlots {PyObjectSlot, OtherSlot}; |
| 34 |
nothing calls this directly
no outgoing calls
no test coverage detected