Skip to content

Commit 379dd74

Browse files
authored
[www] set enableTrustedTypesIntegration to false (#25997)
This isn't configured to a dynamic value on www, so hardcode here to false.
1 parent 489d00f commit 379dd74

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
5252
// TODO: These flags are hard-coded to the default values used in open source.
5353
// Update the tests so that they pass in either mode, then set these
5454
// to __VARIANT__.
55-
export const enableTrustedTypesIntegration = false;
5655
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
5756
export const disableNativeComponentFrames = false;
5857
// You probably *don't* want to add more hardcoded ones.

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
1616

1717
export const {
1818
disableInputAttributeSyncing,
19-
enableTrustedTypesIntegration,
2019
disableSchedulerTimeoutBasedOnReactExpirationTime,
2120
warnAboutSpreadingKeyToJSX,
2221
replayFailedUnitOfWorkWithInvokeGuardedCallback,
@@ -56,6 +55,7 @@ export const enableUseMemoCacheHook = true;
5655
export const enableUseEffectEventHook = true;
5756
export const enableHostSingletons = true;
5857
export const enableClientRenderFallbackOnTextMismatch = false;
58+
export const enableTrustedTypesIntegration = false;
5959

6060
// Logs additional User Timing API marks for use with an experimental profiling tool.
6161
export const enableSchedulingProfiler: boolean =

0 commit comments

Comments
 (0)