Skip to content

Commit ec5f59a

Browse files
committed
Fix and update attribute-behavior fixture (#26114)
## Summary Due to #25928 the attribute fixture could no longer finish since it expects at least something to render. But since Fizz currently breaks down completely on malformed `<meta>` tags, the fixture could no longer handle this. The fixture now renders valid types for `meta` tags. Note that the snapshot change to `viewTarget`` is already on `main`. Review by commit helps to understand this. Added `html[lang]` so that we test at least one standard attribute on `<html>`. `version` is obsolete so results are not that trustworthy. ## How did you test this change? With Chrome Version 109.0.5414.119 (Official Build) (64-bit) - `yarn build --type=UMD_DEV react/index,react-dom && cd fixtures/attribute-behavior && yarn install && yarn start` DiffTrain build for [b8ae89f](b8ae89f) [View git log for this commit](https://github.com/facebook/react/commits/b8ae89f38288bfae37dff54fa1ec4bf3b4555ed5)
1 parent 5d94a68 commit ec5f59a

28 files changed

+42
-42
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d9e0485c84b45055ba86629dc20870faca9b5973
1+
b8ae89f38288bfae37dff54fa1ec4bf3b4555ed5
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d9e0485c84b45055ba86629dc20870faca9b5973
1+
b8ae89f38288bfae37dff54fa1ec4bf3b4555ed5

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
30+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
30+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,4 +646,4 @@ exports.useSyncExternalStore = function (
646646
);
647647
};
648648
exports.useTransition = useTransition;
649-
exports.version = "18.3.0-www-classic-d9e0485c8-20230210";
649+
exports.version = "18.3.0-www-classic-b8ae89f38-20230210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,4 +638,4 @@ exports.useSyncExternalStore = function (
638638
);
639639
};
640640
exports.useTransition = useTransition;
641-
exports.version = "18.3.0-www-modern-d9e0485c8-20230210";
641+
exports.version = "18.3.0-www-modern-b8ae89f38-20230210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ exports.useSyncExternalStore = function (
657657
);
658658
};
659659
exports.useTransition = useTransition;
660-
exports.version = "18.3.0-www-classic-d9e0485c8-20230210";
660+
exports.version = "18.3.0-www-classic-b8ae89f38-20230210";
661661

662662
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
663663
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ exports.useSyncExternalStore = function (
649649
);
650650
};
651651
exports.useTransition = useTransition;
652-
exports.version = "18.3.0-www-modern-d9e0485c8-20230210";
652+
exports.version = "18.3.0-www-modern-b8ae89f38-20230210";
653653

