Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build/deps/webkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// -lto variants built with ThinLTO (per-module summaries for cross-language
// importing), and the Windows ICU data table filtered + per-item zstd
// compressed (lazily decompressed via bun_icu_decompress.cpp).
export const WEBKIT_VERSION = "9cb85a0716065c461bea14a0de9fe7139e5323aa";
export const WEBKIT_VERSION = "09f04cd5a489b7c0b44aed255bfafce2a316eada";

/**
* WebKit (JavaScriptCore) — the JS engine.
Expand Down
4 changes: 2 additions & 2 deletions src/jsc/bindings/NodeVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ bool NodeVMSpecialSandbox::getOwnPropertySlot(JSObject* cell, JSGlobalObject* gl
auto* thisObject = uncheckedDowncast<NodeVMSpecialSandbox>(cell);
NodeVMGlobalObject* parentGlobal = thisObject->parentGlobal();

if (propertyName.uid()->utf8() == "globalThis") [[unlikely]] {
if (propertyName == vm.propertyNames->globalThis) [[unlikely]] {
slot.disableCaching();
slot.setThisValue(thisObject);
slot.setValue(thisObject, slot.attributes(), thisObject);
Expand All @@ -963,7 +963,7 @@ bool NodeVMGlobalObject::getOwnPropertySlot(JSObject* cell, JSGlobalObject* glob

bool notContextified = thisObject->isNotContextified();

if (notContextified && propertyName.uid()->utf8() == "globalThis") [[unlikely]] {
if (notContextified && propertyName == vm.propertyNames->globalThis) [[unlikely]] {
slot.disableCaching();
slot.setThisValue(thisObject);
slot.setValue(thisObject, slot.attributes(), thisObject->specialSandbox());
Expand Down
Loading