You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What leads me to this conclusion is that when analysing the readyState flow :
loading > interactive > loaded
It seems that on overloadded computers, you can fall into a hole that you are not in the complete readyState, but the load event is fired before the else block is executed and the listener attached.
As recommended by mozilla it would be better to use this syntax.
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
When running e2e tests on slow, or overloaded computers, the stencilReady flag may not be triggered and got this error :
Expected behavior:
window.stencilAppLoaded
should be initialized even on slow or overloaded computers.Steps to reproduce:
Related code:
Code that triggers the stencil readiness :
What leads me to this conclusion is that when analysing the readyState flow :
It seems that on overloadded computers, you can fall into a hole that you are not in the
complete
readyState, but theload
event is fired before theelse
block is executed and the listener attached.As recommended by mozilla it would be better to use this syntax.
Other information:
I'm preparing a PR to use the mozilla recommendations
The text was updated successfully, but these errors were encountered: