Angular (TypeScript) application from JHipster 6.8.0 do not work in Firefox Developer Edition
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox74 | --- | unaffected |
| firefox75 | --- | wontfix |
| firefox76 | --- | wontfix |
| firefox77 | --- | fixed |
People
(Reporter: prorokxp, Unassigned)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
|
37.36 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
- generate jhipster application with Angular frontend (React frontend works well by the way) with "jhipster.cmd" command
- npm start
to run angular application
Firefox Developer Edition 75.0b7 (64-bit) on Windows 10
Actual results:
Browser gives me an error:
TypeError: clazz.decorators is undefined
Expected results:
Its hard to say where is the error. Because you know, its an angular application with typescript, webpack and ES processors.
But there is one fact - it actually works in all browsers except. Firefox Developers Edition 75.0b7 (64-bit). And it works well in Firefox 74.0 (64-bit)
So I think the problem is about compatibility with beta version of Firefox. I hope it can be fixed.
I'm glad to provide additional information, if you need it
Comment 1•5 years ago
|
||
Is it possible to provide a test page so we could investigate this problem?
Comment 2•5 years ago
|
||
This error now also occurs on Firefox 75.0.
I set up an test site so you can investigate: https://bugzilla-report.simon-leiss.de/
Please not that the websites functionality (like login) is not working, but that's intended as thats only a demo site.
Comment 3•5 years ago
|
||
Just to add some more information to what Simon mentioned, this appears only on Firefox when used in conjunction with Angular 9 and Webpack bundling with es2015; more information and exact code to replace it could be found at https://github.com/jhipster/generator-jhipster/issues/11566. If you guys need any further help in reproducing it let us know. :smile:
Comment 4•5 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8be52303d2c3f9f763badebf4fa6deab67d79914&tochange=ab8ec6eab00cfa049fa1c1d7c8294c8f490d0238
Suspect: Bug 1605143
Console shows:
TypeError: can't access property "push", clazz.decorators is undefined main.bundle.js line 967 > eval:32642:17
Comment 5•5 years ago
|
||
Setting javascript.options.blinterp=false fixes the issue.
Comment 6•5 years ago
|
||
Probably a dupe of bug 1628719.
Comment 7•5 years ago
|
||
Can you verify that this is fixed in the latest nightly?
Comment 8•5 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #7)
Can you verify that this is fixed in the latest nightly?
Yes, this was fixed. WFM now, tested on Nightly77.0a1(20200414214610) Windows10.
Comment 9•5 years ago
|
||
Thank you!
Comment 10•5 years ago
|
||
@Alice0775, @Hani, @Tom: Thanks much for looking into this. :)
Updated•5 years ago
|
Description
•