diff options
author | Domenic Denicola <domenic@domenicdenicola.com> | 2013-08-24 18:53:24 -0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-08-28 22:27:24 -0700 |
commit | fd3657610e49005dfc778c3f060dbba0a34f286a (patch) | |
tree | b6f5dec4b403e544e54f1898fc4f65177c1b94ef /test/message/stdin_messages.out | |
parent | de7d698df7d2e840d079336606d56cdaf9ee9c03 (diff) | |
download | android-node-v8-fd3657610e49005dfc778c3f060dbba0a34f286a.tar.gz android-node-v8-fd3657610e49005dfc778c3f060dbba0a34f286a.tar.bz2 android-node-v8-fd3657610e49005dfc778c3f060dbba0a34f286a.zip |
vm: update API to use options argument
Passing a filename is still supported in place of certain options
arguments, for backward-compatibility, but timeout and display-errors
are not translated since those were undocumented.
Also managed to eliminate an extra stack trace line by not calling
through the `createScript` export.
Added a few message tests to show how `displayErrors` works.
Diffstat (limited to 'test/message/stdin_messages.out')
-rw-r--r-- | test/message/stdin_messages.out | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/message/stdin_messages.out b/test/message/stdin_messages.out index 3851aa7d21..ac5996e54f 100644 --- a/test/message/stdin_messages.out +++ b/test/message/stdin_messages.out @@ -4,7 +4,6 @@ with(this){__filename} ^^^^ SyntaxError: Strict mode code may not include a with statement - at Object.exports.createScript (vm.js:*) at Object.exports.runInThisContext (vm.js:*) at Object.<anonymous> ([stdin]-wrapper:*:*) at Module._compile (module.js:*:*) |