Merge pull request #14595 from Snuffleupagus/structuredClone-comment-support

Update the support information for `structuredClone` (PR 14392 follow-up)
This commit is contained in:
Tim van der Meij 2022-02-23 20:27:35 +01:00 committed by GitHub
commit 1b51e10c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ if (
).ReadableStream;
})();
// Support: Firefox<94, Chrome<98, Safari, Node.js<17.0.0
// Support: Firefox<94, Chrome<98, Safari<15.4, Node.js<17.0.0
(function checkStructuredClone() {
if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("IMAGE_DECODERS")) {
// The current image decoders are synchronous, hence `structuredClone`