Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegExp bug since angular 2.4.2 #14029

Closed
hmarchadour opened this issue Jan 20, 2017 · 4 comments · Fixed by #14082
Closed

RegExp bug since angular 2.4.2 #14029

hmarchadour opened this issue Jan 20, 2017 · 4 comments · Fixed by #14082

Comments

@hmarchadour
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
Since angular 2.4.2, I've a bug on angular bootsrap only on Firefox 31

Expected behavior
The RegExp should not throw a SyntaxError: invalid range in character class error on Firefox 31

Minimal reproduction of the problem with instructions
I've replay a plunker demo according to the pullrequest #13653 that seems introduce this bug.

It's a minimal script that can be reproduce on Firefox 31 according to modules/@angular/compiler/src/selector.ts .

What is the motivation / use case for changing the behavior?
XULRunner 31 (understand a subset of Firefox 31) is the last compatible release supported on Eclipse (Mars/Neon) to embed a Firefox runtime in an Eclipse product.
Firefox 31 works well before angular 2.4.2 with webpack (I don't know with SystemJs).
Actually, angular 2.4.1 is the last compatible release of angular with a embedded Firefox runtime Eclipse product.
Please tell us about your environment:

I've replay this problem only on Firefox 31 (the Operating system does not matter)

  • Angular version: 2.4.2
  • Browser: [ Firefox 31 ]
  • Language: [all]

  • Node (for AoT issues): node --version = does not matter

@hmarchadour
Copy link
Author

To get Firefox 31 https://ftp.mozilla.org/pub/firefox/releases/31.0/

@DzmitryShylovich
Copy link
Contributor

I believe this #13900 will fix it

@hmarchadour
Copy link
Author

A workaround -> build with AOT option
https://angular.io/docs/ts/latest/cookbook/aot-compiler.html#!/%23aot-jit

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
idlechara pushed a commit to idlechara/angular that referenced this issue Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants