Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating history fails during initial app start #92

Open
noyainrain opened this issue Nov 29, 2019 · 0 comments
Open

Navigating history fails during initial app start #92

noyainrain opened this issue Nov 29, 2019 · 0 comments

Comments

@noyainrain
Copy link
Owner

Navigating back / forward during the initial app start, i.e. with empty local storage, fails with the following error:

[E 191128 18:17:48 server:766] Client error occurred
    TypeError: null is not an object (evaluating 'this._data.settings.title')
    Stack:
    _updateTitle@http://localhost:8080/static/node_modules/@noyainrain/micro/index.js?v=05cf8754188d354012f63be9dca8c70b:592:65
    page@http://localhost:8080/static/node_modules/@noyainrain/micro/index.js?v=05cf8754188d354012f63be9dca8c70b:320:30
    http://localhost:8080/static/node_modules/@noyainrain/micro/index.js?v=05cf8754188d354012f63be9dca8c70b:534:17
    asyncFunctionResume@[native code]
    [native code]
    promiseReactionJob@[native code]
    URL: /
    User: -
    Device info: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15

To reproduce with Safari:

  1. Open Hello in private mode
  2. Navigate to About
    (2 history entries, settings set)
  3. Restart browser
    (2 history entries, settings unset)
  4. Navigate back while Hello is booting

Note that other browsers do not restore private tabs, but the same effect can be achieved by manually clearing site data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant