mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-07 17:05:38 +02:00
[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
This commit is contained in:
parent
841d57df46
commit
0f7cb531cf
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue