Subj : Notification when leaving a scope, and attaching custom data to a To : netscape.public.mozilla.jseng From : Benjamin D. Smedberg Date : Fri Jun 25 2004 03:08 pm I have been looking at the netscape.security.PrivilegeManager.enablePrivilege() functionality, and I'm trying to figure out how it is implemented within spidermonkey. This function must keep "state" information about the currently active script context, and presumably is notified when a script reaches the end of the current block/function. Is this correct? What API does it use? --BDS .