koichik
485d5b5dff
dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164 .
14 years ago
Maciej Małecki
94963ab39a
Add failing test for https2 compatibility
Issue #1531
14 years ago
Ryan Dahl
f5db3f1f85
Fix #1563 . overflow in ChildProcess custom_fd.
14 years ago
koichik
4cf931db17
http: improve compatibility of legacy API
In http1, legacy http.Client shares one connection with multiple requests.
But in http2, it uses concurrent connections.
With --use-http1, test/simple/test-http-legacy.js passes.
However, it fails without --use-http1 (use http2).
This improves compatibility of legacy http.Client API between http1 and http2.
Fixes #1530 .
14 years ago
koichik
8293bb8a32
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
14 years ago
Antranig Basman
c05936ca13
vm: fix incorrect dispatch of vm.runInContext for argument "filename"
Adds test case and documentation for vm.runInContext and vm.createContext.
Fixes #1140 .
14 years ago
Mikeal Rogers
584ae7b084
Remove http.cat. fixes #1447
14 years ago
Nathan Rajlich
54b409d650
util: isRegExp() should not call toString() on its argument
An overloaded toString() method may have side effects
so don't call it for a simple type check.
14 years ago
Thomas Shinnick
59b815b097
test: add typed arrays to known globals list
14 years ago
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
14 years ago
Brian White
b7c23ac3f5
Incorporate endianness into buffer.read* function names instead of passing in a boolean flag
14 years ago
Ben Noordhuis
028b33b18a
test: add test for #1202 , uncatchable exception on bad host name
14 years ago
Ben Noordhuis
3cac57658f
test: add test for #1202 , uncatchable exception on bad host name
14 years ago
Ryan Dahl
2c11718d79
Add some debug output to test-child-process-double-pipe
14 years ago
isaacs
ac4791393e
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
14 years ago
isaacs
3210809d0a
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
14 years ago
Ben Noordhuis
79f064f565
net: properly export remoteAddress to user land
Fixes failing test:
test/simple/test-net-remote-address-port.js
14 years ago
Ben Noordhuis
f52a8db280
test: fix logic error in test-net-remote-address-port.js
The test intended to register an 'at exit' listener
but called `process.exit()` instead.
14 years ago
Ryan Dahl
e6b06bc6c5
win: fix test-process-env
Remove support for setting process.env.TZ as it doesn't seem we can do it
x-platform without fixing V8.
14 years ago
Ryan Dahl
35d0df919a
test: Allow common.ddCommand to be run in presence of existing file
14 years ago
Ryan Dahl
4983bd348d
x-platform func for spawning pwd in tests
Fixes test-child-process-buffering
14 years ago
Bert Belder
c96ef84427
Revert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"
We'll solve this problem with a .gitattributes file.
This reverts commit 27ef0b0903
.
14 years ago
Bert Belder
27ef0b0903
Make test-sync-fileread pass even when git cr/lf conversion is enabled
14 years ago
Ryan Dahl
3ce4adf3c6
Remove unnecessary line
14 years ago
Ryan Dahl
b3bc009a89
Fix test-net-server-on-fd-0 for windows by removing assert
Rename to regression test for GH-746 as the fd 0 behavior was not what the
bug report was about.
14 years ago
Ryan Dahl
3b0f2cecff
Fix dd command tests for Windows
14 years ago
Ryan Dahl
665a4e4a1d
Fix test/simple/test-repl
14 years ago
Ryan Dahl
03a119eb70
Improve win compat of test-repl
14 years ago
Ryan Dahl
0696e78d64
Improve assert error messages
1. actual and expected should be displayed in the same order they were given
2. long values should be truncated.
14 years ago
Ryan Dahl
acc120a37b
windows: fix test-umask
14 years ago
Ryan Dahl
ab0b1f9f13
Fix test-executable-path
14 years ago
Ryan Dahl
2126989a32
Fix test-http-upgrade-server and test-http-parser
Problem was introduced in last http-parser upgrade which fixed a long
standing bug with the upgrade event and removed several callbacks.
14 years ago
Robert Mustacchi
0df08c6a0c
Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.
14 years ago
Ryan Dahl
587f6c3117
Fix test-child-process-exec-cwd.
14 years ago
koichik
d439c092c2
Improve util.format() compatibility with browser.
Fixes #1434 .
14 years ago
isaacs
ef35f4d6c1
Test for default host headers on default ports in https and http
14 years ago
Ryan Dahl
43d7cfca18
gyp: fix test runner
14 years ago
Bert Belder
9e8d812ce9
Make test-child-process-exec-env work on windows
14 years ago
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
14 years ago
Ben Noordhuis
ac722bbed6
module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440 .
14 years ago
Ben Noordhuis
f9cfd70946
test: fix bad test in test-cli-eval.js
The test checked that stdout was empty. Forgetting to escape brackets
in the argument to --eval made that true on UNIX systems: the error
was written to stderr.
Props to Peter Bright for reporting the issue.
14 years ago
Ben Noordhuis
12c8b27e24
test: fix exec-after-fork race in test/simple/test-child-process-kill.js
14 years ago
Mikeal Rogers
48dcb905f6
Update tests for http2.
14 years ago
Bert Belder
70bf121f21
Partial fix for test-child-process.cwd on windows
14 years ago
Ryan Dahl
2908f323e1
win: fix test-child-process-exec-cwd
14 years ago
Ryan Dahl
a44748b3d7
win2k3: fix test-child-process-env
14 years ago
Ryan Dahl
99c15e5661
child_process_uv: don't attempt to pass test-child-process-deprecated-api
14 years ago
Igor Zinkovsky
925b467a4e
fix test-child-process-env on windows
14 years ago
Ryan Dahl
1710bea355
Add a few more asserts to test/simple/test-child-process-stdin.js
14 years ago
Ryan Dahl
c48b2a98d8
windows: Fix test-module-load-list
14 years ago