Skip to content

Commit b5b5100

Browse files
Bump WebKit (#15828)
Co-authored-by: Dylan Conway <[email protected]>
1 parent 2272b85 commit b5b5100

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cmake/tools/SetupWebKit.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
22
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")
33

44
if(NOT WEBKIT_VERSION)
5-
set(WEBKIT_VERSION 58549ddc4d9e7164823fe9d4e86c46c003e46a19)
5+
set(WEBKIT_VERSION 3845bf370ff4e9a5c0b96036255142c7904be963)
66
endif()
77

88
if(WEBKIT_LOCAL)

src/bun.js/bindings/ZigGlobalObject.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,8 +1139,9 @@ const JSC::GlobalObjectMethodTable GlobalObject::s_globalObjectMethodTable = {
11391139
nullptr, // compileStreaming
11401140
nullptr, // instantiateStreaming
11411141
&Zig::deriveShadowRealmGlobalObject,
1142-
nullptr, // codeForEval
1143-
nullptr, // canCompileStrings
1142+
&codeForEval, // codeForEval
1143+
&canCompileStrings, // canCompileStrings
1144+
&trustedScriptStructure, // trustedScriptStructure
11441145
};
11451146

11461147
const JSC::GlobalObjectMethodTable EvalGlobalObject::s_globalObjectMethodTable = {
@@ -1164,8 +1165,9 @@ const JSC::GlobalObjectMethodTable EvalGlobalObject::s_globalObjectMethodTable =
11641165
nullptr, // compileStreaming
11651166
nullptr, // instantiateStreaming
11661167
&Zig::deriveShadowRealmGlobalObject,
1167-
nullptr, // codeForEval
1168-
nullptr, // canCompileStrings
1168+
&codeForEval, // codeForEval
1169+
&canCompileStrings, // canCompileStrings
1170+
&trustedScriptStructure, // trustedScriptStructure
11691171
};
11701172

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

0 commit comments

Comments
 (0)