We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fbbe23 commit df41ee3Copy full SHA for df41ee3
packages/auth/src/auth.js
@@ -321,7 +321,7 @@ fireauth.Auth.prototype.emitEmulatorWarning_ = function() {
321
fireauth.util.consoleWarn('WARNING: You are using the Auth Emulator,' +
322
' which is intended for local testing only. Do not use with' +
323
' production credentials.');
324
- if (goog.global.document) {
+ if (goog.global.document && goog.global.document.body) {
325
const ele = goog.global.document.createElement('p');
326
ele.innerText = 'Running in emulator mode. Do not use with production' +
327
' credentials.';
0 commit comments