diff options
author | 2022-10-28 18:58:05 -0700 | |
---|---|---|
committer | 2022-10-28 18:58:05 -0700 | |
commit | 4c8a08d6ba10832ade89df3d82e0866f0ac8f119 (patch) | |
tree | f30ea2f9fe4aa62a4569619573428e2b6a480243 /src/bun.js/bindings/ZigGlobalObject.cpp | |
parent | 280c45c2693546dbc915a0812e855ddda1734739 (diff) | |
download | bun-4c8a08d6ba10832ade89df3d82e0866f0ac8f119.tar.gz bun-4c8a08d6ba10832ade89df3d82e0866f0ac8f119.tar.zst bun-4c8a08d6ba10832ade89df3d82e0866f0ac8f119.zip |
space
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.cpp')
-rw-r--r-- | src/bun.js/bindings/ZigGlobalObject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp index 42e412f9c..4ef773995 100644 --- a/src/bun.js/bindings/ZigGlobalObject.cpp +++ b/src/bun.js/bindings/ZigGlobalObject.cpp @@ -1280,7 +1280,7 @@ JSC_DEFINE_CUSTOM_GETTER(getterSubtleCryptoConstructor, (JSGlobalObject * lexica JSC_DEFINE_CUSTOM_GETTER(getterCryptoKeyConstructor, (JSGlobalObject * lexicalGlobalObject, EncodedJSValue thisValue, PropertyName attributeName)) { Zig::GlobalObject* thisObject = JSC::jsCast<Zig::GlobalObject*>(lexicalGlobalObject); - return JSValue::encode( + return JSValue::encode( JSCryptoKey::getConstructor(thisObject->vm(), thisObject)); } @@ -2168,7 +2168,7 @@ void GlobalObject::finishCreation(VM& vm) addBuiltinGlobals(vm); #if ENABLE(REMOTE_INSPECTOR) - setRemoteDebuggingEnabled(false); + setInspectable(false); #endif RELEASE_ASSERT(classInfo()); @@ -2787,7 +2787,7 @@ extern "C" bool JSC__JSGlobalObject__startRemoteInspector(JSC__JSGlobalObject* g #if !ENABLE(REMOTE_INSPECTOR) return false; #else - globalObject->setRemoteDebuggingEnabled(true); + globalObject->setInspectable(true); auto& server = Inspector::RemoteInspectorServer::singleton(); return server.start(reinterpret_cast<const char*>(host), arg1); #endif |