1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #16499 from Snuffleupagus/Chrome-92

[api-minor] Update the minimum supported Google Chrome version to 92
This commit is contained in:
Jonas Jenwald 2023-06-02 17:16:22 +02:00 committed by GitHub
commit 666e35301b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 17 deletions

View file

@ -36,22 +36,6 @@ import { isNodeJS } from "./is_node.js";
polyfillPath2D(globalThis);
})();
// Support: Chrome<92
(function checkArrayAt() {
if (Array.prototype.at) {
return;
}
require("core-js/es/array/at.js");
})();
// Support: Chrome<92
(function checkTypedArrayAt() {
if (Uint8Array.prototype.at) {
return;
}
require("core-js/es/typed-array/at.js");
})();
// Support: Chrome<98
(function checkStructuredClone() {
if (globalThis.structuredClone) {