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

IE11 error message on Firebase SDK 7.15.5 #3305

Closed
tandalesc opened this issue Jun 26, 2020 · 6 comments · Fixed by #3309
Closed

IE11 error message on Firebase SDK 7.15.5 #3305

tandalesc opened this issue Jun 26, 2020 · 6 comments · Fixed by #3309
Assignees

Comments

@tandalesc
Copy link

Environment

  • Operating System version: Windows 10
  • Browser version: Internet Explorer 11
  • Firebase SDK version: 7.15.5
  • Firebase Product: core (auth, database, storage, etc)

Problem

Hello,

I was working on a new project and everything was going smoothly until I tried to view the webpage in IE11. On Firebase 7.15.5, the site does not load at all. I tried earlier versions of the Firebase JS SDK and they all work -- including 7.15.4. On other browsers and operating systems, the site works without issue.

I'm getting the following error message on 7.15.5 in IE11:

Accessing the 'caller' property of a function or arguments object is not allowed in strict mode

I believe I've traced the problem to this file: packages/firestore/src/util/api.ts. Specifically, this section (around line 50):

for (const staticProp of Object.getOwnPropertyNames(cls)) {
    if (RESERVED_READONLY_PROPS.indexOf(staticProp) === -1) {
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
      (PublicConstructor as any)[staticProp] = (cls as any)[staticProp];
    }
}

Unfortunately, I'm not super familiar with the inner workings of the Firebase SDK so I'm not sure how to best address this issue.

I didn't include any code samples because the problem occurred during the initial startup process. I don't even have authentication or firestore collections setup yet. Please let me know if I can help in any way!

@google-oss-bot
Copy link
Contributor

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@JFGHT
Copy link

JFGHT commented Jun 26, 2020

Can confirm it's happening to us too.

@kbi-daniel
Copy link

Just happened to a project I'm working on. Reverted to 7.15.4 and everything works fine.

@schmidt-sebastian
Copy link
Contributor

We will remove the code that caused this breakage altogether, as we are currently not able to run our tests in IE11.

@vandres
Copy link

vandres commented Jul 3, 2020

@schmidt-sebastian Sorry to bother you but when will this be released?

@schmidt-sebastian
Copy link
Contributor

End of this week, likely Thursday the 11th.

@firebase firebase locked and limited conversation to collaborators Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants