From 8b52f14ae5ad2eaeb33b565edf739989ee5ba170 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 8 Sep 2026 11:26:26 +0200 Subject: [PATCH] Revert "deps: enable V8 API interrupt JS check" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 49e26084925d3e177000cc1bcb74b76f8b108f7b. PR-URL: https://github.com/nodejs/node/pull/65907 Reviewed-By: Filip Skokan Reviewed-By: Richard Lau Reviewed-By: Gürgün Dayıoğlu Reviewed-By: Chengzhong Wu Reviewed-By: James M Snell --- common.gypi | 5 ----- tools/v8_gypfiles/features.gypi | 6 ------ 2 files changed, 11 deletions(-) diff --git a/common.gypi b/common.gypi index ce602beccf6..e6a17d3505a 100644 --- a/common.gypi +++ b/common.gypi @@ -55,8 +55,6 @@ # Refs: https://github.com/nodejs/node/issues/23167 # Enable compiler warnings when using V8_DEPRECATED apis from V8 code. 'v8_deprecation_warnings': 0, - # Check that JavaScript execution is disallowed in V8 API interrupts. - 'v8_disallow_js_in_api_interrupts_is_checked': 1, # Enable compiler warnings when using V8_DEPRECATE_SOON apis from V8 code. 'v8_imminent_deprecation_warnings': 0, @@ -537,9 +535,6 @@ ['v8_deprecation_warnings == 1', { 'defines': ['V8_DEPRECATION_WARNINGS',], }], - ['v8_disallow_js_in_api_interrupts_is_checked == 1', { - 'defines': ['V8_DISALLOW_JS_IN_API_INTERRUPTS_IS_CHECKED',], - }], ['v8_imminent_deprecation_warnings == 1', { 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], }], diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 9c8c94a1708..d656c7492de 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -107,9 +107,6 @@ # Enable compiler warnings when using V8_DEPRECATED apis. 'v8_deprecation_warnings%': 0, - # Check that JavaScript execution is disallowed in V8 API interrupts. - 'v8_disallow_js_in_api_interrupts_is_checked%': 0, - # Enable compiler warnings when using V8_DEPRECATE_SOON apis. 'v8_imminent_deprecation_warnings%': 0, @@ -420,9 +417,6 @@ ['v8_deprecation_warnings==1', { 'defines': ['V8_DEPRECATION_WARNINGS',], }], - ['v8_disallow_js_in_api_interrupts_is_checked==1', { - 'defines': ['V8_DISALLOW_JS_IN_API_INTERRUPTS_IS_CHECKED',], - }], ['v8_imminent_deprecation_warnings==1', { 'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',], }],