mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
Upgrade WebKit (#2643)
* Missing export * Regenerate builtins * Fix crash in require() * Various breaking JSC changes * hopefully speed up C++ compilation a little * Skip failing test fo rnow * Update WebKit * Add a comment * Fix error in postinstall * Update WebKit --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -5,12 +5,16 @@
|
||||
|
||||
#include "JavaScriptCore/JSObject.h"
|
||||
#include "JavaScriptCore/ObjectConstructor.h"
|
||||
#include "BunClientData.h"
|
||||
using namespace JSC;
|
||||
|
||||
extern "C" size_t Bun__getEnvNames(JSGlobalObject*, ZigString* names, size_t max);
|
||||
extern "C" bool Bun__getEnvValue(JSGlobalObject* globalObject, ZigString* name, ZigString* value);
|
||||
|
||||
namespace Bun {
|
||||
|
||||
using namespace WebCore;
|
||||
|
||||
JSC_DEFINE_CUSTOM_GETTER(jsGetterEnvironmentVariable, (JSGlobalObject * globalObject, EncodedJSValue thisValue, PropertyName propertyName))
|
||||
{
|
||||
VM& vm = globalObject->vm();
|
||||
|
||||
Reference in New Issue
Block a user