From 0f7cb531cf93a11ddab7f0167d9fbc4a63c2d69a Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 27 Mar 2024 11:26:44 +0100 Subject: [PATCH] [api-minor] Update the minimum supported Google Chrome version to 98 This patch updates the minimum supported browsers as follows: - Google Chrome 98, which was released on 2022-02-01; see https://chromereleases.googleblog.com/2022/02/stable-channel-update-for-desktop.html The primary reason for this version bump is `structuredClone` support, please see https://developer.mozilla.org/en-US/docs/Web/API/structuredClone#browser_compatibility At this point in time we're using `structuredClone` in different parts of the code-base, and it's unfortunately functionality that's difficult to polyfill *completely* (affects the `transfer` option specifically). Note that nowadays we usually try, where feasible and possible, to support browsers that are about two years old. By limiting support to only "recent" browsers we reduce the risk of holding back improvements of the *built-in* Firefox PDF Viewer, and also (significantly) reduce the maintenance/support burden for the PDF.js contributors. *Please note:* As always, the minimum supported browser version assumes that a `legacy`-build of the PDF.js library is being used; see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support --- gulpfile.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.mjs b/gulpfile.mjs index 68ba646f2..6f9aa8ca1 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -83,7 +83,7 @@ const config = JSON.parse(fs.readFileSync(CONFIG_FILE).toString()); const ENV_TARGETS = [ "last 2 versions", - "Chrome >= 92", + "Chrome >= 98", "Firefox ESR", "Safari >= 15.4", "Node >= 18",