The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-domain.js @ 6f043940

History | View | Annotate | Download (7.17 KB)

# Date Author Comment
875e4a0c 02/27/2013 07:29 PM isaacs

core: Remove the nextTick for running the main file

Not necessary, since we can handle the error properly on the first tick
now, even if there are event listeners, etc.

Additionally, this removes the unnecessary "_needTickCallback" from
startup, since Module.loadMain() will kick off a nextTick callback right...

ec8ebaf3 12/29/2012 01:37 PM isaacs

domain: use camelCase instead of snake_case

While it's true that error objects have a history of getting snake_case
properties attached by the host system, it's a point of confusion to
Node users that comes up a lot. It's still 'experimental', so best to...

4401bb47 12/29/2012 01:37 PM isaacs

domain: Do not use uncaughtException handler

This adds a process._fatalException method which is called into from
C++ in order to either emit the 'uncaughtException' method, or emit
'error' on the active domain.

The 'uncaughtException' event is an implementation detail that it would...

6530310e 07/09/2012 12:37 PM Toshihiro Nakamura

domain: Remove first arg from intercepted fn

Fix to remove the first-arg, in case arguments length is more than 2
Add domain.intercept() test about first-arg removal

26b11915 06/19/2012 07:07 PM Bert Belder

test-domain: fix the test to work on Windows

On Windows, full pathnames are stored in the Error object when
a file i/o error happens. This is not the case on Unix. Before
this fix the test would break because of these full paths.

535e109a 06/09/2012 12:15 PM Andreas Madsen

domain: run now return callback result

both domain.bind and domain.intercept act this way

569acea0 06/09/2012 02:32 AM Marc Harter

Fix #3379 prevent domain.intercept passing 1st arg to cb

963459d7 04/17/2012 04:14 PM isaacs

Domain feature

This is a squashed commit of the main work done on the domains-wip branch.

The original commit messages are preserved for posterity:

  • Implicitly add EventEmitters to active domain
  • Implicitly add timers to active domain
  • domain: add members, remove ctor cb...