Closed Bug 1834507 Opened 2 years ago Closed 1 year ago

"ERROR InternalError: too much recursion" thrown after loading many times an ngx-formly custom dropdown component

Categories

(Core :: JavaScript Engine, defect, P3)

Firefox 113
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ruben.gregori, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Steps to reproduce:

After loading an ngx-form page from my application, I click many times in a dropdown and select one of the options.

Actual results:

After doing this several times the browser throws an error:
ERROR InternalError: too much recursion~
_forEachChild ngx-formly-core.js:971
_forEachChild ngx-formly-core.js:967
_updateTreeValidity Angular
reduceFormUpdateValidityCalls ngx-formly-core.js:356
_checkField ngx-formly-core.js:2320
checkExpressionChange ngx-formly-core.js:1231
ngDoCheck ngx-formly-core.js:1114
Angular 5
View_FormlyPageComponent_0 FormlyPageComponent.html:2

Expected results:

Same test in Chrome or Edge does not throw any error.

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core

Without the ability to test this we'll have a very difficult time making progress. Is it possible to generate a reduced test case?

Severity: -- → S3
Flags: needinfo?(ruben.gregori)
Priority: -- → P3

This is surprising. In the past we used to be the browser which had the most stack space available, except when generators were on the stack.
Could it be that generators are filling up the stack space?

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(ruben.gregori)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.