Firebase iframe.js error: This browser is not supported - Latest Chrome

1,343 views
Skip to first unread message

Thomas Herbert

unread,
May 24, 2016, 10:23:03 AM5/24/16
to Firebase Google Group
Hello,

I am trying to make a very basic 'Hello Word' Firebase app using a standard React + Webpack setup. It works perfectly with Firebase 2.0, but after trying to upgrade I get the following error:


Is the latest Chrome truly not supported by Firebase 3.0? Could this be a compatibility issue with Webpack's Dev Server? I am trying to initialize the app like so:

import React from 'react'
import ReactDOM from 'react-dom'
import Firebase from 'firebase'

let config = {
  apiKey: //key,
  authDomain: //domain,
  databaseURL: //url
}

Firebase.initializeApp(config)

export default class App extends React.Component {

  render() {
    return(
      <div>
        Test
      </div>
    )
  }
}

The comments replaced with the credentials provided by Firebase, of course. I tried following the "for a server" set up instructions as well, generating the .json file and including it, but got the same error. I've been using Firebase 2.0 for quite a while with no issues - am I missing something obvious?

Thanks!
Message has been deleted

boj...@google.com

unread,
Jun 4, 2016, 4:58:44 PM6/4/16
to Firebase Google Group
This error tends to happen sometimes if web storage is disabled. Make sure you have not disabled 3rd party cookies in your browser settings. 

Ron Royston

unread,
Jun 4, 2016, 11:35:14 PM6/4/16
to Firebase Google Group
I'm not saying it will work, but you might try and hack at the iFrame's that Firebase injects behind the scenes.  Something like

    pub.iframeKiller = function(){
        for (var i = 0; i < iframes.length; i++) {
            iframes[i].location='';
        }
    };

    You can get at them like window.frames[0] too.

Alex

unread,
Jun 5, 2016, 10:40:00 AM6/5/16
to Firebase Google Group
Solved!
Basically, you may have "3rd party cookies restriction" enabled in Chrome (privacy settings). Uncheck the box and voilá!

boj...@google.com

unread,
Jun 6, 2016, 12:25:37 AM6/6/16
to Firebase Google Group
Glad it worked, Alex. The default settings should work.
Reply all
Reply to author
Forward
0 new messages