Skip to content

Commit

Permalink
[Fizz][Float] When src or srcSet is a data URI we should not preload …
Browse files Browse the repository at this point in the history
…the image (#27218)

Data URI's in images can't effectively be preloaded (the URI contains
the data so preloading only duplicates the data in the stream. If we
encounter an image with this protocol in the src attribute we should
avoid preloading it.

DiffTrain build for commit 1a001da.
  • Loading branch information
gnoff committed Aug 12, 2023
1 parent 5f2c352 commit 822f137
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23961,7 +23961,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-canary-4e3618ae4-20230811";
var ReactVersion = "18.3.0-canary-1a001dac6-20230812";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8615,7 +8615,7 @@ var devToolsConfig$jscomp$inline_1029 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-4e3618ae4-20230811",
version: "18.3.0-canary-1a001dac6-20230812",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1228 = {
Expand Down Expand Up @@ -8646,7 +8646,7 @@ var internals$jscomp$inline_1228 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-4e3618ae4-20230811"
reconcilerVersion: "18.3.0-canary-1a001dac6-20230812"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1229 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9041,7 +9041,7 @@ var devToolsConfig$jscomp$inline_1071 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-4e3618ae4-20230811",
version: "18.3.0-canary-1a001dac6-20230812",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1269 = {
Expand Down Expand Up @@ -9072,7 +9072,7 @@ var internals$jscomp$inline_1269 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-4e3618ae4-20230811"
reconcilerVersion: "18.3.0-canary-1a001dac6-20230812"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1270 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-canary-4e3618ae4-20230811";
var ReactVersion = "18.3.0-canary-1a001dac6-20230812";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-4e3618ae4-20230811";
exports.version = "18.3.0-canary-1a001dac6-20230812";
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-4e3618ae4-20230811";
exports.version = "18.3.0-canary-1a001dac6-20230812";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4e3618ae41669c95a3377ae615c727f74f89d141
1a001dac6220a64d98ae33a28e89dde78100d6c5

0 comments on commit 822f137

Please sign in to comment.