This commit is contained in:
Joseph Cheung 2023-03-06 00:19:57 +08:00
parent b577cdacc4
commit 48691ef058
4 changed files with 20 additions and 3 deletions

View file

@ -1561,7 +1561,6 @@ exports.PDFViewerApplication = PDFViewerApplication;
}
const fileOrigin = new URL(file, window.location.href).origin;
if (fileOrigin !== viewerOrigin) {
throw new Error("file origin does not match viewer's");
}
} catch (ex) {
PDFViewerApplication.l10n.get("loading_error").then(msg => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long