Closed Bug 1190025 Opened 9 years ago Closed 8 years ago

Firefox is blocking animation when rendering content in Ember.js

Categories

(Core :: General, defect)

39 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 516752
Tracking Status
platform-rel --- -

People

(Reporter: x, Unassigned, NeedInfo)

Details

(Whiteboard: [platform-rel-Frameworks][platform-rel-EmberJS])

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150630154324

Steps to reproduce:

Enter http://discuss.emberjs.com
Pick some topic that has more than 30 replies. 


Actual results:

Look at loading spinner, it will hang for around 500 ms at the end of loading, because I/O waiting is over, we got the data and it's rendering this data now. 
If the network waiting is low and you need to render heavy elements then loading spinner only starts to animate for example for 50ms and then while rendering starts it's blocked for example 300ms. Firefox is stopping animation upon receiving data from ajax call instead of stopping it when the data is rendered by the framework.


Expected results:

Do the same on any other browser, for example chrome, edge, opera. You will see no blocking of spinner, it will animate untill the data is rendered. Even rendering complex objects takes 10 times more than waiting for data from network it will still spin on chrome/edge/opera until the data is fully rendered and shown.
Last sentence should be: "Even while rendering complex objects that takes 10 times more time than waiting for data from network, spinner will still spin (animate) on chrome/edge/opera until the data is fully rendered and shown."
Moving to a more appropriate component, feel free to move back If I am wrong.
QA Whiteboard: [bugday-20150727]
Component: Untriaged → DOM: Animation
Product: Firefox → Core
platform-rel: --- → ?
Whiteboard: [platform-rel-Frameworks][platform-rel-EmberJS]
On E10S the loading spinner now runs on the chrome process, so it does not stop while rendering contents or loading contents.

Reporter, could you please clarify this bug still happens on firefox 48 or nightly?
Flags: needinfo?(x)
Which spinner? The one in the tab or the one in the content that shows up when you scroll?

If it's the former, presumably e10s should fix it. If it's the latter, then I can't reproduce (and that spinner does appear to be running on the compositor so it shouldn't be blocked).
platform-rel: ? → -
This works for me with e10s turned on but I can reproduce with it turned off.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: DOM: Animation → General
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.