Skip to content

Commit

Permalink
Bump WebKit (#15828)
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
  • Loading branch information
Jarred-Sumner and dylan-conway authored Dec 18, 2024
1 parent 2272b85 commit b5b5100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/tools/SetupWebKit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")

if(NOT WEBKIT_VERSION)
set(WEBKIT_VERSION 58549ddc4d9e7164823fe9d4e86c46c003e46a19)
set(WEBKIT_VERSION 3845bf370ff4e9a5c0b96036255142c7904be963)
endif()

if(WEBKIT_LOCAL)
Expand Down
10 changes: 6 additions & 4 deletions src/bun.js/bindings/ZigGlobalObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,8 +1139,9 @@ const JSC::GlobalObjectMethodTable GlobalObject::s_globalObjectMethodTable = {
nullptr, // compileStreaming
nullptr, // instantiateStreaming
&Zig::deriveShadowRealmGlobalObject,
nullptr, // codeForEval
nullptr, // canCompileStrings
&codeForEval, // codeForEval
&canCompileStrings, // canCompileStrings
&trustedScriptStructure, // trustedScriptStructure
};

const JSC::GlobalObjectMethodTable EvalGlobalObject::s_globalObjectMethodTable = {
Expand All @@ -1164,8 +1165,9 @@ const JSC::GlobalObjectMethodTable EvalGlobalObject::s_globalObjectMethodTable =
nullptr, // compileStreaming
nullptr, // instantiateStreaming
&Zig::deriveShadowRealmGlobalObject,
nullptr, // codeForEval
nullptr, // canCompileStrings
&codeForEval, // codeForEval
&canCompileStrings, // canCompileStrings
&trustedScriptStructure, // trustedScriptStructure
};

GlobalObject::GlobalObject(JSC::VM& vm, JSC::Structure* structure, const JSC::GlobalObjectMethodTable* methodTable)
Expand Down

0 comments on commit b5b5100

Please sign in to comment.