Skip to content

Commit a99bb5c

Browse files
committed
[trusted types][www] Add enableTrustedTypesIntegration flag back in (#26016)
## Summary The flag was first added in #16157 and was rolled out to employees in D17430095. #25997 removed this flag because it wasn't dynamically set to a value in www. The www side was mistakenly removed in D41851685 due to deprecation of a TypedJSModule but we still want to keep this flag, so let's add it back in + add a GK on the www side to match the previous rollout. See D42574435 for the dynamic value change in www ## How did you test this change? ``` yarn test yarn test --prod ``` DiffTrain build for [48b687f](48b687f) [View git log for this commit](https://github.com/facebook/react/commits/48b687fc95a172cec8f305312a27d105e5719581)
1 parent 3447276 commit a99bb5c

37 files changed

+182
-56
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ var dynamicFeatureFlags = require("ReactFeatureFlags");
107107

108108
var disableInputAttributeSyncing =
109109
dynamicFeatureFlags.disableInputAttributeSyncing,
110+
enableTrustedTypesIntegration =
111+
dynamicFeatureFlags.enableTrustedTypesIntegration,
110112
disableSchedulerTimeoutBasedOnReactExpirationTime =
111113
dynamicFeatureFlags.disableSchedulerTimeoutBasedOnReactExpirationTime,
112114
warnAboutSpreadingKeyToJSX = dynamicFeatureFlags.warnAboutSpreadingKeyToJSX,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ var dynamicFeatureFlags = require("ReactFeatureFlags");
107107

108108
var disableInputAttributeSyncing =
109109
dynamicFeatureFlags.disableInputAttributeSyncing,
110+
enableTrustedTypesIntegration =
111+
dynamicFeatureFlags.enableTrustedTypesIntegration,
110112
disableSchedulerTimeoutBasedOnReactExpirationTime =
111113
dynamicFeatureFlags.disableSchedulerTimeoutBasedOnReactExpirationTime,
112114
warnAboutSpreadingKeyToJSX = dynamicFeatureFlags.warnAboutSpreadingKeyToJSX,

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9b1423cc09c11f0a4e05b0ccb66d185093a16413
1+
48b687fc95a172cec8f305312a27d105e5719581
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9b1423cc09c11f0a4e05b0ccb66d185093a16413
1+
48b687fc95a172cec8f305312a27d105e5719581

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-classic-9b1423cc0-20230130";
30+
var ReactVersion = "18.3.0-www-classic-48b687fc9-20230130";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,
@@ -478,6 +478,8 @@ var dynamicFeatureFlags = require("ReactFeatureFlags");
478478

479479
var disableInputAttributeSyncing =
480480
dynamicFeatureFlags.disableInputAttributeSyncing,
481+
enableTrustedTypesIntegration =
482+
dynamicFeatureFlags.enableTrustedTypesIntegration,
481483
disableSchedulerTimeoutBasedOnReactExpirationTime =
482484
dynamicFeatureFlags.disableSchedulerTimeoutBasedOnReactExpirationTime,
483485
warnAboutSpreadingKeyToJSX = dynamicFeatureFlags.warnAboutSpreadingKeyToJSX,

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-modern-9b1423cc0-20230130";
30+
var ReactVersion = "18.3.0-www-modern-48b687fc9-20230130";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,
@@ -478,6 +478,8 @@ var dynamicFeatureFlags = require("ReactFeatureFlags");
478478

479479
var disableInputAttributeSyncing =
480480
dynamicFeatureFlags.disableInputAttributeSyncing,
481+
enableTrustedTypesIntegration =
482+
dynamicFeatureFlags.enableTrustedTypesIntegration,
481483
disableSchedulerTimeoutBasedOnReactExpirationTime =
482484
dynamicFeatureFlags.disableSchedulerTimeoutBasedOnReactExpirationTime,
483485
warnAboutSpreadingKeyToJSX = dynamicFeatureFlags.warnAboutSpreadingKeyToJSX,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,4 +643,4 @@ exports.useSyncExternalStore = function(
643643
);
644644
};
645645
exports.useTransition = useTransition;
646-
exports.version = "18.3.0-www-classic-9b1423cc0-20230130";
646+
exports.version = "18.3.0-www-classic-48b687fc9-20230130";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function(
635635
);
636636
};
637637
exports.useTransition = useTransition;
638-
exports.version = "18.3.0-www-modern-9b1423cc0-20230130";
638+
exports.version = "18.3.0-www-modern-48b687fc9-20230130";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ exports.useSyncExternalStore = function(
654654
);
655655
};
656656
exports.useTransition = useTransition;
657-
exports.version = "18.3.0-www-classic-9b1423cc0-20230130";
657+
exports.version = "18.3.0-www-classic-48b687fc9-20230130";
658658

659659
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
660660
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ exports.useSyncExternalStore = function(
646646
);
647647
};
648648
exports.useTransition = useTransition;
649-
exports.version = "18.3.0-www-modern-9b1423cc0-20230130";
649+
exports.version = "18.3.0-www-modern-48b687fc9-20230130";
650650

651651
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
652652
if (

0 commit comments

Comments
 (0)