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

m
redirecting old to new
No edit summary
m (redirecting old to new)
 
Line 1: Line 1:
== JEP 8 - Background Pages ==
#Redirect [[Labs/Jetpack/Reboot/JEP/108]]
 
* Champion: Daniel Buchner - daniel@mozilla.com
* Status: Accepted/In-Queue
* Bug Ticket:
* Type: API
 
 
=== Proposal ===
Background Pages are like a more open and free sandbox for doing most anything in a traditional web page with a DOM context, but with a key difference: the page is augmented with escalated, descending, chrome privileges. It is essentially along the same line of a Web Worker, just more open and accessible.
 
 
=== Key Issues ===
 
 
=== Dependencies & Requirements ===
* We must be able to give the code in the top window of this page chrome privileges that are strictly one-way/descending in nature.
* Dynamically generated code sent to the Background Page should be injected and executed in the Background Page's window context.
 
 
=== Internal Methods ===
* TBD
 
 
=== API Methods ===
* $Moz.toBackground(function(){ return window.document; })  //should return the Background Page's HTML document