Skip to content

Commit 7be331e

Browse files
committed
[flags] Delete enableDebugTracing (#31780)
This is unused, even in the one builds that uses it, and we don't plan on landing it in this form. DiffTrain build for [2d32056](2d32056)
1 parent da9bea2 commit 7be331e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+934
-2458
lines changed

compiled/facebook-www/JSXDEVRuntime-dev.classic.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ __DEV__ &&
493493
"function" === typeof type ||
494494
type === REACT_FRAGMENT_TYPE ||
495495
type === REACT_PROFILER_TYPE ||
496-
(enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) ||
497496
type === REACT_STRICT_MODE_TYPE ||
498497
type === REACT_SUSPENSE_TYPE ||
499498
type === REACT_SUSPENSE_LIST_TYPE ||
@@ -701,7 +700,6 @@ __DEV__ &&
701700
dynamicFeatureFlags = require("ReactFeatureFlags"),
702701
disableDefaultPropsExceptForClasses =
703702
dynamicFeatureFlags.disableDefaultPropsExceptForClasses,
704-
enableDebugTracing = dynamicFeatureFlags.enableDebugTracing,
705703
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
706704
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
707705
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
@@ -723,7 +721,6 @@ __DEV__ &&
723721
REACT_MEMO_TYPE = Symbol.for("react.memo"),
724722
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
725723
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
726-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
727724
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
728725
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
729726
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),

compiled/facebook-www/JSXDEVRuntime-dev.modern.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ __DEV__ &&
493493
"function" === typeof type ||
494494
type === REACT_FRAGMENT_TYPE ||
495495
type === REACT_PROFILER_TYPE ||
496-
(enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) ||
497496
type === REACT_STRICT_MODE_TYPE ||
498497
type === REACT_SUSPENSE_TYPE ||
499498
type === REACT_SUSPENSE_LIST_TYPE ||
@@ -701,7 +700,6 @@ __DEV__ &&
701700
dynamicFeatureFlags = require("ReactFeatureFlags"),
702701
disableDefaultPropsExceptForClasses =
703702
dynamicFeatureFlags.disableDefaultPropsExceptForClasses,
704-
enableDebugTracing = dynamicFeatureFlags.enableDebugTracing,
705703
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
706704
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
707705
renameElementSymbol = dynamicFeatureFlags.renameElementSymbol,
@@ -723,7 +721,6 @@ __DEV__ &&
723721
REACT_MEMO_TYPE = Symbol.for("react.memo"),
724722
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
725723
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
726-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
727724
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
728725
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
729726
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c80b336d23aa472b5e5910268138ac0447d6ae19
1+
2d320563f35ad75419983f166431055b4e7ed9f6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c80b336d23aa472b5e5910268138ac0447d6ae19
1+
2d320563f35ad75419983f166431055b4e7ed9f6

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ __DEV__ &&
187187
"function" === typeof type ||
188188
type === REACT_FRAGMENT_TYPE ||
189189
type === REACT_PROFILER_TYPE ||
190-
(enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) ||
191190
type === REACT_STRICT_MODE_TYPE ||
192191
type === REACT_SUSPENSE_TYPE ||
193192
type === REACT_SUSPENSE_LIST_TYPE ||
@@ -1111,7 +1110,6 @@ __DEV__ &&
11111110
var dynamicFeatureFlags = require("ReactFeatureFlags"),
11121111
disableDefaultPropsExceptForClasses =
11131112
dynamicFeatureFlags.disableDefaultPropsExceptForClasses,
1114-
enableDebugTracing = dynamicFeatureFlags.enableDebugTracing,
11151113
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
11161114
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
11171115
enableUseResourceEffectHook =
@@ -1135,7 +1133,6 @@ __DEV__ &&
11351133
REACT_MEMO_TYPE = Symbol.for("react.memo"),
11361134
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
11371135
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
1138-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
11391136
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
11401137
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
11411138
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -1860,7 +1857,6 @@ __DEV__ &&
18601857
}
18611858
};
18621859
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
1863-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
18641860
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
18651861
exports.unstable_Scope = REACT_SCOPE_TYPE;
18661862
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -1954,7 +1950,7 @@ __DEV__ &&
19541950
exports.useTransition = function () {
19551951
return resolveDispatcher().useTransition();
19561952
};
1957-
exports.version = "19.1.0-www-classic-c80b336d-20241214";
1953+
exports.version = "19.1.0-www-classic-2d320563-20241215";
19581954
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19591955
"function" ===
19601956
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ __DEV__ &&
187187
"function" === typeof type ||
188188
type === REACT_FRAGMENT_TYPE ||
189189
type === REACT_PROFILER_TYPE ||
190-
(enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) ||
191190
type === REACT_STRICT_MODE_TYPE ||
192191
type === REACT_SUSPENSE_TYPE ||
193192
type === REACT_SUSPENSE_LIST_TYPE ||
@@ -1111,7 +1110,6 @@ __DEV__ &&
11111110
var dynamicFeatureFlags = require("ReactFeatureFlags"),
11121111
disableDefaultPropsExceptForClasses =
11131112
dynamicFeatureFlags.disableDefaultPropsExceptForClasses,
1114-
enableDebugTracing = dynamicFeatureFlags.enableDebugTracing,
11151113
enableRenderableContext = dynamicFeatureFlags.enableRenderableContext,
11161114
enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing,
11171115
enableUseResourceEffectHook =
@@ -1135,7 +1133,6 @@ __DEV__ &&
11351133
REACT_MEMO_TYPE = Symbol.for("react.memo"),
11361134
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
11371135
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
1138-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
11391136
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
11401137
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
11411138
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -1860,7 +1857,6 @@ __DEV__ &&
18601857
}
18611858
};
18621859
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
1863-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
18641860
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
18651861
exports.unstable_Scope = REACT_SCOPE_TYPE;
18661862
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -1954,7 +1950,7 @@ __DEV__ &&
19541950
exports.useTransition = function () {
19551951
return resolveDispatcher().useTransition();
19561952
};
1957-
exports.version = "19.1.0-www-modern-c80b336d-20241214";
1953+
exports.version = "19.1.0-www-modern-2d320563-20241215";
19581954
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19591955
"function" ===
19601956
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"),
3535
REACT_MEMO_TYPE = Symbol.for("react.memo"),
3636
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
3737
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
38-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
3938
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
4039
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
4140
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -559,7 +558,6 @@ exports.startTransition = function (scope, options) {
559558
}
560559
};
561560
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
562-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
563561
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
564562
exports.unstable_Scope = REACT_SCOPE_TYPE;
565563
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -635,4 +633,4 @@ exports.useSyncExternalStore = function (
635633
exports.useTransition = function () {
636634
return ReactSharedInternals.H.useTransition();
637635
};
638-
exports.version = "19.1.0-www-classic-c80b336d-20241214";
636+
exports.version = "19.1.0-www-classic-2d320563-20241215";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"),
3535
REACT_MEMO_TYPE = Symbol.for("react.memo"),
3636
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
3737
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
38-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
3938
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
4039
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
4140
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -559,7 +558,6 @@ exports.startTransition = function (scope, options) {
559558
}
560559
};
561560
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
562-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
563561
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
564562
exports.unstable_Scope = REACT_SCOPE_TYPE;
565563
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -635,4 +633,4 @@ exports.useSyncExternalStore = function (
635633
exports.useTransition = function () {
636634
return ReactSharedInternals.H.useTransition();
637635
};
638-
exports.version = "19.1.0-www-modern-c80b336d-20241214";
636+
exports.version = "19.1.0-www-modern-2d320563-20241215";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"),
3939
REACT_MEMO_TYPE = Symbol.for("react.memo"),
4040
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
4141
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
42-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
4342
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
4443
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
4544
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -563,7 +562,6 @@ exports.startTransition = function (scope, options) {
563562
}
564563
};
565564
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
566-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
567565
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
568566
exports.unstable_Scope = REACT_SCOPE_TYPE;
569567
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -639,7 +637,7 @@ exports.useSyncExternalStore = function (
639637
exports.useTransition = function () {
640638
return ReactSharedInternals.H.useTransition();
641639
};
642-
exports.version = "19.1.0-www-classic-c80b336d-20241214";
640+
exports.version = "19.1.0-www-classic-2d320563-20241215";
643641
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644642
"function" ===
645643
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"),
3939
REACT_MEMO_TYPE = Symbol.for("react.memo"),
4040
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
4141
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
42-
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
4342
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
4443
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
4544
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
@@ -563,7 +562,6 @@ exports.startTransition = function (scope, options) {
563562
}
564563
};
565564
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
566-
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
567565
exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE;
568566
exports.unstable_Scope = REACT_SCOPE_TYPE;
569567
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
@@ -639,7 +637,7 @@ exports.useSyncExternalStore = function (
639637
exports.useTransition = function () {
640638
return ReactSharedInternals.H.useTransition();
641639
};
642-
exports.version = "19.1.0-www-modern-c80b336d-20241214";
640+
exports.version = "19.1.0-www-modern-2d320563-20241215";
643641
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
644642
"function" ===
645643
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)