aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGlobalObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.h')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.h b/src/bun.js/bindings/ZigGlobalObject.h
index 41c304e10..17aee4645 100644
--- a/src/bun.js/bindings/ZigGlobalObject.h
+++ b/src/bun.js/bindings/ZigGlobalObject.h
@@ -330,6 +330,8 @@ public:
mutable WriteBarrier<Unknown> m_JSFetchHeadersSetterValue;
mutable WriteBarrier<Unknown> m_JSURLSearchParamsSetterValue;
+ JSObject* navigatorObject();
+
void trackFFIFunction(JSC::JSFunction* function)
{
this->m_ffiFunctions.append(JSC::Strong<JSC::JSFunction> { vm(), function });
@@ -382,6 +384,8 @@ private:
LazyClassStructure m_JSStringDecoderClassStructure;
LazyClassStructure m_JSReadableStateClassStructure;
+ LazyProperty<JSGlobalObject, JSObject> m_navigatorObject;
+
LazyProperty<JSGlobalObject, JSObject> m_JSArrayBufferControllerPrototype;
LazyProperty<JSGlobalObject, JSObject> m_JSHTTPSResponseControllerPrototype;
LazyProperty<JSGlobalObject, Structure> m_JSHTTPResponseController;