Skip to content

Commit

Permalink
Remove disableIEWorkarounds (#31756)
Browse files Browse the repository at this point in the history
Based off #31755

This is landed everywhere.

DiffTrain build for [fb12845](fb12845)
  • Loading branch information
rickhanlonii committed Dec 13, 2024
1 parent 5b45911 commit 9f5fb91
Show file tree
Hide file tree
Showing 35 changed files with 160 additions and 165 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17ca4b157fcba6c734583513353ba72376a7ba2d
fb12845d779667b35cc7f44eee6bea47f4db72ba
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION_TRANSFORMS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17ca4b157fcba6c734583513353ba72376a7ba2d
fb12845d779667b35cc7f44eee6bea47f4db72ba
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17237,10 +17237,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-17ca4b15-20241213",
version: "19.1.0-www-classic-fb12845d-20241213",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-classic-fb12845d-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -17274,7 +17274,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -17000,10 +17000,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-17ca4b15-20241213",
version: "19.1.0-www-modern-fb12845d-20241213",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-modern-fb12845d-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -17037,7 +17037,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -10827,10 +10827,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1509 = {
bundleType: 0,
version: "19.1.0-www-classic-17ca4b15-20241213",
version: "19.1.0-www-classic-fb12845d-20241213",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-classic-fb12845d-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1510 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand All @@ -10856,4 +10856,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
6 changes: 3 additions & 3 deletions compiled/facebook-www/ReactART-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -10543,10 +10543,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1488 = {
bundleType: 0,
version: "19.1.0-www-modern-17ca4b15-20241213",
version: "19.1.0-www-modern-fb12845d-20241213",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-modern-fb12845d-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1489 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand All @@ -10572,4 +10572,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
27 changes: 13 additions & 14 deletions compiled/facebook-www/ReactDOM-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -20978,7 +20978,7 @@ __DEV__ &&
error$jscomp$0(
"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
);
else if (canDiffStyleForHydrationWarning) {
else {
var clientValue;
var delimiter = (clientValue = ""),
styleName;
Expand Down Expand Up @@ -23931,11 +23931,6 @@ __DEV__ &&
allNativeEvents.add("afterblur");
var registrationNameDependencies = {},
possibleRegistrationNames = {},
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
hasReadOnlyValue = {
button: !0,
checkbox: !0,
Expand Down Expand Up @@ -23983,8 +23978,6 @@ __DEV__ &&
containerTagInScope: null
},
didWarn = {},
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
COMMENT_NODE = 8,
DOCUMENT_NODE = 9,
DOCUMENT_FRAGMENT_NODE = 11,
Expand Down Expand Up @@ -24138,6 +24131,8 @@ __DEV__ &&
" "
)
),
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
aliases = new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
Expand Down Expand Up @@ -26993,6 +26988,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isInsideEventHandler = !1,
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
Expand Down Expand Up @@ -27389,7 +27389,6 @@ __DEV__ &&
didWarnFormActionMethod = !1,
didWarnPopoverTargetObject = !1;
var didWarnForNewBooleanPropsWithEmptyValue = {};
var canDiffStyleForHydrationWarning = !0;
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
xlinkNamespace = "http://www.w3.org/1999/xlink",
Expand Down Expand Up @@ -27720,11 +27719,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-17ca4b15-20241213" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-fb12845d-20241213" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-17ca4b15-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-fb12845d-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27767,10 +27766,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-17ca4b15-20241213",
version: "19.1.0-www-classic-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-classic-fb12845d-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28377,7 +28376,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
27 changes: 13 additions & 14 deletions compiled/facebook-www/ReactDOM-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -20765,7 +20765,7 @@ __DEV__ &&
error$jscomp$0(
"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
);
else if (canDiffStyleForHydrationWarning) {
else {
var clientValue;
var delimiter = (clientValue = ""),
styleName;
Expand Down Expand Up @@ -23716,11 +23716,6 @@ __DEV__ &&
allNativeEvents.add("afterblur");
var registrationNameDependencies = {},
possibleRegistrationNames = {},
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
hasReadOnlyValue = {
button: !0,
checkbox: !0,
Expand Down Expand Up @@ -23768,8 +23763,6 @@ __DEV__ &&
containerTagInScope: null
},
didWarn = {},
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
COMMENT_NODE = 8,
DOCUMENT_NODE = 9,
DOCUMENT_FRAGMENT_NODE = 11,
Expand Down Expand Up @@ -23923,6 +23916,8 @@ __DEV__ &&
" "
)
),
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
aliases = new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
Expand Down Expand Up @@ -26773,6 +26768,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isInsideEventHandler = !1,
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
Expand Down Expand Up @@ -27168,7 +27168,6 @@ __DEV__ &&
didWarnFormActionMethod = !1,
didWarnPopoverTargetObject = !1;
var didWarnForNewBooleanPropsWithEmptyValue = {};
var canDiffStyleForHydrationWarning = !0;
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
xlinkNamespace = "http://www.w3.org/1999/xlink",
Expand Down Expand Up @@ -27499,11 +27498,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-17ca4b15-20241213" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-fb12845d-20241213" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-17ca4b15-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-fb12845d-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27546,10 +27545,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-17ca4b15-20241213",
version: "19.1.0-www-modern-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-modern-fb12845d-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28156,7 +28155,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-17ca4b15-20241213";
exports.version = "19.1.0-www-modern-fb12845d-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
24 changes: 12 additions & 12 deletions compiled/facebook-www/ReactDOM-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1013,12 +1013,7 @@ function registerDirectEvent(registrationName, dependencies) {
)
allNativeEvents.add(dependencies[registrationName]);
}
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
),
illegalAttributeNameCache = {},
Expand Down Expand Up @@ -12779,7 +12774,12 @@ function getListener(inst, registrationName) {
);
return stateNode;
}
var passiveBrowserEventsSupported = !1;
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
var options = {};
Expand Down Expand Up @@ -17284,14 +17284,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1774 = React.version;
if (
"19.1.0-www-classic-17ca4b15-20241213" !==
"19.1.0-www-classic-fb12845d-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1774
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1774,
"19.1.0-www-classic-17ca4b15-20241213"
"19.1.0-www-classic-fb12845d-20241213"
)
);
Internals.findDOMNode = function (componentOrElement) {
Expand All @@ -17309,10 +17309,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2315 = {
bundleType: 0,
version: "19.1.0-www-classic-17ca4b15-20241213",
version: "19.1.0-www-classic-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-17ca4b15-20241213"
reconcilerVersion: "19.1.0-www-classic-fb12845d-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2316 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -17677,4 +17677,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-17ca4b15-20241213";
exports.version = "19.1.0-www-classic-fb12845d-20241213";
Loading

0 comments on commit 9f5fb91

Please sign in to comment.