dillon1000/react

Commit

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
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom-bindings/src/shared/possibleStandardNames.js ModifiedM packages/react-dom/src/__tests__/ReactDOMComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…