allow Grist front-end to function when location history is unavailable (#596)

* allow Grist front-end to function when location history is unavailable

When the Grist front-end is embedded in an iframe, using a srcdoc
attribute, history.pushState and similar methods are unavailable.
Currently, that makes it impossible to navigate between Grist pages,
since an access error is thrown (behavior may be browser dependent).
With this change, navigation succeeds.

* give unrelated possibly slow test a little more time
This commit is contained in:
Paul Fitzpatrick
2023-07-27 12:02:17 +01:00
committed by GitHub
parent ab6807c342
commit f0b9e1f7e9
3 changed files with 17 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import * as gu from 'test/nbrowser/gristUtils';
import {server, setupTestSuite} from 'test/nbrowser/testUtils';
describe('SelectByRefList', function() {
this.timeout(60000);
this.timeout(80000);
setupTestSuite();
addToRepl('gu2', gu);
gu.bigScreen();