gristlabs_grist-core/app/client/lib
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
..
ACIndex.ts (core) Fixing ACIndex highlightMatches functions 2022-08-26 08:34:16 +02:00
ACSelect.ts Improve input team member (#268) 2022-09-21 10:30:54 -04:00
ACUserManager.ts Make a good part of the app localizable and add French translations (#325) 2022-10-28 09:11:08 -07:00
autocomplete.ts (core) Fixing UserManger releted tests 2022-09-27 23:20:53 +02:00
browserGlobals.js (core) move client code to core 2020-10-02 13:24:21 -04:00
browserInfo.ts (core) Fixing bug with first click on windows 2022-06-30 17:08:57 +02:00
chartUtil.ts (core) Fix error bars for bar chart 2022-01-04 17:58:52 +01:00
copyToClipboard.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
CustomSectionElement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dblclick.ts (core) Fix double-tap on Android failing to select tapped cell; ensure gestures don't get interpreted as double-tap 2021-02-10 09:22:14 -05:00
Delay.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dispose.d.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
dispose.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DocPluginManager.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dom.js (core) move client code to core 2020-10-02 13:24:21 -04:00
domAsync.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
download.js (core) move client code to core 2020-10-02 13:24:21 -04:00
FocusLayer.ts (core) When managing focus, don't auto-scroll 2022-09-14 17:32:11 -04:00
formUtils.ts (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00
fromKoSave.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
guessTimezone.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
helpScout.ts (core) Reopen HelpScout beacon to the last-opened article 2022-03-31 14:54:55 -04:00
HomePluginManager.ts (core) Adding import from google drive to the home screen 2021-08-05 20:46:11 +02:00
imports.d.ts (core) tweak how search bar places cursor on sections 2021-08-30 09:26:28 -04:00
imports.js (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
ImportSourceElement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koArray.d.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koArray.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koArrayWrap.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koDom.js (core) Scrolling to the active record when editor is activated 2022-01-10 23:35:08 +01:00
koDomScrolly.css (core) move client code to core 2020-10-02 13:24:21 -04:00
koDomScrolly.js (core) Fixing scrolling for linked sections 2022-11-09 20:39:26 +01:00
koForm.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
koForm.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koUtil.js (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
loadScript.js (core) move client code to core 2020-10-02 13:24:21 -04:00
localization.ts Adding type inference and makeT helper function 2022-10-20 10:34:38 +02:00
localStorageObs.ts (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
log.ts (core) support ?embed=true and &style=light for a clean embed experience 2020-08-14 13:34:38 -04:00
Mousetrap.js (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
multiselect.css (core) move client code to core 2020-10-02 13:24:21 -04:00
multiselect.js (core) move client code to core 2020-10-02 13:24:21 -04:00
MultiUserManager.ts Add multiple users (#350) 2022-11-28 09:02:32 -05:00
ObservableMap.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ObservableSet.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ReferenceUtils.ts (core) Reference and ReferenceList formatters 2022-01-13 18:09:33 +02:00
SafeBrowser.ts (core) dust off electron build a little bit 2022-07-29 11:19:26 -04:00
SafeBrowserProcess.css (core) move client code to core 2020-10-02 13:24:21 -04:00
sessionObs.ts (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
sortUtil.ts (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
storage.ts (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
tableUtil.ts (core) Fix some bugs with repositioning rows. 2022-06-07 16:55:45 -04:00
testState.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
textUtils.ts (core) Check document ID when parsing pasted references 2021-11-30 13:40:17 +02:00
TokenField.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
uploads.ts (core) Switch excel import parsing from messytables+xlrd to openpyxl, and ignore empty rows 2022-05-12 14:43:21 +02:00
UrlState.ts (core) Fixes persistence of the aclAsUser_ parameters across navigation 2021-05-19 09:51:38 +02:00
Validator.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00