Labs/Jetpack/Reboot/JEP/108: Difference between revisions

Line 31: Line 31:
</pre>  
</pre>  


** Background Page work units are bound with the Background Page's window object by default
* Background Page work units are bound with the Background Page's window object by default
** If interval option is present, the function is wrapped with setInterval(); and the $Moz.background method returns the interval timer so that it may be cleared outside of the Background Page.
* If interval option is present, the function is wrapped with setInterval(); and the $Moz.background method returns the interval timer so that it may be cleared outside of the Background Page.
** Functional context for the function passed to the background page can be passed as an option
* Functional context for the function passed to the background page can be passed as an option
1,273

edits