Update to PDF.js v2.14.305
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 May 2022 17:53:44 +0000 (17:53 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 May 2022 17:53:44 +0000 (17:53 +0000)
commit4df89a599b0b6812cb45ffb1c490a0111f0857a5
tree4a4f1c9e0dfce58781685aaeee4ec91790da36dc
parent416c169e87c318c27a8b65c730d6515ccd24ea07
Update to PDF.js v2.14.305
https://bugs.webkit.org/show_bug.cgi?id=240482

Patch by Michael Catanzaro <mcatanzaro@redhat.com> on 2022-05-17
Reviewed by Tim Nguyen.

Besides updating the upstream sources, this commit also adds a
README.webkit to explain the update procedure, and adds
CONFIGURE_DEPENDS to the GLOB_RECURSE command in PdfJSGResources.cmake
to force make/ninja to watch for changes to the files and rerun cmake if
needed, to keep incremental builds happy. Downside: this is probably
slow, and the CMake documentation explicitly warns against doing so. We
may want to generate a .cmake file that manually lists all files instead.

* Source/ThirdParty/pdfjs/README.webkit: Added.
* Source/ThirdParty/pdfjs/build/pdf.js:
(webpackUniversalModuleDefinition):
(return.):
(return):
* Source/ThirdParty/pdfjs/build/pdf.sandbox.js:
(webpackUniversalModuleDefinition):
(return.):
* Source/ThirdParty/pdfjs/build/pdf.worker.js:
(webpackUniversalModuleDefinition):
(return.):
* Source/ThirdParty/pdfjs/web/debugger.css: Added.
(#PDFBug):
(#PDFBug .controls):
(#PDFBug .panels):
(#PDFBug .panels > div):
(#PDFBug button.active):
(.debuggerShowText,):
(#PDFBug .stats):
(#PDFBug .stats .title):
(#PDFBug table):
(#PDFBug table.showText):
(#PDFBug table.showText,):
(#PDFBug table.showText td.advance):
(#viewer.textLayer-visible .textLayer):
(#viewer.textLayer-visible .canvasWrapper):
(#viewer.textLayer-visible .canvasWrapper canvas):
(#viewer.textLayer-visible .textLayer span):
(#viewer.textLayer-hover .textLayer span:hover):
(#viewer.textLayer-shadow .textLayer span):
* Source/ThirdParty/pdfjs/web/debugger.js:
(const.FontInspector.FontInspectorClosure.textLayerClick):
(const.FontInspector.FontInspectorClosure.return.properties):
(const.FontInspector):
(const.StepperManager):
(const.Stepper.StepperClosure.Stepper.prototype.updateOperatorList):
(const.Stepper.StepperClosure.Stepper.prototype.getNextBreakPoint):
(const.Stepper.StepperClosure.Stepper.prototype.goTo):
(const.Stepper.StepperClosure.Stepper):
(const.Stepper):
(const.Stats.Stats.getStatIndex):
(const.Stats):
(const.PDFBug):
(FontInspector.FontInspectorClosure.removeSelection): Deleted.
(FontInspector.FontInspectorClosure.resetSelection): Deleted.
(FontInspector.FontInspectorClosure.selectFont): Deleted.
(FontInspector.FontInspectorClosure.textLayerClick): Deleted.
(FontInspector.FontInspectorClosure.return.init): Deleted.
(FontInspector.FontInspectorClosure.return.cleanup): Deleted.
(FontInspector.FontInspectorClosure.return.get active): Deleted.
(FontInspector.FontInspectorClosure.return.set active): Deleted.
(FontInspector.FontInspectorClosure.return.properties): Deleted.
(FontInspector.FontInspectorClosure.return.fontAdded): Deleted.
(FontInspector): Deleted.
(StepperManager.StepperManagerClosure.return.init): Deleted.
(StepperManager.StepperManagerClosure.return.cleanup): Deleted.
(StepperManager.StepperManagerClosure.return.create): Deleted.
(StepperManager.StepperManagerClosure.return.selectStepper): Deleted.
(StepperManager.StepperManagerClosure.return.saveBreakPoints): Deleted.
(StepperManager): Deleted.
(Stats.Stats): Deleted.
(Stats.Stats.getStatIndex): Deleted.
(Stats): Deleted.
(window.PDFBug): Deleted.
* Source/ThirdParty/pdfjs/web/images/grab.cur: Removed.
* Source/ThirdParty/pdfjs/web/images/grabbing.cur: Removed.
* Source/ThirdParty/pdfjs/web/locale/be/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ca/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/cs/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/cy/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/da/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/de/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/dsb/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/el/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/en-CA/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/en-GB/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/en-US/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/eo/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/es-AR/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/es-CL/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/es-ES/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/es-MX/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/et/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/eu/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/fr/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/fy-NL/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ga-IE/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/gn/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/hr/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/hsb/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/hu/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/hye/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ia/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/id/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/is/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/it/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ja/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ka/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/kab/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/kk/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ko/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/nb-NO/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/nl/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/nn-NO/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/oc/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/pa-IN/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/pl/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/pt-BR/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/pt-PT/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/rm/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/ru/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/sat/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/sc/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/sk/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/sl/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/sv-SE/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/szl/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/tg/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/th/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/tr/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/uk/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/vi/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/zh-CN/viewer.properties:
* Source/ThirdParty/pdfjs/web/locale/zh-TW/viewer.properties:
* Source/ThirdParty/pdfjs/web/viewer.css:
(.textLayer):
(:root):
(.pdfViewer .dummyPage):
([dir="rtl"]:root):
(@media (prefers-color-scheme: dark) :root):
(@media screen and (forced-colors: active) :root):
(html,):
(body):
(.hidden,):
([dir="ltr"] #sidebarContainer):
([dir="rtl"] #sidebarContainer):
(#sidebarContainer):
([dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer):
([dir="rtl"] #outerContainer.sidebarOpen #sidebarContainer):
(#outerContainer.sidebarOpen #sidebarContainer):
([dir="ltr"] #sidebarContent):
([dir="rtl"] #sidebarContent):
(#sidebarContent):
(#viewerContainer):
([dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode)):
([dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode)):
(#outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode)):
(#toolbarSidebar):
([dir="ltr"] #sidebarResizer):
([dir="rtl"] #sidebarResizer):
(#sidebarResizer):
([dir="ltr"] #loadingBar):
([dir="rtl"] #loadingBar):
(#loadingBar):
([dir="ltr"] #outerContainer.sidebarOpen #loadingBar):
([dir="rtl"] #outerContainer.sidebarOpen #loadingBar):
(#outerContainer.sidebarOpen #loadingBar):
(#loadingBar .progress):
(#loadingBar .progress.indeterminate):
(#outerContainer.sidebarResizing #sidebarContainer,):
(.findbar,):
([dir="ltr"] .findbar):
([dir="rtl"] .findbar):
(.findbar):
(.findbar > div):
([dir="ltr"] .findbar > div#findbarInputContainer):
([dir="rtl"] .findbar > div#findbarInputContainer):
(.findbar > div#findbarInputContainer):
(.findbar.wrapContainers > div,):
(.findbar.wrapContainers > div#findbarMessageContainer):
(.findbar label:hover,):
(#findInput[data-status="pending"]):
([dir="ltr"] .secondaryToolbar):
([dir="rtl"] .secondaryToolbar):
(.secondaryToolbar):
(#secondaryToolbarButtonContainer):
(.doorHanger:after,):
([dir="ltr"] .doorHanger:after):
([dir="rtl"] .doorHanger:after):
(.doorHanger:after):
([dir="ltr"] .doorHangerRight:after):
([dir="rtl"] .doorHangerRight:after):
(.doorHangerRight:after):
([dir="ltr"] .doorHanger:before):
([dir="rtl"] .doorHanger:before):
(.doorHanger:before):
([dir="ltr"] .doorHangerRight:before):
([dir="rtl"] .doorHangerRight:before):
(.doorHangerRight:before):
(#findResultsCount:empty,):
([dir="ltr"] #toolbarViewerLeft,[dir="ltr"]):
([dir="rtl"] #toolbarViewerLeft,[dir="rtl"]):
(#toolbarViewerLeft,):
([dir="ltr"] #toolbarViewerRight,[dir="ltr"]):
([dir="rtl"] #toolbarViewerRight,[dir="rtl"]):
(#toolbarViewerRight,):
([dir="ltr"] #toolbarViewerLeft > *,[dir="ltr"]):
([dir="rtl"] #toolbarViewerLeft > *,[dir="rtl"]):
(#toolbarViewerLeft > *,):
([dir="ltr"] #toolbarViewerLeft):
([dir="rtl"] #toolbarViewerLeft):
(#toolbarViewerLeft):
([dir="ltr"] #toolbarViewerRight):
([dir="rtl"] #toolbarViewerRight):
(#toolbarViewerRight):
([dir="ltr"] #toolbarSidebarRight):
([dir="rtl"] #toolbarSidebarRight):
(#toolbarSidebarRight):
(.splitToolbarButton):
([dir="ltr"] .splitToolbarButton > .toolbarButton):
([dir="rtl"] .splitToolbarButton > .toolbarButton):
(.splitToolbarButton > .toolbarButton):
(.toolbarButton,):
(.dialogButton:hover,):
(.dialogButton:hover > span,):
(.toolbarButton[disabled],):
(.splitToolbarButton > .toolbarButton:hover,):
([dir="ltr"] #toolbarSidebar .splitToolbarButton > .toolbarButton):
([dir="rtl"] #toolbarSidebar .splitToolbarButton > .toolbarButton):
(#toolbarSidebar .splitToolbarButton > .toolbarButton):
([dir="ltr"] .splitToolbarButtonSeparator):
([dir="rtl"] .splitToolbarButtonSeparator):
(.splitToolbarButtonSeparator):
(.toolbarButton:hover,):
(.secondaryToolbarButton:hover,):
(.toolbarButton.toggled::before,):
(.dropdownToolbarButton):
([dir="ltr"] .dropdownToolbarButton::after):
([dir="rtl"] .dropdownToolbarButton::after):
(.dropdownToolbarButton::after):
([dir="ltr"] .dropdownToolbarButton > select):
([dir="rtl"] .dropdownToolbarButton > select):
(.dropdownToolbarButton > select):
(.dropdownToolbarButton > select:hover,):
(.toolbarButton::before,):
(.dropdownToolbarButton:hover::after,):
(.toolbarButton:hover::before,):
([dir="ltr"] .secondaryToolbarButton::before):
([dir="rtl"] .secondaryToolbarButton::before):
(.secondaryToolbarButton::before):
(#sidebarToggle::before):
(#secondaryToolbarToggle::before):
(#findPrevious::before):
(#findNext::before):
(#previous::before):
(#next::before):
(#zoomOut::before):
(#zoomIn::before):
(#presentationMode::before,):
(#print::before,):
(#openFile::before,):
(#download::before,):
(a.secondaryToolbarButton):
(a.toolbarButton[href="#"],):
(#viewBookmark::before,):
(#viewThumbnail::before):
(#viewOutline::before):
(#viewAttachments::before):
(#viewLayers::before):
(#currentOutlineItem::before):
(#viewFind::before):
([dir="ltr"] .pdfSidebarNotification::after):
([dir="rtl"] .pdfSidebarNotification::after):
(.pdfSidebarNotification::after):
([dir="ltr"] .secondaryToolbarButton):
([dir="rtl"] .secondaryToolbarButton):
(.secondaryToolbarButton):
([dir="ltr"] .secondaryToolbarButton > span):
([dir="rtl"] .secondaryToolbarButton > span):
(.secondaryToolbarButton > span):
(#firstPage::before):
(#lastPage::before):
(#pageRotateCcw::before):
(#pageRotateCw::before):
(#cursorSelectTool::before):
(#cursorHandTool::before):
(#scrollPage::before):
(#scrollVertical::before):
(#scrollHorizontal::before):
(#scrollWrapped::before):
(#spreadNone::before):
(#spreadOdd::before):
(#spreadEven::before):
(#documentProperties::before):
(.verticalToolbarSeparator):
(.horizontalToolbarSeparator):
(.toolbarField):
([dir="ltr"] .toolbarField[type="checkbox"]):
([dir="rtl"] .toolbarField[type="checkbox"]):
(.toolbarField[type="checkbox"]):
(#pageNumber):
(#pageNumber.visiblePageIsLoading):
(#pageNumber::-webkit-inner-spin-button):
([dir="ltr"] #numPages.toolbarLabel):
([dir="rtl"] #numPages.toolbarLabel):
(#numPages.toolbarLabel):
(#thumbnailView,):
(#thumbnailView):
([dir="ltr"] .thumbnail):
([dir="rtl"] .thumbnail):
(.thumbnail):
(#thumbnailView > a:last-of-type > .thumbnail):
([dir="ltr"] .treeWithDeepNesting > .treeItem,[dir="ltr"]):
([dir="rtl"] .treeWithDeepNesting > .treeItem,[dir="rtl"]):
(.treeWithDeepNesting > .treeItem,):
([dir="ltr"] .treeItem > a):
([dir="rtl"] .treeItem > a):
(.treeItem > a):
([dir="ltr"] #layersView .treeItem > a > label):
([dir="rtl"] #layersView .treeItem > a > label):
(#layersView .treeItem > a > label):
([dir="ltr"] .treeItemToggler):
([dir="rtl"] .treeItemToggler):
(.treeItemToggler):
([dir="ltr"] .treeItemToggler::before):
([dir="rtl"] .treeItemToggler::before):
(.treeItemToggler::before):
(.treeItemToggler.treeItemsHidden::before):
(.treeItemToggler.treeItemsHidden ~ .treeItems):
(#errorWrapper):
(#errorMessageLeft):
(#errorSpacer):
(.dialogButton):
(dialog):
(dialog::-webkit-backdrop):
(dialog::backdrop):
(dialog > .row):
(dialog > .row > *):
(dialog .toolbarField):
(dialog .separator):
(dialog .buttonRow):
(dialog :link):
(#passwordDialog):
(#passwordDialog .toolbarField):
(#documentPropertiesDialog):
([dir="ltr"] #documentPropertiesDialog .row > *):
([dir="rtl"] #documentPropertiesDialog .row > *):
(#documentPropertiesDialog .row > *):
(#documentPropertiesDialog .row > span):
(#documentPropertiesDialog .row > p):
(#documentPropertiesDialog .buttonRow):
(.grab-to-pan-grab):
(.grab-to-pan-grab:active,):
(@media print body):
(@media all and (max-width: 840px) [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer):
(@media all and (max-width: 840px) [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer):
(@media all and (max-width: 840px) #outerContainer.sidebarOpen #viewerContainer):
(@media all and (max-width: 640px) [dir="ltr"] .findbar):
(@media all and (max-width: 640px) [dir="rtl"] .findbar):
(@media all and (max-width: 640px) .findbar):
(html): Deleted.
(.hidden): Deleted.
([hidden]): Deleted.
(html[dir="ltr"] #sidebarContainer): Deleted.
(html[dir="rtl"] #sidebarContainer): Deleted.
(#outerContainer.sidebarResizing #sidebarContainer): Deleted.
(html[dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer): Deleted.
(html[dir="rtl"] #outerContainer.sidebarOpen #sidebarContainer): Deleted.
(html[dir="ltr"] #sidebarContent): Deleted.
(html[dir="rtl"] #sidebarContent): Deleted.
(#outerContainer.sidebarResizing #viewerContainer): Deleted.
(html[dir="ltr"]): Deleted.
(html[dir="rtl"]): Deleted.
(html[dir="ltr"] #toolbarSidebar): Deleted.
(html[dir="rtl"] #toolbarSidebar): Deleted.
(html[dir="ltr"] #toolbarSidebar .toolbarButton): Deleted.
(html[dir="rtl"] #toolbarSidebar .toolbarButton): Deleted.
(html[dir="ltr"] #toolbarSidebarRight .toolbarButton): Deleted.
(html[dir="rtl"] #toolbarSidebarRight .toolbarButton): Deleted.
(html[dir="ltr"] #sidebarResizer): Deleted.
(html[dir="rtl"] #sidebarResizer): Deleted.
(html[dir="ltr"] #loadingBar): Deleted.
(html[dir="rtl"] #loadingBar): Deleted.
(html[dir="ltr"] #outerContainer.sidebarOpen #loadingBar): Deleted.
(html[dir="rtl"] #outerContainer.sidebarOpen #loadingBar): Deleted.
(#outerContainer.sidebarResizing #loadingBar): Deleted.
(.findbar.wrapContainers > div): Deleted.
(html[dir="ltr"] .findbar): Deleted.
(html[dir="rtl"] .findbar): Deleted.
(.findbar .splitToolbarButton): Deleted.
(html[dir="ltr"] .findbar .splitToolbarButton): Deleted.
(html[dir="rtl"] .findbar .splitToolbarButton): Deleted.
(.findbar .splitToolbarButton > .toolbarButton): Deleted.
(.findbar .splitToolbarButton > .toolbarButton::before): Deleted.
(.findbar .splitToolbarButton > .findNext): Deleted.
(html[dir="ltr"] .findbar .splitToolbarButton > .findNext): Deleted.
(html[dir="rtl"] .findbar .splitToolbarButton > .findNext): Deleted.
(html[dir="ltr"] #findInput): Deleted.
(html[dir="rtl"] #findInput): Deleted.
(html[dir="rtl"] #findInput[data-status="pending"]): Deleted.
(html[dir="ltr"] .secondaryToolbar): Deleted.
(html[dir="rtl"] .secondaryToolbar): Deleted.
(html[dir="ltr"] .doorHanger:after,): Deleted.
(html[dir="ltr"] .doorHanger:before,): Deleted.
(html[dir="rtl"] .doorHanger:after,): Deleted.
(html[dir="rtl"] .doorHanger:before,): Deleted.
(#findMsg:empty): Deleted.
(html[dir="ltr"] #toolbarViewerLeft,): Deleted.
(html[dir="ltr"] #toolbarViewerRight,): Deleted.
(html[dir="ltr"] #toolbarViewerLeft > *,): Deleted.
(html[dir="rtl"] #toolbarViewerLeft > *,): Deleted.
(html[dir="ltr"] .splitToolbarButton > .toolbarButton): Deleted.
(html[dir="rtl"] .splitToolbarButton > .toolbarButton): Deleted.
(.overlayButton:hover,): Deleted.
(.overlayButton:hover > span,): Deleted.
(.splitToolbarButton.toggled .toolbarButton): Deleted.
(html[dir="ltr"] .splitToolbarButton > .toolbarButton:first-child,): Deleted.
(html[dir="ltr"] .splitToolbarButton > .toolbarButton:last-child,): Deleted.
(.findbar .splitToolbarButtonSeparator): Deleted.
(html[dir="ltr"] .splitToolbarButtonSeparator): Deleted.
(html[dir="rtl"] .splitToolbarButtonSeparator): Deleted.
(html[dir="ltr"] #toolbarViewerLeft > .toolbarButton:first-child,): Deleted.
(html[dir="ltr"] #toolbarViewerRight > .toolbarButton:last-child,): Deleted.
(.secondaryToolbarButton.toggled::before): Deleted.
(.toolbarButton.toggled::before): Deleted.
(html[dir="ltr"] .dropdownToolbarButton::after): Deleted.
(html[dir="rtl"] .dropdownToolbarButton::after): Deleted.
(html[dir="ltr"] .dropdownToolbarButton > select): Deleted.
(html[dir="rtl"] .dropdownToolbarButton > select): Deleted.
(#customScaleOption): Deleted.
(#pageWidthOption): Deleted.
(html[dir="ltr"] .secondaryToolbarButton::before): Deleted.
(html[dir="rtl"] .secondaryToolbarButton::before): Deleted.
(.toolbarButton#sidebarToggle::before): Deleted.
(html[dir="rtl"] .toolbarButton#sidebarToggle::before): Deleted.
(.toolbarButton#secondaryToolbarToggle::before): Deleted.
(html[dir="rtl"] .toolbarButton#secondaryToolbarToggle::before): Deleted.
(.toolbarButton.findPrevious::before): Deleted.
(.toolbarButton.findNext::before): Deleted.
(.toolbarButton.pageUp::before): Deleted.
(.toolbarButton.pageDown::before): Deleted.
(.toolbarButton.zoomOut::before): Deleted.
(.toolbarButton.zoomIn::before): Deleted.
(.toolbarButton.presentationMode::before,): Deleted.
(.toolbarButton.print::before,): Deleted.
(.toolbarButton.openFile::before,): Deleted.
(.toolbarButton.download::before,): Deleted.
(.secondaryToolbarButton.bookmark): Deleted.
(.bookmark[href="#"]): Deleted.
(.toolbarButton.bookmark::before,): Deleted.
(#viewThumbnail.toolbarButton::before): Deleted.
(#viewOutline.toolbarButton::before): Deleted.
(html[dir="rtl"] #viewOutline.toolbarButton::before): Deleted.
(#viewAttachments.toolbarButton::before): Deleted.
(#viewLayers.toolbarButton::before): Deleted.
(#currentOutlineItem.toolbarButton::before): Deleted.
(html[dir="rtl"] #currentOutlineItem.toolbarButton::before): Deleted.
(#viewFind.toolbarButton::before): Deleted.
(.toolbarButton.pdfSidebarNotification::after): Deleted.
(html[dir="ltr"] .toolbarButton.pdfSidebarNotification::after): Deleted.
(html[dir="rtl"] .toolbarButton.pdfSidebarNotification::after): Deleted.
(html[dir="ltr"] .secondaryToolbarButton): Deleted.
(html[dir="rtl"] .secondaryToolbarButton): Deleted.
(html[dir="ltr"] .secondaryToolbarButton > span): Deleted.
(html[dir="rtl"] .secondaryToolbarButton > span): Deleted.
(.secondaryToolbarButton.firstPage::before): Deleted.
(.secondaryToolbarButton.lastPage::before): Deleted.
(.secondaryToolbarButton.rotateCcw::before): Deleted.
(.secondaryToolbarButton.rotateCw::before): Deleted.
(.secondaryToolbarButton.selectTool::before): Deleted.
(.secondaryToolbarButton.handTool::before): Deleted.
(.secondaryToolbarButton.scrollPage::before): Deleted.
(.secondaryToolbarButton.scrollVertical::before): Deleted.
(.secondaryToolbarButton.scrollHorizontal::before): Deleted.
(.secondaryToolbarButton.scrollWrapped::before): Deleted.
(.secondaryToolbarButton.spreadNone::before): Deleted.
(.secondaryToolbarButton.spreadOdd::before): Deleted.
(.secondaryToolbarButton.spreadEven::before): Deleted.
(.secondaryToolbarButton.documentProperties::before): Deleted.
(html[dir="ltr"] .verticalToolbarSeparator): Deleted.
(html[dir="rtl"] .verticalToolbarSeparator): Deleted.
(html[dir="ltr"] .toolbarField[type="checkbox"]): Deleted.
(html[dir="rtl"] .toolbarField[type="checkbox"]): Deleted.
(.toolbarField.pageNumber): Deleted.
(.toolbarField.pageNumber.visiblePageIsLoading): Deleted.
(.toolbarField.pageNumber::-webkit-inner-spin-button,): Deleted.
(html[dir="ltr"] #numPages.toolbarLabel): Deleted.
(html[dir="rtl"] #numPages.toolbarLabel): Deleted.
(html[dir="ltr"] .thumbnail): Deleted.
(html[dir="rtl"] .thumbnail): Deleted.
(#outlineView,): Deleted.
(html[dir="ltr"] .treeWithDeepNesting > .treeItem,): Deleted.
(html[dir="rtl"] .treeWithDeepNesting > .treeItem,): Deleted.
(html[dir="ltr"] .treeItem > a): Deleted.
(html[dir="rtl"] .treeItem > a): Deleted.
(html[dir="ltr"] #layersView .treeItem > a > label): Deleted.
(html[dir="rtl"] #layersView .treesItem > a > label): Deleted.
(html[dir="rtl"] .treeItemToggler.treeItemsHidden::before): Deleted.
(html[dir="ltr"] .treeItemToggler): Deleted.
(html[dir="rtl"] .treeItemToggler): Deleted.
(html[dir="ltr"] .treeItemToggler::before): Deleted.
(html[dir="rtl"] .treeItemToggler::before): Deleted.
(.overlayButton): Deleted.
(#overlayContainer): Deleted.
(#overlayContainer > *): Deleted.
(#overlayContainer > .container): Deleted.
(#overlayContainer > .container > .dialog): Deleted.
(.dialog > .row): Deleted.
(.dialog > .row > *): Deleted.
(.dialog .toolbarField): Deleted.
(.dialog .separator): Deleted.
(.dialog .buttonRow): Deleted.
(.dialog :link): Deleted.
(#passwordOverlay > .dialog): Deleted.
(#passwordOverlay .toolbarField): Deleted.
(#documentPropertiesOverlay > .dialog): Deleted.
(#documentPropertiesOverlay .row > *): Deleted.
(html[dir="ltr"] #documentPropertiesOverlay .row > *): Deleted.
(html[dir="rtl"] #documentPropertiesOverlay .row > *): Deleted.
(#documentPropertiesOverlay .row > span): Deleted.
(#documentPropertiesOverlay .row > p): Deleted.
(#documentPropertiesOverlay .buttonRow): Deleted.
(.clearBoth): Deleted.
(.fileInput): Deleted.
(#PDFBug): Deleted.
(#PDFBug .controls): Deleted.
(#PDFBug .panels): Deleted.
(#PDFBug .panels > div): Deleted.
(#PDFBug button.active): Deleted.
(.debuggerShowText): Deleted.
(.debuggerHideText:hover): Deleted.
(#PDFBug .stats): Deleted.
(#PDFBug .stats .title): Deleted.
(#PDFBug table): Deleted.
(#PDFBug table.showText): Deleted.
(#PDFBug table.showText,): Deleted.
(#PDFBug table.showText td.advance): Deleted.
(#viewer.textLayer-visible .textLayer): Deleted.
(#viewer.textLayer-visible .canvasWrapper): Deleted.
(#viewer.textLayer-visible .canvasWrapper canvas): Deleted.
(#viewer.textLayer-visible .textLayer span): Deleted.
(#viewer.textLayer-hover .textLayer span:hover): Deleted.
(#viewer.textLayer-shadow .textLayer span): Deleted.
(@media print #sidebarContainer,): Deleted.
(@media print #viewerContainer): Deleted.
(@media print #mainContainer,): Deleted.
(@media print .page): Deleted.
(@media print .page[data-loaded]): Deleted.
(@media print .fileInput): Deleted.
(@media all and (max-width: 840px) html[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer): Deleted.
(@media all and (max-width: 840px) html[dir="rtl"] #outerContainer.sidebarOpen #viewerContainer): Deleted.
(@media all and (max-width: 840px) #outerContainer .hiddenLargeView,): Deleted.
(@media all and (max-width: 840px) #outerContainer .visibleLargeView,): Deleted.
(@media all and (max-width: 640px) html[dir="ltr"] .findbar): Deleted.
(@media all and (max-width: 640px) html[dir="rtl"] .findbar): Deleted.
* Source/ThirdParty/pdfjs/web/viewer.html:
* Source/ThirdParty/pdfjs/web/viewer.js:
(__webpack_require__.const.PDFViewerApplication.async initialize):
(__webpack_require__.const.PDFViewerApplication.async _parseHashParameters):
(__webpack_require__.const.PDFViewerApplication.async _initializeViewerComponents):
(__webpack_require__.const.PDFViewerApplication.get supportsFullscreen):
(__webpack_require__.const.PDFViewerApplication.async close):
(__webpack_require__.):
(__webpack_require__):
(exports.checkOnBlobSupport): Deleted.
(__webpack_require__.DefaultExternalServices.async fallback): Deleted.
* Source/WebKit/PdfJSGResources.cmake:

link: https://commits.webkit.org/250650@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
70 files changed:
Source/ThirdParty/pdfjs/README.webkit [new file with mode: 0644]
Source/ThirdParty/pdfjs/build/pdf.js
Source/ThirdParty/pdfjs/build/pdf.sandbox.js
Source/ThirdParty/pdfjs/build/pdf.worker.js
Source/ThirdParty/pdfjs/web/debugger.css [new file with mode: 0644]
Source/ThirdParty/pdfjs/web/debugger.js
Source/ThirdParty/pdfjs/web/images/grab.cur [deleted file]
Source/ThirdParty/pdfjs/web/images/grabbing.cur [deleted file]
Source/ThirdParty/pdfjs/web/locale/be/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ca/viewer.properties
Source/ThirdParty/pdfjs/web/locale/cs/viewer.properties
Source/ThirdParty/pdfjs/web/locale/cy/viewer.properties
Source/ThirdParty/pdfjs/web/locale/da/viewer.properties
Source/ThirdParty/pdfjs/web/locale/de/viewer.properties
Source/ThirdParty/pdfjs/web/locale/dsb/viewer.properties
Source/ThirdParty/pdfjs/web/locale/el/viewer.properties
Source/ThirdParty/pdfjs/web/locale/en-CA/viewer.properties
Source/ThirdParty/pdfjs/web/locale/en-GB/viewer.properties
Source/ThirdParty/pdfjs/web/locale/en-US/viewer.properties
Source/ThirdParty/pdfjs/web/locale/eo/viewer.properties
Source/ThirdParty/pdfjs/web/locale/es-AR/viewer.properties
Source/ThirdParty/pdfjs/web/locale/es-CL/viewer.properties
Source/ThirdParty/pdfjs/web/locale/es-ES/viewer.properties
Source/ThirdParty/pdfjs/web/locale/es-MX/viewer.properties
Source/ThirdParty/pdfjs/web/locale/et/viewer.properties
Source/ThirdParty/pdfjs/web/locale/eu/viewer.properties
Source/ThirdParty/pdfjs/web/locale/fr/viewer.properties
Source/ThirdParty/pdfjs/web/locale/fy-NL/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ga-IE/viewer.properties
Source/ThirdParty/pdfjs/web/locale/gn/viewer.properties
Source/ThirdParty/pdfjs/web/locale/hr/viewer.properties
Source/ThirdParty/pdfjs/web/locale/hsb/viewer.properties
Source/ThirdParty/pdfjs/web/locale/hu/viewer.properties
Source/ThirdParty/pdfjs/web/locale/hye/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ia/viewer.properties
Source/ThirdParty/pdfjs/web/locale/id/viewer.properties
Source/ThirdParty/pdfjs/web/locale/is/viewer.properties
Source/ThirdParty/pdfjs/web/locale/it/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ja/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ka/viewer.properties
Source/ThirdParty/pdfjs/web/locale/kab/viewer.properties
Source/ThirdParty/pdfjs/web/locale/kk/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ko/viewer.properties
Source/ThirdParty/pdfjs/web/locale/nb-NO/viewer.properties
Source/ThirdParty/pdfjs/web/locale/nl/viewer.properties
Source/ThirdParty/pdfjs/web/locale/nn-NO/viewer.properties
Source/ThirdParty/pdfjs/web/locale/oc/viewer.properties
Source/ThirdParty/pdfjs/web/locale/pa-IN/viewer.properties
Source/ThirdParty/pdfjs/web/locale/pl/viewer.properties
Source/ThirdParty/pdfjs/web/locale/pt-BR/viewer.properties
Source/ThirdParty/pdfjs/web/locale/pt-PT/viewer.properties
Source/ThirdParty/pdfjs/web/locale/rm/viewer.properties
Source/ThirdParty/pdfjs/web/locale/ru/viewer.properties
Source/ThirdParty/pdfjs/web/locale/sat/viewer.properties
Source/ThirdParty/pdfjs/web/locale/sc/viewer.properties
Source/ThirdParty/pdfjs/web/locale/sk/viewer.properties
Source/ThirdParty/pdfjs/web/locale/sl/viewer.properties
Source/ThirdParty/pdfjs/web/locale/sv-SE/viewer.properties
Source/ThirdParty/pdfjs/web/locale/szl/viewer.properties
Source/ThirdParty/pdfjs/web/locale/tg/viewer.properties
Source/ThirdParty/pdfjs/web/locale/th/viewer.properties
Source/ThirdParty/pdfjs/web/locale/tr/viewer.properties
Source/ThirdParty/pdfjs/web/locale/uk/viewer.properties
Source/ThirdParty/pdfjs/web/locale/vi/viewer.properties
Source/ThirdParty/pdfjs/web/locale/zh-CN/viewer.properties
Source/ThirdParty/pdfjs/web/locale/zh-TW/viewer.properties
Source/ThirdParty/pdfjs/web/viewer.css
Source/ThirdParty/pdfjs/web/viewer.html
Source/ThirdParty/pdfjs/web/viewer.js
Source/WebKit/PdfJSGResources.cmake