Bug 134251 - Kill the LocalStorage and let the local file "served" via WOPI
Summary: Kill the LocalStorage and let the local file "served" via WOPI
Status: NEW
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 09:20 UTC by Jan Holesovsky
Modified: 2020-06-29 13:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Holesovsky 2020-06-23 09:20:44 UTC
The unit test code has a way how to emulate the WOPI access, test/WopiTestServer.hpp.

It would be extremely cool to actually do something similar in the loolwsd itself when built with --enable-debug, and use that for accessing the local files instead of the special LocalStorage.

That way, even opening the local files would test the WOPI code paths, instead of having separate ones for local files and separate for WOPI.