diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-03-27 12:04:12 +0100 |
---|---|---|
committer | Chris Dickinson <christopher.s.dickinson@gmail.com> | 2015-04-28 14:38:16 -0700 |
commit | 36cd5fb9d27b830320e57213f5b8829ffbb93324 (patch) | |
tree | bbab4215d26f8597019135206426fccf27a3089e /deps/v8/test/message | |
parent | b57cc51d8d3f4ad279591ae8fa6584ee22773b97 (diff) | |
download | android-node-v8-36cd5fb9d27b830320e57213f5b8829ffbb93324.tar.gz android-node-v8-36cd5fb9d27b830320e57213f5b8829ffbb93324.tar.bz2 android-node-v8-36cd5fb9d27b830320e57213f5b8829ffbb93324.zip |
deps: upgrade v8 to 4.2.77.13
This commit applies some secondary changes in order to make `make test`
pass cleanly:
* disable broken postmortem debugging in common.gypi
* drop obsolete strict mode test in parallel/test-repl
* drop obsolete test parallel/test-v8-features
PR-URL: https://github.com/iojs/io.js/pull/1232
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'deps/v8/test/message')
-rw-r--r-- | deps/v8/test/message/super-constructor-extra-statement.out | 10 | ||||
-rw-r--r-- | deps/v8/test/message/super-constructor.out | 7 | ||||
-rw-r--r-- | deps/v8/test/message/super-in-function.js | 10 | ||||
-rw-r--r-- | deps/v8/test/message/super-in-function.out | 7 |
4 files changed, 25 insertions, 9 deletions
diff --git a/deps/v8/test/message/super-constructor-extra-statement.out b/deps/v8/test/message/super-constructor-extra-statement.out index cbe1e0704f..0faa3bea0d 100644 --- a/deps/v8/test/message/super-constructor-extra-statement.out +++ b/deps/v8/test/message/super-constructor-extra-statement.out @@ -1,8 +1,8 @@ # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -*%(basename)s:10: TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. - var x; - -TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. - at *%(basename)s:15:9 + +*%(basename)s:11: SyntaxError: 'super' keyword unexpected here + super(x); + ^^^^^ +SyntaxError: 'super' keyword unexpected here diff --git a/deps/v8/test/message/super-constructor.out b/deps/v8/test/message/super-constructor.out index bc3a699dbe..3fa546bd45 100644 --- a/deps/v8/test/message/super-constructor.out +++ b/deps/v8/test/message/super-constructor.out @@ -1,8 +1,7 @@ # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -*%(basename)s:10: TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. +*%(basename)s:10: SyntaxError: 'super' keyword unexpected here super(this.x); - -TypeError: A 'super' constructor call may only appear as the first statement of a function, and its arguments may not access 'this'. Other forms are not yet supported. - at *%(basename)s:14:9 + ^^^^^ +SyntaxError: 'super' keyword unexpected here diff --git a/deps/v8/test/message/super-in-function.js b/deps/v8/test/message/super-in-function.js new file mode 100644 index 0000000000..edaa0e4ead --- /dev/null +++ b/deps/v8/test/message/super-in-function.js @@ -0,0 +1,10 @@ +// Copyright 2015 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Flags: --harmony-classes +'use strict'; + +function f() { + super.x(); +} diff --git a/deps/v8/test/message/super-in-function.out b/deps/v8/test/message/super-in-function.out new file mode 100644 index 0000000000..19f8bf067c --- /dev/null +++ b/deps/v8/test/message/super-in-function.out @@ -0,0 +1,7 @@ +# Copyright 2014 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +*%(basename)s:9: SyntaxError: 'super' keyword unexpected here + super.x(); + ^^^^^ +SyntaxError: 'super' keyword unexpected here |