Closed Bug 982279 Opened 11 years ago Closed 7 years ago

Calling window.stop() iterates over all dom nodes to check if they are animated images and stop them

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jrmuizel, Unassigned)

References

Details

I expect this is more expensive than the author expected. The reason for calling window.stop() during onscroll is not clear to me.
Blocks: 982210
Flags: needinfo?(crdlc)
The reason was "to stop the loading images while users are scrolling and I did not know how this expensive was. The user is seeing a set of of contacts and the images start loading. The use case is the user starts scrolling again while images are loading. In that point we added the window.stop in order to stop the loading of images because the user wants to go to another place on the list.
Flags: needinfo?(crdlc)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.