Labs/Jetpack/JEP/28: Difference between revisions

Jump to navigation Jump to search
→‎Requirements and Scope: removed word "mechanism" as per Myk's suggestion
(→‎Usage: added notes on what the Loader does)
(→‎Requirements and Scope: removed word "mechanism" as per Myk's suggestion)
Line 11: Line 11:
== Requirements and Scope ==
== Requirements and Scope ==


To address issues present in traditional Extension development, Cuddlefish provides the following:
To address issues present in traditional Extension development, Cuddlefish provides mechanisms for:


* A simple, straightforward mechanism for writing and executing test cases, inspired by Python's [http://code.google.com/p/python-nose/ nose] package.
* writing and executing test cases, inspired by Python's [http://code.google.com/p/python-nose/ nose] package,
* A mechanism for tracking JS objects of interest to aid in memory profiling and leak detection.
* tracking JS objects of interest to aid in memory profiling and leak detection,
* A mechanism for registering callbacks that perform cleanup tasks when modules are unloaded.
* registering callbacks that perform cleanup tasks when modules are unloaded,
* A mechanism for easily reporting errors with full stack tracebacks.
* easily reporting errors with full stack tracebacks,
* A simple mechanism for dropping-in optional third-party packages or SecurableModules.
* dropping-in optional third-party packages or SecurableModules.


Cuddlefish should also have the following characteristics:
Cuddlefish should also have the following characteristics:
874

edits

Navigation menu