1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/web
Jonas Jenwald b13b78388b Prevent intermittent "Node was not found" errors when removing the zoomLayer in PDFPageView_draw
I've seen the above error occasionally when the scale is updated many times in quick succession, but I've not been able to pinpoint exactly why it happens.
Since the error isn't caught, this means that the `pageViewDrawCallback` function doesn't run to completion.

Unfortunately, given the very intermittent nature of the issue, I haven't got any good STR for reliably reproducing this issue. However, I hope that this patch can be accepted anyway, since it's simple and should help prevent unnecessary errors.
2016-05-08 16:03:17 +02:00
..
images Add mirrored triangle (TOC item icon) 2015-09-06 15:35:58 +02:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
annotation_layer_builder.css Implement support for FileAttachment annotations 2016-02-23 22:49:53 +01:00
annotation_layer_builder.js Export the DefaultAnnotationLayerFactory to prevent the viewer components from breaking (PR 7172 followup) 2016-04-13 17:42:04 +02:00
app.js Merge pull request #7273 from Snuffleupagus/issue-7270 2016-04-29 10:37:11 -05:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js Refactors preferences and PDF opening related chromecom code. 2016-04-24 08:25:55 -05:00
compatibility.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
default_preferences.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
dom_events.js Refactors PDFFindBar and FirefoxCom find events. 2016-04-28 07:11:40 -05:00
download_manager.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
firefoxcom.js Refactors PDFFindBar and FirefoxCom find events. 2016-04-28 07:11:40 -05:00
grab_to_pan.js Update grab_to_pan.js 2016-05-07 23:46:56 +02:00
hand_tool.js Removes circular dependency of secondary toolbar on app.js. 2016-04-28 15:04:09 -05:00
interfaces.js Remove a superfluous "s" in AnnotationsLayerBuilder from files in web/ 2015-12-18 19:55:54 +01:00
mozPrintCallback_polyfill.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
overlay_manager.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
password_prompt.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
pdf_attachment_viewer.js Adds EventBus. 2016-04-28 06:57:24 -05:00
pdf_document_properties.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
pdf_find_bar.js Adds EventBus. 2016-04-28 06:57:24 -05:00
pdf_find_controller.js Refactors PDFFindBar and FirefoxCom find events. 2016-04-28 07:11:40 -05:00
pdf_history.js Fixes some static analysis warnings and recommendations 2016-05-02 17:34:58 -05:00
pdf_link_service.js Adds EventBus. 2016-04-28 06:57:24 -05:00
pdf_outline_viewer.js Fixes some static analysis warnings and recommendations 2016-05-02 17:34:58 -05:00
pdf_page_view.js Prevent intermittent "Node was not found" errors when removing the zoomLayer in PDFPageView_draw 2016-05-08 16:03:17 +02:00
pdf_presentation_mode.js Removes circular dependency of secondary toolbar on app.js. 2016-04-28 15:04:09 -05:00
pdf_rendering_queue.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_sidebar.js Adds EventBus. 2016-04-28 06:57:24 -05:00
pdf_thumbnail_view.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_thumbnail_viewer.js Fixes some static analysis warnings and recommendations 2016-05-02 17:34:58 -05:00
pdf_viewer.component.js Adds EventBus. 2016-04-28 06:57:24 -05:00
pdf_viewer.css Better components examples. 2016-04-28 13:30:03 -05:00
pdf_viewer.js Adds pre and post UI control change events. 2016-04-29 10:05:04 -05:00
pdfjs.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
preferences.js Refactors preferences and PDF opening related chromecom code. 2016-04-24 08:25:55 -05:00
secondary_toolbar.js Removes circular dependency of secondary toolbar on app.js. 2016-04-28 15:04:09 -05:00
text_layer_builder.css Use default line height for the text layer 2015-12-02 23:00:12 +01:00
text_layer_builder.js Adds EventBus. 2016-04-28 06:57:24 -05:00
ui_utils.js Adds EventBus. 2016-04-28 06:57:24 -05:00
view_history.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
viewer-snippet-chrome-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-chrome-overlays.html Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
viewer-snippet-firefox-extension.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet-minified.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet-mozPrintCallback-polyfill.html Revert PR 5510, except in WebKit browsers, for breaking print preview in Firefox 2015-03-07 00:16:55 +01:00
viewer-snippet.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer.css Fix insertion of blank pages during printing due to non-matching page sizes 2016-03-21 14:21:07 -07:00
viewer.html [Bug 1194700] Ensure that the customScaleOption is hidden in e10s 2016-04-23 15:57:51 +02:00
viewer.js Removes circular dependency of secondary toolbar on app.js. 2016-04-28 15:04:09 -05:00