bimvie.ws icon indicating copy to clipboard operation
bimvie.ws copied to clipboard

Firefox will (probably) not be able to log in at next release

Open sigurdne opened this issue 6 years ago • 2 comments

Hi

Made an attempt at Version: 1.5.103-SNAPSHOT in eclipse: This commit on Jun 12 seems to break the index/login-page when using Firefox https://github.com/opensourceBIM/bimvie.ws/commit/9a0fb16d43690c774c8980b8da9beae42ee751aa

Firefox version 61.0.1

Regards

sigurdne avatar Aug 30 '18 20:08 sigurdne

I am struggling with finding the exact code change that caused Firefox to complain. I followed the instructions for eclipse https://github.com/opensourceBIM/BIMserver/wiki/Eclipse And rolled back changes to may 2018 for:

  • bimvie.ws
  • BIMserver-JavaScript-API
  • BIMserver

But still Firefox is complaining as follows:

SyntaxError: import declarations may only appear at top level of a module

Regards

sigurdne avatar Aug 31 '18 19:08 sigurdne

At the moment we only develop/test on Google Chrome. So that's also the only platform supported. Any fixes that make BIMvie.ws work on other platforms are always welcome.

The problem here is that we don't know in advance where the API is coming from (it's dynamic), but Firefox does not like this, I think they will change this in the future as this is not a unique problem. Also when dynamic loading of modules has been standardized, we can switch to that.

rubendel avatar Sep 10 '18 08:09 rubendel