domain-browser
domain-browser copied to clipboard
Node's domain module for the web browser
I know it would not be easy but probably it would be done by listening on window object for uncaught exceptions...
Currently this module doesn't set `process.domain`, to be consistent with node it should set this at the beginning of #run and remove it at the end. Also missing `domain.active`.
Current tests run on a Node.js environment. Since this module is mostly intended for browsers, it should use some platform like PhantomJS or similar instead to get a more real...