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

top level await is not supported in Firefox (v88) #3

Closed
raffaelj opened this issue May 12, 2021 · 1 comment
Closed

top level await is not supported in Firefox (v88) #3

raffaelj opened this issue May 12, 2021 · 1 comment

Comments

@raffaelj
Copy link
Collaborator

raffaelj commented May 12, 2021

System

OS: openSUSE Tumbleweed
Desktop: i3
Browser: Firefox 88.0 (64-bit)
Firefox-Addons: NoScript, uBlock Origin, Decentraleyes, BlockTube, Facebook Container, KeePassXC-Browser

Steps to reproduce:

  • create or edit collection
  • see browser dev tools in js console tab

full error message

SyntaxError: top level await is not currently supported vue.js:1:12848
    VueJS 32
    _compile http://localhost:8080/modules/App/assets/js/vue-view.js:96
    compile http://localhost:8080/modules/App/assets/js/vue-view.js:21
    (Async: promise callback)
    compile http://localhost:8080/modules/App/assets/js/vue-view.js:20
    connectedCallback http://localhost:8080/modules/App/assets/js/vue-view.js:105
    <anonymous> http://localhost:8080/modules/App/assets/js/vue-view.js:109
    <anonymous> http://localhost:8080/modules/App/assets/js/vue-view.js:113

When I open it in chromium browser, I don't have this error message and I can edit the fields. In Firefox I only see the "Fields" headline without the "+" button below.


edit:
This should work in the upcoming Firefox 89 - https://bugzilla.mozilla.org/show_bug.cgi?id=1681046

But even when Firefox can handle top level awaits out of the box, there will be a lot of Firefox derivates (e.g. Tor browser) and ESR (Extended Support Release) versions around for a long time.

@raffaelj raffaelj changed the title console error: SyntaxError: top level await is not currently supported top level await is not supported in Firefox (v88) May 12, 2021
@aheinze
Copy link
Collaborator

aheinze commented May 13, 2021

Thanks!

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

No branches or pull requests

2 participants