esprehn / chromium-codereview

A chrome extension that changes the frontend to Rietveld for Chromium
Other
35 stars 11 forks source link

Issues don't load until tab is focused #41

Closed zetafunction closed 10 years ago

zetafunction commented 10 years ago
  1. Open a bunch of issues in the background (ctrl+click a bunch of issues in the overview).
  2. Observe they don't load until the tab is focused.
esprehn commented 10 years ago

This is polymer listening inside requestAnimationFrame to startup. There's nothing I can do unfortunately.

esprehn commented 10 years ago

I'm wrong, this is because I'm using this.async() inside the routing system, which defaults to raf if you don't pass a time. Since raf doesn't fire on background tabs the view system never bootstraps.