654654
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
655655
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
72+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
72+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9844,7 +9844,7 @@ var slice = Array.prototype.slice,
98449844
return null;
98459845
},
98469846
bundleType: 0,
9847-
version: "18.3.0-www-classic-d9e0485c8-20230210",
9847+
version: "18.3.0-www-classic-b8ae89f38-20230210",
98489848
rendererPackageName: "react-art"
98499849
};
98509850
var internals$jscomp$inline_1318 = {
@@ -9875,7 +9875,7 @@ var internals$jscomp$inline_1318 = {
98759875
scheduleRoot: null,
98769876
setRefreshHandler: null,
98779877
getCurrentFiber: null,
9878-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
9878+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
98799879
};
98809880
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
98819881
var hook$jscomp$inline_1319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9509,7 +9509,7 @@ var slice = Array.prototype.slice,
95099509
return null;
95109510
},
95119511
bundleType: 0,
9512-
version: "18.3.0-www-modern-d9e0485c8-20230210",
9512+
version: "18.3.0-www-modern-b8ae89f38-20230210",
95139513
rendererPackageName: "react-art"
95149514
};
95159515
var internals$jscomp$inline_1309 = {
@@ -9540,7 +9540,7 @@ var internals$jscomp$inline_1309 = {
95409540
scheduleRoot: null,
95419541
setRefreshHandler: null,
95429542
getCurrentFiber: null,
9543-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
9543+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
95449544
};
95459545
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95469546
var hook$jscomp$inline_1310 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41950,7 +41950,7 @@ function createFiberRoot(
4195041950
return root;
4195141951
}
4195241952

41953-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
41953+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
4195441954

4195541955
function createPortal(
4195641956
children,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41674,7 +41674,7 @@ function createFiberRoot(
4167441674
return root;
4167541675
}
4167641676

41677-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
41677+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
4167841678

4167941679
function createPortal(
4168041680
children,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15433,7 +15433,7 @@ Internals.Events = [
1543315433
var devToolsConfig$jscomp$inline_1743 = {
1543415434
findFiberByHostInstance: getClosestInstanceFromNode,
1543515435
bundleType: 0,
15436-
version: "18.3.0-www-classic-d9e0485c8-20230210",
15436+
version: "18.3.0-www-classic-b8ae89f38-20230210",
1543715437
rendererPackageName: "react-dom"
1543815438
};
1543915439
var internals$jscomp$inline_2106 = {
@@ -15463,7 +15463,7 @@ var internals$jscomp$inline_2106 = {
1546315463
scheduleRoot: null,
1546415464
setRefreshHandler: null,
1546515465
getCurrentFiber: null,
15466-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
15466+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1546715467
};
1546815468
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1546915469
var hook$jscomp$inline_2107 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15711,4 +15711,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1571115711
);
1571215712
};
1571315713
exports.unstable_runWithPriority = runWithPriority;
15714-
exports.version = "18.3.0-next-d9e0485c8-20230210";
15714+
exports.version = "18.3.0-next-b8ae89f38-20230210";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14993,7 +14993,7 @@ Internals.Events = [
1499314993
var devToolsConfig$jscomp$inline_1711 = {
1499414994
findFiberByHostInstance: getClosestInstanceFromNode,
1499514995
bundleType: 0,
14996-
version: "18.3.0-www-modern-d9e0485c8-20230210",
14996+
version: "18.3.0-www-modern-b8ae89f38-20230210",
1499714997
rendererPackageName: "react-dom"
1499814998
};
1499914999
var internals$jscomp$inline_2081 = {
@@ -15024,7 +15024,7 @@ var internals$jscomp$inline_2081 = {
1502415024
scheduleRoot: null,
1502515025
setRefreshHandler: null,
1502615026
getCurrentFiber: null,
15027-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
15027+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1502815028
};
1502915029
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1503015030
var hook$jscomp$inline_2082 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15212,4 +15212,4 @@ exports.unstable_flushControlled = function (fn) {
1521215212
}
1521315213
};
1521415214
exports.unstable_runWithPriority = runWithPriority;
15215-
exports.version = "18.3.0-next-d9e0485c8-20230210";
15215+
exports.version = "18.3.0-next-b8ae89f38-20230210";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16203,7 +16203,7 @@ Internals.Events = [
1620316203
var devToolsConfig$jscomp$inline_1817 = {
1620416204
findFiberByHostInstance: getClosestInstanceFromNode,
1620516205
bundleType: 0,
16206-
version: "18.3.0-www-classic-d9e0485c8-20230210",
16206+
version: "18.3.0-www-classic-b8ae89f38-20230210",
1620716207
rendererPackageName: "react-dom"
1620816208
};
1620916209
(function (internals) {
@@ -16247,7 +16247,7 @@ var devToolsConfig$jscomp$inline_1817 = {
1624716247
scheduleRoot: null,
1624816248
setRefreshHandler: null,
1624916249
getCurrentFiber: null,
16250-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
16250+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1625116251
});
1625216252
assign(Internals, {
1625316253
ReactBrowserEventEmitter: {
@@ -16482,7 +16482,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
1648216482
);
1648316483
};
1648416484
exports.unstable_runWithPriority = runWithPriority;
16485-
exports.version = "18.3.0-next-d9e0485c8-20230210";
16485+
exports.version = "18.3.0-next-b8ae89f38-20230210";
1648616486

1648716487
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1648816488
if (

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15753,7 +15753,7 @@ Internals.Events = [
1575315753
var devToolsConfig$jscomp$inline_1785 = {
1575415754
findFiberByHostInstance: getClosestInstanceFromNode,
1575515755
bundleType: 0,
15756-
version: "18.3.0-www-modern-d9e0485c8-20230210",
15756+
version: "18.3.0-www-modern-b8ae89f38-20230210",
1575715757
rendererPackageName: "react-dom"
1575815758
};
1575915759
(function (internals) {
@@ -15798,7 +15798,7 @@ var devToolsConfig$jscomp$inline_1785 = {
1579815798
scheduleRoot: null,
1579915799
setRefreshHandler: null,
1580015800
getCurrentFiber: null,
15801-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
15801+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1580215802
});
1580315803
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
1580415804
exports.createPortal = function (children, container) {
@@ -15973,7 +15973,7 @@ exports.unstable_flushControlled = function (fn) {
1597315973
}
1597415974
};
1597515975
exports.unstable_runWithPriority = runWithPriority;
15976-
exports.version = "18.3.0-next-d9e0485c8-20230210";
15976+
exports.version = "18.3.0-next-b8ae89f38-20230210";
1597715977

1597815978
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1597915979
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
22+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
22+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3653,4 +3653,4 @@ exports.renderToString = function (children, options) {
36533653
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
36543654
);
36553655
};
3656-
exports.version = "18.3.0-www-classic-d9e0485c8-20230210";
3656+
exports.version = "18.3.0-www-classic-b8ae89f38-20230210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3561,4 +3561,4 @@ exports.renderToString = function (children, options) {
35613561
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
35623562
);
35633563
};
3564-
exports.version = "18.3.0-www-modern-d9e0485c8-20230210";
3564+
exports.version = "18.3.0-www-modern-b8ae89f38-20230210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31317,7 +31317,7 @@ function createFiberRoot(
3131731317
return root;
3131831318
}
3131931319

31320-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
31320+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
3132131321

3132231322
function createPortal(
3132331323
children,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37769,7 +37769,7 @@ function createFiberRoot(
3776937769
return root;
3777037770
}
3777137771

37772-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
37772+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
3777337773

3777437774
function createPortal(
3777537775
children,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11553,7 +11553,7 @@ Internals.Events = [
1155311553
var devToolsConfig$jscomp$inline_1538 = {
1155411554
findFiberByHostInstance: getClosestInstanceFromNode,
1155511555
bundleType: 0,
11556-
version: "18.3.0-www-classic-d9e0485c8-20230210",
11556+
version: "18.3.0-www-classic-b8ae89f38-20230210",
1155711557
rendererPackageName: "react-dom"
1155811558
};
1155911559
var internals$jscomp$inline_2057 = {
@@ -11583,7 +11583,7 @@ var internals$jscomp$inline_2057 = {
1158311583
scheduleRoot: null,
1158411584
setRefreshHandler: null,
1158511585
getCurrentFiber: null,
11586-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
11586+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1158711587
};
1158811588
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1158911589
var hook$jscomp$inline_2058 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14761,4 +14761,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1476114761
);
1476214762
};
1476314763
exports.unstable_runWithPriority = runWithPriority;
14764-
exports.version = "18.3.0-next-d9e0485c8-20230210";
14764+
exports.version = "18.3.0-next-b8ae89f38-20230210";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13868,7 +13868,7 @@ Internals.Events = [
1386813868
var devToolsConfig$jscomp$inline_1666 = {
1386913869
findFiberByHostInstance: getClosestInstanceFromNode,
1387013870
bundleType: 0,
13871-
version: "18.3.0-www-modern-d9e0485c8-20230210",
13871+
version: "18.3.0-www-modern-b8ae89f38-20230210",
1387213872
rendererPackageName: "react-dom"
1387313873
};
1387413874
var internals$jscomp$inline_2044 = {
@@ -13899,7 +13899,7 @@ var internals$jscomp$inline_2044 = {
1389913899
scheduleRoot: null,
1390013900
setRefreshHandler: null,
1390113901
getCurrentFiber: null,
13902-
reconcilerVersion: "18.3.0-next-d9e0485c8-20230210"
13902+
reconcilerVersion: "18.3.0-next-b8ae89f38-20230210"
1390313903
};
1390413904
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1390513905
var hook$jscomp$inline_2045 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14230,4 +14230,4 @@ exports.unstable_flushControlled = function (fn) {
1423014230
}
1423114231
};
1423214232
exports.unstable_runWithPriority = runWithPriority;
14233-
exports.version = "18.3.0-next-d9e0485c8-20230210";
14233+
exports.version = "18.3.0-next-b8ae89f38-20230210";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23913,7 +23913,7 @@ function createFiberRoot(
2391323913
return root;
2391423914
}
2391523915

23916-
var ReactVersion = "18.3.0-www-classic-d9e0485c8-20230210";
23916+
var ReactVersion = "18.3.0-www-classic-b8ae89f38-20230210";
2391723917

2391823918
// Might add PROFILE later.
2391923919

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23913,7 +23913,7 @@ function createFiberRoot(
2391323913
return root;
2391423914
}
2391523915

23916-
var ReactVersion = "18.3.0-www-modern-d9e0485c8-20230210";
23916+
var ReactVersion = "18.3.0-www-modern-b8ae89f38-20230210";
2391723917

2391823918
// Might add PROFILE later.
2391923919

0 commit comments

Comments
 (0)