gristlabs_grist-core/app/client
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
..
aclui (core) Update ACL save button when formula edit 2022-11-18 11:20:11 +01:00
components (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
lib (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
models (core) updates from grist-core 2022-11-21 09:50:26 -05:00
ui (core) Limiting doc remove permission to owners. 2022-11-30 23:37:18 +01:00
ui2018 (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
widgets (core) updates from grist-core 2022-11-21 09:50:26 -05:00
accountMain.ts (core) Enable MFA configuration (and add SMS) 2022-01-19 13:55:54 -08:00
activationMain.ts (core) Add basic activation page to grist-ee 2022-08-23 10:30:52 -07:00
app.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
app.js (core) i18 2022-09-29 18:02:09 +02:00
billingMain.ts (core) Add basic activation page to grist-ee 2022-08-23 10:30:52 -07:00
browserCheck.ts (core) fix browser check and favicon in grist-core 2022-01-05 18:15:05 -05:00
declarations.d.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
errorMain.ts (core) Enable MFA configuration (and add SMS) 2022-01-19 13:55:54 -08:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00