diff --git a/.scripts/make-dev-timer.ts b/.scripts/make-dev-timer.ts deleted file mode 100644 index 4b5f8d5359..0000000000 --- a/.scripts/make-dev-timer.ts +++ /dev/null @@ -1,21 +0,0 @@ -// I would have made this a bash script but there isn't an easy way to track -// time in bash sub-second cross platform. -import fs from "fs"; -const start = Date.now() + 5; -const result = Bun.spawnSync(process.argv.slice(2), { - stdio: ["inherit", "inherit", "inherit"], -}); -const end = Date.now(); -const diff = (Math.max(Math.round(end - start), 0) / 1000).toFixed(3); -const success = result.exitCode === 0; -try { - const line = `${new Date().toISOString()}, ${success ? "success" : "fail"}, ${diff}\n`; - if (fs.existsSync(".scripts/make-dev-stats.csv")) { - fs.appendFileSync(".scripts/make-dev-stats.csv", line); - } else { - fs.writeFileSync(".scripts/make-dev-stats.csv", line); - } -} catch { - // Ignore -} -process.exit(result.exitCode); diff --git a/CMakeLists.txt b/CMakeLists.txt index f49600fbb4..7ac8a08043 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ set(BUN_OBJECT_LUT_SOURCES bun.js/bindings/BunObject.cpp bun.js/bindings/ZigGlobalObject.lut.txt bun.js/bindings/JSBuffer.cpp - bun.js/bindings/Process.cpp + bun.js/bindings/BunProcess.cpp bun.js/bindings/ProcessBindingConstants.cpp bun.js/bindings/ProcessBindingNatives.cpp ) @@ -317,6 +317,10 @@ macro(GENERATE_HASH_LUT _input _output _display_name) WEBKIT_ADD_SOURCE_DEPENDENCIES(${_input} ${_output}) endmacro() foreach(_file ${BUN_OBJECT_LUT_SOURCES}) + if(NOT EXISTS "${BUN_SRC}/${_file}") + message(FATAL_ERROR "Could not find ${_file} needed for LUT generation") + endif() + get_filename_component(_name ${_file} NAME_WE) # workaround for ZigGlobalObject diff --git a/Makefile b/Makefile index 57b3f5d26c..32c2779275 100644 --- a/Makefile +++ b/Makefile @@ -38,11 +38,7 @@ NATIVE_OR_OLD_MARCH = -march=nehalem endif MIN_MACOS_VERSION ?= $(DEFAULT_MIN_MACOS_VERSION) -<<<<<<< HEAD -BUN_BASE_VERSION = 0.9 -======= BUN_BASE_VERSION = 1.0 ->>>>>>> main CI ?= false diff --git a/src/bun.js/bindings/BunPlugin.cpp b/src/bun.js/bindings/BunPlugin.cpp index 49342cb8f2..489bafc17b 100644 --- a/src/bun.js/bindings/BunPlugin.cpp +++ b/src/bun.js/bindings/BunPlugin.cpp @@ -15,9 +15,12 @@ #include #include #include +#include #include #include "BunClientData.h" +#include "isBuiltinModule.h" + #include namespace Zig { diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp index da5b106db9..711a3ae1ad 100644 --- a/src/bun.js/bindings/ZigGlobalObject.cpp +++ b/src/bun.js/bindings/ZigGlobalObject.cpp @@ -101,6 +101,7 @@ #include #include #include +#include #include "napi.h" #include "JSSQLStatement.h" #include "ModuleLoader.h" diff --git a/src/bun.js/bindings/cmakeconfig.h b/src/bun.js/bindings/cmakeconfig.h deleted file mode 100644 index 520d4c222e..0000000000 --- a/src/bun.js/bindings/cmakeconfig.h +++ /dev/null @@ -1,887 +0,0 @@ -#ifndef CMAKECONFIG_H -#define CMAKECONFIG_H - -#define ALLOW_LINE_AND_COLUMN_NUMBER_IN_BUILTINS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_3D_TRANSFORMS 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY 1 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_ACCESSIBILITY_ISOLATED_TREE 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_API_TESTS 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLE_PAY 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_APPLICATION_MANIFEST 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ASYNC_SCROLLING 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_ATTACHMENT_ELEMENT 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AUTOCAPITALIZE 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_AVF_CAPTIONS 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BREAKPAD 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUBBLEWRAP_SANDBOX 0 -#define ENABLE_BUN_SKIP_FAILING_ASSERTIONS 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CACHE_PARTITIONING 0 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_CHANNEL_MESSAGING 1 -#define ENABLE_COG 0 -#define ENABLE_COG 0 -#define ENABLE_COG 0 -#define ENABLE_COG 0 -#define ENABLE_COG 0 -#define ENABLE_COG 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_EXTENSIONS 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTENT_FILTERING 0 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CONTEXT_MENUS 1 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CORE_IMAGE_ACCELERATED_FILTER_RENDER 0 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_BOX_DECORATION_BREAK 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_COMPOSITING 1 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_CONIC_GRADIENTS 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CSS_PAINTING_API 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_CURSOR_VISIBILITY 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_C_LOOP 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DARK_MODE_CSS 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATACUE_VALUE 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DATALIST_ELEMENT 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DEVICE_ORIENTATION 0 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DFG_JIT 1 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DOWNLOAD_ATTRIBUTE 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_DRAG_SUPPORT 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_ENCRYPTED_MEDIA 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_EXPERIMENTAL_FEATURES 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FILTERS_LEVEL_2 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTL_JIT 0 -#define ENABLE_FTPDIR 1 -#define ENABLE_FTPDIR 1 -#define ENABLE_FTPDIR 1 -#define ENABLE_FTPDIR 1 -#define ENABLE_FTPDIR 1 -#define ENABLE_FTPDIR 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_FULLSCREEN_API 1 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GAMEPAD 0 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GEOLOCATION 1 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_GPU_PROCESS 0 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_IMAGE_DIFF 1 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_COLOR 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATE 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_MONTH 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_TIME 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INPUT_TYPE_WEEK 0 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 1 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_EXTENSIONS 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_INSPECTOR_TELEMETRY 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_GESTURE_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_IOS_TOUCH_EVENTS 0 -#define ENABLE_JIT 1 -#define ENABLE_JIT 1 -#define ENABLE_JIT 1 -#define ENABLE_JIT 1 -#define ENABLE_JIT 1 -#define ENABLE_JIT 1 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYER_BASED_SVG_ENGINE 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LAYOUT_TESTS 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LEGACY_ENCRYPTED_MEDIA 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LETTERPRESS 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_LLVM_PROFILE_GENERATION 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MANAGED_MEDIA_SOURCE 0 -#define ENABLE_MATHML 1 -#define ENABLE_MATHML 1 -#define ENABLE_MATHML 1 -#define ENABLE_MATHML 1 -#define ENABLE_MATHML 1 -#define ENABLE_MATHML 1 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CAPTURE 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS 0 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_CONTROLS_SCRIPT 1 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_RECORDER 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_COORDINATOR 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SESSION_PLAYLIST 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_SOURCE 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STATISTICS 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEDIA_STREAM 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MEMORY_SAMPLER 0 -#define ENABLE_MHTML 0 -#define ENABLE_MHTML 0 -#define ENABLE_MHTML 0 -#define ENABLE_MHTML 0 -#define ENABLE_MHTML 0 -#define ENABLE_MHTML 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MINIBROWSER 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MODERN_MEDIA_CONTROLS 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_MOUSE_CURSOR_SCALE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NAVIGATOR_STANDALONE 0 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETSCAPE_PLUGIN_API 1 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE 0 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_NOTIFICATIONS 1 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_ORIENTATION_EVENTS 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PAYMENT_REQUEST 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFJS 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PDFKIT_PLUGIN 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PERIODIC_MEMORY_MONITOR 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_PICTURE_IN_PICTURE_API 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_POINTER_LOCK 0 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_PUBLIC_SUFFIX_LIST 1 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_RELEASE_LOG 0 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_REMOTE_INSPECTOR 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RESOURCE_USAGE 1 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_RUBBER_BANDING 0 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SAMPLING_PROFILER 1 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SANDBOX_EXTENSIONS 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVER_PRECONNECT 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_CONTROLS 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SERVICE_WORKER 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SHAREABLE_RESOURCE 0 -#define ENABLE_SINGLE_THREADED_VM_ENTRY_SCOPE 1 -#define ENABLE_SINGLE_THREADED_VM_ENTRY_SCOPE 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SMOOTH_SCROLLING 1 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPEECH_SYNTHESIS 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_SPELLCHECK 0 -#define ENABLE_STATIC_JSC 1 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TELEPHONE_NUMBER_DETECTION 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_TEXT_AUTOSIZING 0 -#define ENABLE_THUNDER 0 -#define ENABLE_THUNDER 0 -#define ENABLE_THUNDER 0 -#define ENABLE_THUNDER 0 -#define ENABLE_THUNDER 0 -#define ENABLE_THUNDER 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TOUCH_EVENTS 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_TRACKING_PREVENTION 0 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_UNIFIED_BUILDS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_USER_MESSAGE_HANDLERS 1 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VARIATION_FONTS 0 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO 1 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_PRESENTATION_MODE 0 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN 1 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_B3JIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBASSEMBLY_BBQJIT 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_GRAPHEME_CLUSTERS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_MOUSE_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_TOUCH_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBDRIVER_WHEEL_INTERACTIONS 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBGL 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEBXR 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_API_STATISTICS 0 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUDIO 1 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_AUTHN 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CODECS 0 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_CRYPTO 1 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WEB_RTC 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_WIRELESS_PLAYBACK_TARGET 0 -#define ENABLE_XSLT 1 -#define ENABLE_XSLT 1 -#define ENABLE_XSLT 1 -#define ENABLE_XSLT 1 -#define ENABLE_XSLT 1 -#define ENABLE_XSLT 1 -#define HAVE_ALIGNED_MALLOC 1 -#define HAVE_ERRNO_H 1 -#define HAVE_FEATURES_H 0 -#define HAVE_LANGINFO_H 0 -#define HAVE_LINUX_MEMFD_H 0 -#define HAVE_LOCALTIME_R 0 -#define HAVE_MALLOC_TRIM 0 -#define HAVE_MAP_ALIGNED 0 -#define HAVE_MMAP 0 -#define HAVE_PTHREAD_MAIN_NP 0 -#define HAVE_PTHREAD_NP_H 0 -#define HAVE_REGEX_H 0 -#define HAVE_SHM_ANON 0 -#define HAVE_SIGNAL_H 0 -#define HAVE_STATX 0 -#define HAVE_STAT_BIRTHTIME 0 -#define HAVE_STRNSTR 0 -#define HAVE_SYS_PARAM_H 0 -#define HAVE_SYS_TIMEB_H 1 -#define HAVE_SYS_TIME_H 0 -#define HAVE_TIMEGM 0 -#define HAVE_TIMINGSAFE_BCMP 0 -#define HAVE_TM_GMTOFF 0 -#define HAVE_TM_ZONE 0 -#define HAVE_VASPRINTF 0 -#define JS_NO_EXPORT 1 -#define USE_64KB_PAGE_BLOCK 0 -#define USE_ALLOW_LINE_AND_COLUMN_NUMBER_IN_BUILTINS 1 -#define USE_AVIF 1 -#define USE_AVIF 1 -#define USE_AVIF 1 -#define USE_AVIF 1 -#define USE_AVIF 1 -#define USE_AVIF 1 -#define USE_BUN_JSC_ADDITIONS 1 -#define USE_BUN_JSC_ADDITIONS 1 -#define USE_GENERIC_EVENT_LOOP 1 -#define USE_INSPECTOR_SOCKET_SERVER 1 -#define USE_ISO_MALLOC 1 -#define USE_ISO_MALLOC 1 -#define USE_ISO_MALLOC 1 -#define USE_ISO_MALLOC 1 -#define USE_ISO_MALLOC 1 -#define USE_ISO_MALLOC 1 -#define USE_JPEGXL 1 -#define USE_JPEGXL 1 -#define USE_JPEGXL 1 -#define USE_JPEGXL 1 -#define USE_JPEGXL 1 -#define USE_JPEGXL 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_SYSTEM_MALLOC 1 -#define USE_UNIX_DOMAIN_SOCKETS 1 -#define WTF_DEFAULT_EVENT_LOOP 0 - -#endif /* CMAKECONFIG_H */ diff --git a/src/bun.js/bindings/isBuiltinModule.cpp b/src/bun.js/bindings/isBuiltinModule.cpp index b8e69f479d..ee1bd77a76 100644 --- a/src/bun.js/bindings/isBuiltinModule.cpp +++ b/src/bun.js/bindings/isBuiltinModule.cpp @@ -83,16 +83,17 @@ static constexpr ASCIILiteral builtinModuleNamesSortedLength[] = { namespace Bun { -bool isBuiltinModule(const String &namePossiblyWithNodePrefix) { - String name = namePossiblyWithNodePrefix; - if (name.startsWith("node:"_s)) - name = name.substringSharingImpl(5); +bool isBuiltinModule(const String& namePossiblyWithNodePrefix) +{ + String name = namePossiblyWithNodePrefix; + if (name.startsWith("node:"_s)) + name = name.substringSharingImpl(5); - for (auto &builtinModule : builtinModuleNamesSortedLength) { - if (name == builtinModule) - return true; - } - return false; + for (auto& builtinModule : builtinModuleNamesSortedLength) { + if (name == builtinModule) + return true; + } + return false; } } // namespace Bun \ No newline at end of file diff --git a/src/bun.js/bindings/sqlite/JSSQLStatement.cpp b/src/bun.js/bindings/sqlite/JSSQLStatement.cpp index e026319356..e5c3c1d7f8 100644 --- a/src/bun.js/bindings/sqlite/JSSQLStatement.cpp +++ b/src/bun.js/bindings/sqlite/JSSQLStatement.cpp @@ -16,12 +16,12 @@ #include #include #include -#include "Buffer.h" #include "GCDefferalContext.h" #include #include "DOMJITIDLConvert.h" #include "DOMJITIDLType.h" +#include "JSBuffer.h" #include "DOMJITIDLTypeFilter.h" #include "DOMJITHelpers.h" #include diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp b/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp index 66a8e6dd06..ad35cafe5a 100644 --- a/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp +++ b/src/bun.js/bindings/webcrypto/CryptoAlgorithmHMACOpenSSL.cpp @@ -81,8 +81,7 @@ ExceptionOr CryptoAlgorithmHMAC::platformVerify(const CryptoKeyHMAC& key, if (!expectedSignature) return Exception { OperationError }; // Using a constant time comparison to prevent timing attacks. - // TODO(@paperdave 2023-10-18): change this back to constantTimeMemcmp once figure out the linking issue. - return signature.size() == expectedSignature->size() && !memcmp(expectedSignature->data(), signature.data(), expectedSignature->size()); + return signature.size() == expectedSignature->size() && !constantTimeMemcmp(expectedSignature->data(), signature.data(), expectedSignature->size()); } } // namespace WebCore diff --git a/src/deps/libarchive b/src/deps/libarchive index 04be21ea4d..dc321febde 160000 --- a/src/deps/libarchive +++ b/src/deps/libarchive @@ -1 +1 @@ -Subproject commit 04be21ea4d973c2c80a1d456e0ea3fa3851e9174 +Subproject commit dc321febde83dd0f31158e1be61a7aedda65e7a2 diff --git a/src/deps/mimalloc b/src/deps/mimalloc index 959a9be205..7968d42850 160000 --- a/src/deps/mimalloc +++ b/src/deps/mimalloc @@ -1 +1 @@ -Subproject commit 959a9be20505d8a5030f96d1908cba01cf56b761 +Subproject commit 7968d4285043401bb36573374710d47a4081a063