Skip to content

Commit 19f1079

Browse files
[DevTools] Fix null ref crash in ContextMenu when items list is empty (facebook#35929)
Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com> DiffTrain build for [4610359](facebook@4610359)
1 parent 4d667ad commit 19f1079

34 files changed

Lines changed: 264 additions & 146 deletions

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e0cc7202e14418b453c69c4f06dc00c64151f202
1+
4610359651fa10247159e2050f8ec222cb7faa91
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e0cc7202e14418b453c69c4f06dc00c64151f202
1+
4610359651fa10247159e2050f8ec222cb7faa91

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ __DEV__ &&
14821482
exports.useTransition = function () {
14831483
return resolveDispatcher().useTransition();
14841484
};
1485-
exports.version = "19.3.0-www-classic-e0cc7202-20260227";
1485+
exports.version = "19.3.0-www-classic-46103596-20260305";
14861486
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14871487
"function" ===
14881488
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ __DEV__ &&
14821482
exports.useTransition = function () {
14831483
return resolveDispatcher().useTransition();
14841484
};
1485-
exports.version = "19.3.0-www-modern-e0cc7202-20260227";
1485+
exports.version = "19.3.0-www-modern-46103596-20260305";
14861486
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14871487
"function" ===
14881488
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-classic-e0cc7202-20260227";
613+
exports.version = "19.3.0-www-classic-46103596-20260305";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-modern-e0cc7202-20260227";
613+
exports.version = "19.3.0-www-modern-46103596-20260305";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.3.0-www-classic-e0cc7202-20260227";
617+
exports.version = "19.3.0-www-classic-46103596-20260305";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.3.0-www-modern-e0cc7202-20260227";
617+
exports.version = "19.3.0-www-modern-46103596-20260305";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6244,7 +6244,7 @@ __DEV__ &&
62446244
payload
62456245
) {
62466246
if (isRenderPhaseUpdate(fiber))
6247-
throw Error("Cannot update form state while rendering.");
6247+
throw Error("Cannot update action state while rendering.");
62486248
fiber = actionQueue.action;
62496249
if (null !== fiber) {
62506250
var actionNode = {
@@ -20400,10 +20400,10 @@ __DEV__ &&
2040020400
(function () {
2040120401
var internals = {
2040220402
bundleType: 1,
20403-
version: "19.3.0-www-classic-e0cc7202-20260227",
20403+
version: "19.3.0-www-classic-46103596-20260305",
2040420404
rendererPackageName: "react-art",
2040520405
currentDispatcherRef: ReactSharedInternals,
20406-
reconcilerVersion: "19.3.0-www-classic-e0cc7202-20260227"
20406+
reconcilerVersion: "19.3.0-www-classic-46103596-20260305"
2040720407
};
2040820408
internals.overrideHookState = overrideHookState;
2040920409
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20438,7 +20438,7 @@ __DEV__ &&
2043820438
exports.Shape = Shape;
2043920439
exports.Surface = Surface;
2044020440
exports.Text = Text;
20441-
exports.version = "19.3.0-www-classic-e0cc7202-20260227";
20441+
exports.version = "19.3.0-www-classic-46103596-20260305";
2044220442
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2044320443
"function" ===
2044420444
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6150,7 +6150,7 @@ __DEV__ &&
61506150
payload
61516151
) {
61526152
if (isRenderPhaseUpdate(fiber))
6153-
throw Error("Cannot update form state while rendering.");
6153+
throw Error("Cannot update action state while rendering.");
61546154
fiber = actionQueue.action;
61556155
if (null !== fiber) {
61566156
var actionNode = {
@@ -20171,10 +20171,10 @@ __DEV__ &&
2017120171
(function () {
2017220172
var internals = {
2017320173
bundleType: 1,
20174-
version: "19.3.0-www-modern-e0cc7202-20260227",
20174+
version: "19.3.0-www-modern-46103596-20260305",
2017520175
rendererPackageName: "react-art",
2017620176
currentDispatcherRef: ReactSharedInternals,
20177-
reconcilerVersion: "19.3.0-www-modern-e0cc7202-20260227"
20177+
reconcilerVersion: "19.3.0-www-modern-46103596-20260305"
2017820178
};
2017920179
internals.overrideHookState = overrideHookState;
2018020180
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20209,7 +20209,7 @@ __DEV__ &&
2020920209
exports.Shape = Shape;
2021020210
exports.Surface = Surface;
2021120211
exports.Text = Text;
20212-
exports.version = "19.3.0-www-modern-e0cc7202-20260227";
20212+
exports.version = "19.3.0-www-modern-46103596-20260305";
2021320213
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2021420214
"function" ===
2021520215
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)