Closed Bug 551355 Opened 16 years ago Closed 15 years ago

Review the securable-module module, jetpack-core/lib/securable-module.js

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: adw, Unassigned)

References

Details

http://hg.mozilla.org/labs/jetpack-sdk/file/tip/packages/jetpack-core/lib/securable-module.js Module description from the docs: The securable-module module allows for the recursive loading and sandboxing of CommonJS Modules (formerly called SecurableModules). This allows, for instance, the creation of "mini platforms" that manage the sandboxed evaluation of code.
> // Unless specified otherwise, use a principal with > // > this._defaultPrincipal = resolvePrincipal(defaultPrincipal, > "http://www.mozilla.org"); Perhaps use the null principal instead? http://mxr.mozilla.org/mozilla-central/search?string=@mozilla.org/nullprincipal;1 ?
Depends on: 569150
Rob, who would be a good reviewer to make sure Jetpack addon code is properly sandboxed?
mrbkap
Blake, can you give the Jetpack module in comment #0 the once-over to make sure it's sandboxing JS code from addons properly?
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
Given the length of time this code has been in the tree, and the exposure it has received, it doesn't seem like additional review at this point is worth the cost, with the exception of the cuddlefish module, about which concerns have been raised, so closing these bugs WONTFIX, except for that one.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.