Closed Bug 1624693 Opened 5 years ago Closed 5 years ago

Angular (TypeScript) application from JHipster 6.8.0 do not work in Firefox Developer Edition

Categories

(Core :: JavaScript Engine: JIT, defect)

75 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1628719
mozilla77
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)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

  1. generate jhipster application with Angular frontend (React frontend works well by the way) with "jhipster.cmd" command
  2. 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

Is it possible to provide a test page so we could investigate this problem?

Flags: needinfo?(prorokxp)

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.

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:

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

Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → JavaScript Engine: JIT
Keywords: regression
Product: Firefox → Core
Regressed by: 1605143

Setting javascript.options.blinterp=false fixes the issue.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Probably a dupe of bug 1628719.

Can you verify that this is fixed in the latest nightly?

Flags: needinfo?(alice0775)

(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.

Flags: needinfo?(alice0775)

Thank you!

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(prorokxp)
Resolution: --- → DUPLICATE
Target Milestone: --- → mozilla77

@Alice0775, @Hani, @Tom: Thanks much for looking into this. :)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: