Changes

Jump to: navigation, search

Labs/Jetpack/JEP/25

61 bytes added, 17:55, 15 September 2009
Code Examples: renamed sections
== Code Examples ==
This code doesn't actually necessarily work; it's just aspirational.
=== XULRunner extension, in a chrome-privileged page/window ===
unloaded.
=== Chrome Booster, exporting to Jetpack ===
A Chrome Booster can use the forthcoming ChromeObjectWrapper protocol to decide which properties it wants to export to untrusted or semi-trusted Jetpack code.
In the above case, <tt>foo.bar()</tt> will be readable (but not writable) from Jetpacks that import the above module via a call to <tt>require()</tt>, but <tt>foo.baz</tt> will not be accessible at all.
=== Chrome Booster, exporting to Jetpack With Capabilities with capabilities ===
If a Jetpack has capabilities associated with it, a Chrome Booster should be able to introspect into them and provide attenuated functionality based on said capabilities:
874
edits

Navigation menu