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

Fix the IndexedDB worker #7920

Merged
merged 1 commit into from
Dec 20, 2018
Merged

Fix the IndexedDB worker #7920

merged 1 commit into from
Dec 20, 2018

Commits on Dec 19, 2018

  1. Fix the IndexedDB worker

    Looks like this was broken in the webpack 4 upgrade due to the
    worker script setter and the bundle being re-ordered in index.html.
    
     * Remove the loop: we only use two scripts now, so import them
       explicitly
     * Remove outdated olm import code.
     * Stop generating a script import for each theme: we were pulling
       in 3 js files that did absolutely nothing.
     * Fix worker 'onmessage' scope (set it as a global rather than
       trying to make it an ES6 module which it isn't).
     * Fail hard if the indexeddb worker script isn't set to avoid
       this happening again.
    dbkr committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    7527bdd View commit details
    Browse the repository at this point in the history