Skip to content

Commit c9c1063

Browse files
rickhanloniigaearon
authored andcommitted
Remove outdated enableSchedulerDebugging flag (#28101)
This flag was moved to the scheduler feature flags, so these flags don't do anything.
1 parent 893316d commit c9c1063

7 files changed

+0
-14
lines changed

packages/shared/ReactFeatureFlags.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ export const enableClientRenderFallbackOnTextMismatch = true;
3636
export const enableFormActions = true;
3737
export const enableAsyncActions = true;
3838

39-
// Not sure if www still uses this. We don't have a replacement but whatever we
40-
// replace it with will likely be different than what's already there, so we
41-
// probably should just delete it as long as nothing in www relies on it.
42-
export const enableSchedulerDebugging = false;
43-
4439
// Need to remove didTimeout argument from Scheduler before landing
4540
export const disableSchedulerTimeoutInWorkLoop = false;
4641

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export const enableFormActions = true; // Doesn't affect Native
4444
export const enableBinaryFlight = true;
4545
export const enableTaint = true;
4646
export const enablePostpone = false;
47-
export const enableSchedulerDebugging = false;
4847
export const debugRenderPhaseSideEffectsForStrictMode = true;
4948
export const disableJavaScriptURLs = false;
5049
export const disableCommentsAsDOMContainers = true;

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const disableJavaScriptURLs = false;
3232
export const disableCommentsAsDOMContainers = true;
3333
export const disableInputAttributeSyncing = false;
3434
export const disableIEWorkarounds = true;
35-
export const enableSchedulerDebugging = false;
3635
export const enableScopeAPI = false;
3736
export const enableCreateEventHandleAPI = false;
3837
export const enableSuspenseCallback = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const disableJavaScriptURLs = false;
3232
export const disableCommentsAsDOMContainers = true;
3333
export const disableInputAttributeSyncing = false;
3434
export const disableIEWorkarounds = true;
35-
export const enableSchedulerDebugging = false;
3635
export const enableScopeAPI = false;
3736
export const enableCreateEventHandleAPI = false;
3837
export const enableSuspenseCallback = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.native.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const disableJavaScriptURLs = false;
3232
export const disableCommentsAsDOMContainers = true;
3333
export const disableInputAttributeSyncing = false;
3434
export const disableIEWorkarounds = true;
35-
export const enableSchedulerDebugging = false;
3635
export const enableScopeAPI = false;
3736
export const enableCreateEventHandleAPI = false;
3837
export const enableSuspenseCallback = false;

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export const enableFormActions = true; // Doesn't affect Test Renderer
2828
export const enableBinaryFlight = true;
2929
export const enableTaint = true;
3030
export const enablePostpone = false;
31-
export const enableSchedulerDebugging = false;
3231
export const disableJavaScriptURLs = false;
3332
export const disableCommentsAsDOMContainers = true;
3433
export const disableInputAttributeSyncing = false;

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ export const enableFilterEmptyStringAttributesDOM = true;
6464
export const enableSchedulingProfiler: boolean =
6565
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
6666

67-
// Note: we'll want to remove this when we to userland implementation.
68-
// For now, we'll turn it on for everyone because it's *already* on for everyone in practice.
69-
// At least this will let us stop shipping <Profiler> implementation to all users.
70-
export const enableSchedulerDebugging = true;
7167
export const disableLegacyContext = __EXPERIMENTAL__;
7268
export const enableGetInspectorDataForInstanceInProduction = false;
7369

0 commit comments

Comments
 (0)