Skip to content

Commit 02ee372

Browse files
committed
Suggest correct casing for misspelled credentialless iframe attribute (#36322)
## Summary Follow-up to #36148 (which added credentialless as a recognized boolean attribute for iframes). Adds credentialless to possibleStandardNames so React's dev warning can suggest the correct casing when users write it as Credentialless (or another incorrect case). Includes an SSR test asserting the "Did you mean credentialless?" warning fires. ## Test plan - yarn test ReactDOMComponent passes, including the new should warn about incorrect casing on the credentialless property (ssr) case DiffTrain build for [94643c3](94643c3)
1 parent 7143765 commit 02ee372

35 files changed

Lines changed: 93 additions & 86 deletions

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
306a01b4e0242e9379ba971c8925670651f16818
1+
94643c3b8516928e4cc7fad99912272670a0a990
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
306a01b4e0242e9379ba971c8925670651f16818
1+
94643c3b8516928e4cc7fad99912272670a0a990

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-306a01b4-20260420";
1485+
exports.version = "19.3.0-www-classic-94643c3b-20260421";
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-306a01b4-20260420";
1485+
exports.version = "19.3.0-www-modern-94643c3b-20260421";
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-306a01b4-20260420";
613+
exports.version = "19.3.0-www-classic-94643c3b-20260421";

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-306a01b4-20260420";
613+
exports.version = "19.3.0-www-modern-94643c3b-20260421";

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-306a01b4-20260420";
617+
exports.version = "19.3.0-www-classic-94643c3b-20260421";
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-306a01b4-20260420";
617+
exports.version = "19.3.0-www-modern-94643c3b-20260421";
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20434,10 +20434,10 @@ __DEV__ &&
2043420434
(function () {
2043520435
var internals = {
2043620436
bundleType: 1,
20437-
version: "19.3.0-www-classic-306a01b4-20260420",
20437+
version: "19.3.0-www-classic-94643c3b-20260421",
2043820438
rendererPackageName: "react-art",
2043920439
currentDispatcherRef: ReactSharedInternals,
20440-
reconcilerVersion: "19.3.0-www-classic-306a01b4-20260420"
20440+
reconcilerVersion: "19.3.0-www-classic-94643c3b-20260421"
2044120441
};
2044220442
internals.overrideHookState = overrideHookState;
2044320443
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20472,7 +20472,7 @@ __DEV__ &&
2047220472
exports.Shape = Shape;
2047320473
exports.Surface = Surface;
2047420474
exports.Text = Text;
20475-
exports.version = "19.3.0-www-classic-306a01b4-20260420";
20475+
exports.version = "19.3.0-www-classic-94643c3b-20260421";
2047620476
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2047720477
"function" ===
2047820478
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20205,10 +20205,10 @@ __DEV__ &&
2020520205
(function () {
2020620206
var internals = {
2020720207
bundleType: 1,
20208-
version: "19.3.0-www-modern-306a01b4-20260420",
20208+
version: "19.3.0-www-modern-94643c3b-20260421",
2020920209
rendererPackageName: "react-art",
2021020210
currentDispatcherRef: ReactSharedInternals,
20211-
reconcilerVersion: "19.3.0-www-modern-306a01b4-20260420"
20211+
reconcilerVersion: "19.3.0-www-modern-94643c3b-20260421"
2021220212
};
2021320213
internals.overrideHookState = overrideHookState;
2021420214
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20243,7 +20243,7 @@ __DEV__ &&
2024320243
exports.Shape = Shape;
2024420244
exports.Surface = Surface;
2024520245
exports.Text = Text;
20246-
exports.version = "19.3.0-www-modern-306a01b4-20260420";
20246+
exports.version = "19.3.0-www-modern-94643c3b-20260421";
2024720247
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2024820248
"function" ===
2024920249
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)