Commit 02ee372
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
File tree
- compiled/facebook-www
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
| 1485 | + | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
| 1485 | + | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20434 | 20434 | | |
20435 | 20435 | | |
20436 | 20436 | | |
20437 | | - | |
| 20437 | + | |
20438 | 20438 | | |
20439 | 20439 | | |
20440 | | - | |
| 20440 | + | |
20441 | 20441 | | |
20442 | 20442 | | |
20443 | 20443 | | |
| |||
20472 | 20472 | | |
20473 | 20473 | | |
20474 | 20474 | | |
20475 | | - | |
| 20475 | + | |
20476 | 20476 | | |
20477 | 20477 | | |
20478 | 20478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20205 | 20205 | | |
20206 | 20206 | | |
20207 | 20207 | | |
20208 | | - | |
| 20208 | + | |
20209 | 20209 | | |
20210 | 20210 | | |
20211 | | - | |
| 20211 | + | |
20212 | 20212 | | |
20213 | 20213 | | |
20214 | 20214 | | |
| |||
20243 | 20243 | | |
20244 | 20244 | | |
20245 | 20245 | | |
20246 | | - | |
| 20246 | + | |
20247 | 20247 | | |
20248 | 20248 | | |
20249 | 20249 | | |
| |||
0 commit comments