libkiwix/test
Veloman Yunkan c1ad65d515 PDF-friendly book home button in the viewer
In firefox, when PDF content is displayed in the viewer, changing the
viewer URL in the address bar had no effect. The most prominent
manifestation of this bug was the broken book home button but the same
issue was present even if the fragment component of the viewer URL was
edited manually. The bug was a result of

1. an optimization preventing any actions if the new content URL is the
   same as the old content URL (this was needed to break the infinite loop
   of mutual updates of the top-window and content window/iframe URLs when
   any one of them changes).

2. sandboxing of the iframe and inability to access the content URL in
   iframe because of cross-origin restrictions when the content is a PDF
   displayed by the builtin viewer.

Now that issue is fixed. A slight remaining defect is that the
addressbar URL is still not updated when a PDF file is loaded/displayed
in the viewer.
2023-06-08 17:32:50 +04:00
..
data Support for multilang ZIMs 2023-03-08 15:24:53 +01:00
book.cpp Deprecated Book::getLanguage() 2023-03-08 15:24:53 +01:00
httplib.h Fix warning in httplib. 2021-11-16 09:39:56 +01:00
kiwixserve.cpp Fix tests. 2020-01-20 17:00:18 +01:00
library.cpp Deprecated Book::getLanguage() 2023-03-08 15:24:53 +01:00
library_server.cpp Fixed OPDS XML output for multiple filters 2023-04-18 14:33:40 +04:00
lrucache.cpp uint is not defined on Windows 2022-06-10 11:21:35 +02:00
manager.cpp Deprecated Book::getLanguage() 2023-03-08 15:24:53 +01:00
meson.build Proper URI-encoding in InternalServer::build_redirect() 2023-02-08 22:16:09 +01:00
name_mapper.cpp Dropped Library::getBookBy*() non-const functions 2021-11-30 18:20:27 +04:00
opds_catalog.cpp Proper URI-encoding in kiwix::getSearchUrl() 2023-01-25 19:15:12 +04:00
otherTools.cpp Properly implemented parseUserLanguagePreferences() 2022-12-14 15:34:46 +01:00
pathTools.cpp Do not include posix header on Windows 2022-01-19 16:15:59 +01:00
regex.cpp Got rid of unused *pendToFirstOccurence() funcs 2022-09-21 15:52:26 +04:00
server.cpp PDF-friendly book home button in the viewer 2023-06-08 17:32:50 +04:00
server_helper.cpp Introduce a pagination object to render search result. 2022-05-23 19:12:17 +02:00
server_search.cpp URI-encoding of the root location part 2023-02-09 10:40:07 +01:00
server_testing_tools.h Redirection of slashless root URL 2023-02-22 17:54:20 +04:00
stringTools.cpp Add download-links to tiles in /nojs 2023-03-29 19:02:56 +05:30
tagParsing.cpp Fix tests. 2020-01-20 17:00:18 +01:00