gristlabs_grist-core/app/client/ui2018
Dmitry S 29a7eadb85 (core) Fix problem with localStorage in some cross-origin embed situations
Summary:
- Handle the possibility that any access to localStorage causes error.
- Move getStorage() and getSessionStorage() safe functions to a separate file.
- Use these safe functions in more places.

Test Plan:
Added a test case, using a webdriver instance that blocks third-party cookies,
to enforce third-party restrictions. Added to gristUtil a way to override the
webdriver instance.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3719
2022-11-30 23:52:50 -05:00
..
breadcrumbs.ts Make a good part of the app localizable and add French translations (#325) 2022-10-28 09:11:08 -07:00
buttons.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
buttonSelect.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
checkbox.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
ColorPalette.ts (core) Adding font options to the style picker 2022-04-07 20:35:03 +02:00
ColorSelect.ts Make a good part of the app localizable and add French translations (#325) 2022-10-28 09:11:08 -07:00
cssVars.ts (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
draggableList.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
editableLabel.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
IconList.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
icons.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
links.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
loaders.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
menus.ts Make a good part of the app localizable and add French translations (#325) 2022-10-28 09:11:08 -07:00
modals.ts Add multiple users (#350) 2022-11-28 09:02:32 -05:00
pages.ts (core) Revealing hidden pages with visible children. 2022-10-31 14:02:38 +01:00
search.ts (core) Don't override search on Code View and Access Rules pages. 2022-11-14 10:46:35 -05:00
select.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00