aboutsummaryrefslogtreecommitdiff
path: root/test/message
AgeCommit message (Collapse)Author
2013-05-30process: remove maxTickDepth from _tickCallbackTrevor Norris
Removes the check for maxTickDepth for non-domain callbacks. So a user can starve I/O by setting a recursive nextTick. The domain case is more complex and will be addressed in another commit.
2013-05-21util: Add debuglog, deprecate console lookalikesisaacs
2013-04-05test: Fix message/error_exitisaacs
2013-03-20bindings: update apiTrevor Norris
All compile time warnings about using deprecated APIs have been suppressed by updating node's API. Though there are still many function calls that can accept Isolate, and still need to be updated. node_isolate had to be added as an extern variable in node.h and node_object_wrap.h Also a couple small fixes for Error handling. Before v8 3.16.6 the error stack message was lazily written when it was needed, which allowed you to change the message after instantiation. Then the stack would be written with the new message the first time it was accessed. Though that has changed. Now it creates the stack message on instantiation. So setting a different message afterwards won't be displayed. This is not a complete fix for the problem. Getting error without any message isn't very useful.
2013-02-27process: separate nextTick domain logicTrevor Norris
It's cleaner to only load domain ticker logic when the domains are being used. This makes execution slightly quicker in both cases, and simpler from the spinner since there is no need to check if the latest callback requires use of domains.
2013-02-27core: Remove the nextTick for running the main fileisaacs
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 after it runs the main module. Fix #4856
2013-02-25src, test: downgrade to v8 3.14 apiBen Noordhuis
2013-02-15process: streamlining tick callback logicTrevor Norris
* Callbacks from spinner now calls its own function, separate from the tickCallback logic * MakeCallback will call a domain specific function if a domain is detected * _tickCallback assumes no domains, until nextTick receives a callback with a domain. After that _tickCallback is overridden with the domain specific implementation. * _needTickCallback runs in startup() instead of nextTick (isaacs) * Fix bug in _fatalException where exit would be called twice (isaacs) * Process.domain has a default value of null * Manually track nextTickQueue.length (will be useful later) * Update tests to reflect internal api changes
2013-02-15Revert "Move MakeCallback to JS"isaacs
This reverts commit 0109a9f90acdfdb287436676f2384f7b072fbb6a. Also included: Port all the changes to process._makeCallback into the C++ version. Immediate nextTick, etc. This yields a slight boost in several benchmarks. V8 is optimizing and deoptimizing process._makeCallback repeatedly.
2013-01-02test: make tests work with newer v8Fedor Indutny
2012-12-29node: emit 'exit' when exiting with errorisaacs
Fix #3555
2012-12-29timers: Move list.ontimeout to separate functionisaacs
2012-12-29test-message: Add setTimeout and nextTick message testsisaacs
2012-12-14test: Update message tests for streams2isaacs
2012-10-29Print warning when maxTickDepth is reachedisaacs
2012-09-28test: Fix stdin message testsisaacs
2012-08-05test-message: fix message outputisaacs
1. The net changes add a stack frame to stdin errors. 2. The error line numbers were overly strict in many places.
2012-08-02test: stdin error messagesisaacs
2012-07-30Report errors properly from --eval and stdinisaacs
2012-06-14Update message test for new v8 behaviorisaacs
2012-06-13tests: make all message tests pass on WindowsBert Belder
2012-06-01test: v8 stack trace messages changed slightlyisaacs
2012-05-21Check for tabs in source line in DisplayExceptionLineOleg Efimov
Fix for joyent/node#3280
2012-05-16Revert "test: stack overflow output"isaacs
This reverts commit f8519e10b823f576ddd0efa76ab425f0598b1223. Recent update to V8 fixes the problem where it incorrectly reports the line number as 0 for thrown RangeErrors.
2012-05-15test: stack overflow outputisaacs
2012-05-09Merge remote-tracking branch 'ry/v0.6' into v0.6-mergeisaacs
Conflicts: Makefile lib/zlib.js src/node.cc src/node.js
2012-05-09Fix exception output for module load exceptionsFelix Geisendörfer
So instead of: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ You will now see: path/to/foo.js:1 throw new Error('bar'); ^ This is a sub-set of isaacs patch here: https://github.com/joyent/node/issues/3235 The difference is that this patch purely adresses the exception output, but does not try to make any behavior changes / improvements.
2012-05-09Fix process.nextTick throw call sitesFelix Geisendörfer
This patch now reports the proper throw call site for exceptions triggered within process.nextTick. So instead of this: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ You will now see: mydir/myscript.js:15 throw new Error('My Error'); ^ From my testing this patch causes no performance regressions, but does greatly simplify processing the nextTickQueue.
2012-04-17test: Minor change to message/undefined_reference_in_new_contextisaacs
2012-02-18Lint all the JavaScripts.isaacs
2012-01-17Tests: fix jslint issuesAndreas Madsen
2011-11-02Remove separation of libuv testsRyan Dahl
2011-11-01test: fix test/message/undefined_reference_in_new_context.jskoichik
after 4d4900f, stack trace was changed.
2011-10-05Fixed a lot of jslint errors.Colton Baker
Fixes #1831
2011-08-23Mark tests which are broken in libuvRyan Dahl
2011-07-16Fix message testskoichik
V8 3.4.12.1 changed exception log format. 3.14.10: node.js:189 throw e; // process.nextTick error, or 'error' event on first tick ^ 3.4.12.1: node.js:189 throw e; // process.nextTick error, or 'error' event on first tick ^ The caret was moved.
2011-05-07Merge branch 'v0.4'isaacs
Conflicts: lib/tls.js lib/url.js src/node_version.h test/simple/test-buffer.js test/simple/test-url.js
2011-04-25Close #974 Properly report traceless errors.isaacs
Also, tests for the same.
2011-04-01Fix test/message/undefined_reference_in_new_contextRyan Dahl
Broke after 75db199.
2011-03-14Update copyright headersRyan Dahl
2011-01-24Fix undefined_reference_in_new_contextRyan Dahl
2011-01-24Adding support for require-like initialization of node,Daniel Ennis
so `node foo` will load one of: ./foo.js ./foo.node ./foo/index.js ./foo/index.node Test cases added. Ensured no conflict with native names.
2011-01-24Restructure src/node.js startup codeFelix Geisendörfer
This patch introduces a logical structure and sequence for the bootstrap code found src/node.js.
2011-01-23windows compat: undefined_reference_in_new_context testRyan Dahl
2011-01-23Move commonjs module system into lib/module.jsFelix Geisendörfer
This de-couples NativeModule from the module system and completes the main objective of this refactoring.
2010-12-05GJSLint all tests, only 3 long lines left in test-url.jsOleg Efimov
test/simple/test-url.js:31:(0110) Line too long (82 characters). test/simple/test-url.js:39:(0110) Line too long (85 characters). test/simple/test-url.js:40:(0110) Line too long (92 characters).
2010-12-04Fix global leaksRyan Dahl
2010-12-02GJSLint part of testsOleg Efimov
2010-12-02Fix indention in 'make test-message'Ryan Dahl
2010-11-11Move ev_loop out of javascriptRyan Dahl