mozilla/browserid — pull request #2777 by fmarier (2012-11-28 00:16:14+00:00)
Title: Prefetch dialog components from the communication_iframe

When the browser is idle, it will start fetching and caching the
dialog's Javascript, CSS and images. This works on IE9 and Firefox
(it's currently disabled in Chromium).

The trick is to make sure that the communication iframe is open
while the user is busy reading the RP's site. When using the
Observer API, this happens automatically at the end of the
navigator.id.watch() call.