gristlabs_grist-core/test/nbrowser
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
..
ActionLog.ts (core) Use different user in ActionLog tests 2022-05-05 14:04:03 -07:00
ChoiceList.ts Add tests for autocomplete without accents 2022-08-17 19:11:52 +02:00
customUtil.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomView.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomWidgets.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomWidgetsConfig.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
DuplicateDocument.ts (core) tweak duplicate document test to be more reliable 2022-09-22 14:26:56 -04:00
Fork.ts (core) Miscellaneous little logging improvements 2022-07-15 00:21:44 +02:00
gristUtils.ts (core) Fix problem with localStorage in some cross-origin embed situations 2022-11-30 23:52:50 -05:00
HomeIntro.ts (core) Adding empty workspace intro 2022-09-12 16:19:31 +02:00
homeUtil.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
Localization.ts Ignoring expected server failures 2022-10-31 15:46:02 +01:00
MultiColumn.ts (core) Fixing multicolumn bug on a card view 2022-11-14 21:05:39 +01:00
Pages.ts (core) Revealing hidden pages with visible children. 2022-10-31 14:02:38 +01:00
ReferenceColumns.ts (core) Changing shortcuts for adding and removing rows 2022-10-21 18:45:25 +02:00
ReferenceList.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
RefTransforms.ts (core) Fix bug preventing changes to ref list table 2022-10-17 07:49:54 -07:00
RowMenu.ts (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
saveViewSection.ts Update saveViewSection test for grist-core (#323) 2022-10-24 16:19:09 -04:00
SelectionSummary.ts (core) Moving nbrowser tests to grist-core 2022-10-25 17:22:54 +02:00
Smoke.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
testServer.ts improve how server.restart functions in tests (#338) 2022-11-01 20:01:15 -04:00
testUtils.ts (core) Fixing click-away bug for the cell color widget 2022-10-24 16:21:14 +02:00
ToggleColumns.ts (core) When a checkbox is clicked on a new record, set default values determined by linking 2022-11-10 14:34:40 -05:00