Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit d3fc4b2

Browse files
committed
test: chakracore test updates
* Updated message baselines to match new file locations * Skipped V8-specific untrusted code mitigation test
1 parent 4afb088 commit d3fc4b2

12 files changed

+94
-91
lines changed

Diff for: test/message/core_line_numbers.chakracore.out

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ RangeError: Invalid input
66
at error (punycode.js:*:*)
77
at decode (punycode.js:*:*)
88
at Anonymous function (*test*message*core_line_numbers.js:*:*)
9-
at Module.prototype._compile (module.js:*:*)
10-
at Module._extensions[.js] (module.js:*:*)
11-
at Module.prototype.load (module.js:*:*)
12-
at tryModuleLoad (module.js:*)
13-
at Module._load (module.js:*:*)
14-
at Module.runMain (module.js:*:*)
15-
at startup (bootstrap_node.js:*:*)
9+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
10+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*:*)
11+
at Module.prototype.load (internal/modules/cjs/loader.js:*:*)
12+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
13+
at Module._load (internal/modules/cjs/loader.js:*:*)
14+
at Module.runMain (internal/modules/cjs/loader.js:*:*)
15+
at startup (internal/bootstrap/node.js:*:*)

Diff for: test/message/error_exit.chakracore.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ assert.js:*
55

66
AssertionError [ERR_ASSERTION]: 1 strictEqual 2
77
at Anonymous function (*test*message*error_exit.js:*:*)
8-
at Module.prototype._compile (module.js:*:*)
9-
at Module._extensions[.js] (module.js:*:*)
10-
at Module.prototype.load (module.js:*:*)
11-
at tryModuleLoad (module.js:*)
12-
at Module._load (module.js:*:*)
13-
at Module.runMain (module.js:*:*)
8+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
9+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*:*)
10+
at Module.prototype.load (internal/modules/cjs/loader.js:*:*)
11+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
12+
at Module._load (internal/modules/cjs/loader.js:*:*)
13+
at Module.runMain (internal/modules/cjs/loader.js:*:*)

Diff for: test/message/eval_messages.chakracore.out

+16-16
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ SyntaxError: 'with' statements are not allowed in strict mode
88
at createScript (vm.js:*:*)
99
at runInThisContext (vm.js:*:*)
1010
at Anonymous function ([eval]-wrapper:*:*)
11-
at Module.prototype._compile (module.js:*:*)
12-
at evalScript (bootstrap_node.js:*:*)
13-
at startup (bootstrap_node.js:*:*)
14-
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
11+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
12+
at evalScript (internal/bootstrap/node.js:*:*)
13+
at startup (internal/bootstrap/node.js:*:*)
14+
at bootstrapNodeJSCore (internal/bootstrap/node.js:*:*)
1515
42
1616
42
1717
[eval]:1
@@ -23,10 +23,10 @@ Error: hello
2323
at Script.prototype.runInThisContext (vm.js:*:*)
2424
at runInThisContext (vm.js:*:*)
2525
at Anonymous function ([eval]-wrapper:*:*)
26-
at Module.prototype._compile (module.js:*:*)
27-
at evalScript (bootstrap_node.js:*:*)
28-
at startup (bootstrap_node.js:*:*)
29-
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
26+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
27+
at evalScript (internal/bootstrap/node.js:*:*)
28+
at startup (internal/bootstrap/node.js:*:*)
29+
at bootstrapNodeJSCore (internal/bootstrap/node.js:*:*)
3030
[eval]:1
3131
'use strict'; throw new Error("hello")
3232
^
@@ -36,10 +36,10 @@ Error: hello
3636
at Script.prototype.runInThisContext (vm.js:*:*)
3737
at runInThisContext (vm.js:*:*)
3838
at Anonymous function ([eval]-wrapper:*:*)
39-
at Module.prototype._compile (module.js:*:*)
40-
at evalScript (bootstrap_node.js:*:*)
41-
at startup (bootstrap_node.js:*:*)
42-
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
39+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
40+
at evalScript (internal/bootstrap/node.js:*:*)
41+
at startup (internal/bootstrap/node.js:*:*)
42+
at bootstrapNodeJSCore (internal/bootstrap/node.js:*:*)
4343
100
4444
[eval]:1
4545
'use strict'; var x = 100; y = x;
@@ -50,10 +50,10 @@ ReferenceError: Variable undefined in strict mode
5050
at Script.prototype.runInThisContext (vm.js:*:*)
5151
at runInThisContext (vm.js:*:*)
5252
at Anonymous function ([eval]-wrapper:*:*)
53-
at Module.prototype._compile (module.js:*:*)
54-
at evalScript (bootstrap_node.js:*:*)
55-
at startup (bootstrap_node.js:*:*)
56-
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
53+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
54+
at evalScript (internal/bootstrap/node.js:*:*)
55+
at startup (internal/bootstrap/node.js:*:*)
56+
at bootstrapNodeJSCore (internal/bootstrap/node.js:*:*)
5757

5858
vm.js:*
5959
return realRunInThisContext.call(this, options);

Diff for: test/message/if-error-has-good-stack.chakracore.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
1111
at b (*if-error-has-good-stack.js:*:*)
1212
at a (*if-error-has-good-stack.js:*:*)
1313
at Anonymous function (*if-error-has-good-stack.js:*:*)
14-
at Module.prototype._compile (module.js:*:*)
15-
at Module._extensions[.js] (module.js:*:*)
16-
at Module.prototype.load (module.js:*:*)
17-
at tryModuleLoad (module.js:*:*)
18-
at Module._load (module.js:*:*)
19-
at Module.runMain (module.js:*:*)
14+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
15+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*:*)
16+
at Module.prototype.load (internal/modules/cjs/loader.js:*:*)
17+
at tryModuleLoad (internal/modules/cjs/loader.js:*:*)
18+
at Module._load (internal/modules/cjs/loader.js:*:*)
19+
at Module.runMain (internal/modules/cjs/loader.js:*:*)

Diff for: test/message/nexttick_throw.chakracore.out

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
ReferenceError: *undefined_reference_error_maker*
66
*at *test*message*nexttick_throw.js:*:*
77
*at *_tickCallback (internal/process/next_tick.js:*:*)
8-
*at Module.runMain (module.js:*:*)
9-
*at startup (bootstrap_node.js:*:*)
10-
*at *bootstrap_node.js:*:*
8+
*at Module.runMain (internal/modules/cjs/loader.js:*:*)
9+
*at startup (internal/bootstrap/node.js:*:*)
10+
*at *internal/bootstrap/node.js:*:*

Diff for: test/message/stdin_messages.chakracore.out

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ SyntaxError: 'with' statements are not allowed in strict mode
88
at createScript (vm.js:*:*)
99
at runInThisContext (vm.js:*:*)
1010
at Anonymous function ([stdin]-wrapper:*:*)
11-
at Module.prototype._compile (module.js:*:*)
12-
at evalScript (bootstrap_node.js:*:*)
13-
at Anonymous function (bootstrap_node.js:*:*)
11+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
12+
at evalScript (internal/bootstrap/node.js:*:*)
13+
at Anonymous function (internal/bootstrap/node.js:*:*)
1414
at Reflect.apply (native code)
1515
at emit (events.js:*:*)
1616
at endReadableNT (_stream_readable.js:*:*)
@@ -25,9 +25,9 @@ Error: hello
2525
at Script.prototype.runInThisContext (vm.js:*:*)
2626
at runInThisContext (vm.js:*:*)
2727
at Anonymous function ([stdin]-wrapper:*:*)
28-
at Module.prototype._compile (module.js:*:*)
29-
at evalScript (bootstrap_node.js:*:*)
30-
at Anonymous function (bootstrap_node.js:*:*)
28+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
29+
at evalScript (internal/bootstrap/node.js:*:*)
30+
at Anonymous function (internal/bootstrap/node.js:*:*)
3131
at Reflect.apply (native code)
3232
at emit (events.js:*:*)
3333
at endReadableNT (_stream_readable.js:*:*)
@@ -40,9 +40,9 @@ Error: hello
4040
at Script.prototype.runInThisContext (vm.js:*:*)
4141
at runInThisContext (vm.js:*:*)
4242
at Anonymous function ([stdin]-wrapper:*:*)
43-
at Module.prototype._compile (module.js:*:*)
44-
at evalScript (bootstrap_node.js:*:*)
45-
at Anonymous function (bootstrap_node.js:*:*)
43+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
44+
at evalScript (internal/bootstrap/node.js:*:*)
45+
at Anonymous function (internal/bootstrap/node.js:*:*)
4646
at Reflect.apply (native code)
4747
at emit (events.js:*:*)
4848
at endReadableNT (_stream_readable.js:*:*)
@@ -56,9 +56,9 @@ ReferenceError: Variable undefined in strict mode
5656
at Script.prototype.runInThisContext (vm.js:*:*)
5757
at runInThisContext (vm.js:*:*)
5858
at Anonymous function ([stdin]-wrapper:*:*)
59-
at Module.prototype._compile (module.js:*:*)
60-
at evalScript (bootstrap_node.js:*:*)
61-
at Anonymous function (bootstrap_node.js:*:*)
59+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
60+
at evalScript (internal/bootstrap/node.js:*:*)
61+
at Anonymous function (internal/bootstrap/node.js:*:*)
6262
at Reflect.apply (native code)
6363
at emit (events.js:*:*)
6464
at endReadableNT (_stream_readable.js:*:*)

Diff for: test/message/undefined_reference_in_new_context.chakracore.out

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ TypeError: Unable to set property 'bar' of undefined or null reference
99
at Script.prototype.runInNewContext (vm.js:*)
1010
at runInNewContext (vm.js:*)
1111
at Anonymous function (*test*message*undefined_reference_in_new_context.js:*)
12-
at Module.prototype._compile (module.js:*:*)
13-
at Module._extensions[.js] (module.js:*:*)
14-
at Module.prototype.load (module.js:*:*)
15-
at tryModuleLoad (module.js:*)
16-
at Module._load (module.js:*:*)
12+
at Module.prototype._compile (internal/modules/cjs/loader.js:*:*)
13+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*:*)
14+
at Module.prototype.load (internal/modules/cjs/loader.js:*:*)
15+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
16+
at Module._load (internal/modules/cjs/loader.js:*:*)

Diff for: test/message/vm_display_runtime_error.chakracore.out

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Error: boo!
88
at Script.prototype.runInThisContext (vm.js:*:*)
99
at runInThisContext (vm.js:*)
1010
at Anonymous function (*test*message*vm_display_runtime_error.js:*)
11-
at Module.prototype._compile (module.js:*)
12-
at Module._extensions[.js] (module.js:*)
13-
at Module.prototype.load (module.js:*)
14-
at tryModuleLoad (module.js:*)
15-
at Module._load (module.js:*)
16-
at Module.runMain (module.js:*)
11+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
12+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
13+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
14+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
15+
at Module._load (internal/modules/cjs/loader.js:*)
16+
at Module.runMain (internal/modules/cjs/loader.js:*)
1717
test.vm:1
1818
throw new Error("spooky!")
1919
^
@@ -22,9 +22,9 @@ Error: spooky!
2222
at Script.prototype.runInThisContext (vm.js:*:*)
2323
at runInThisContext (vm.js:*)
2424
at Anonymous function (*test*message*vm_display_runtime_error.js:*)
25-
at Module.prototype._compile (module.js:*)
26-
at Module._extensions[.js] (module.js:*)
27-
at Module.prototype.load (module.js:*)
28-
at tryModuleLoad (module.js:*)
29-
at Module._load (module.js:*)
30-
at Module.runMain (module.js:*)
25+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
26+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
27+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
28+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
29+
at Module._load (internal/modules/cjs/loader.js:*)
30+
at Module.runMain (internal/modules/cjs/loader.js:*)

Diff for: test/message/vm_display_syntax_error.chakracore.out

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ SyntaxError: Expected identifier
44
at createScript (vm.js:*)
55
at runInThisContext (vm.js:*)
66
at Anonymous function (*test*message*vm_display_syntax_error.js:*)
7-
at Module.prototype._compile (module.js:*)
8-
at Module._extensions[.js] (module.js:*)
9-
at Module.prototype.load (module.js:*)
10-
at tryModuleLoad (module.js:*)
11-
at Module._load (module.js:*)
12-
at Module.runMain (module.js:*)
7+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
8+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
9+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
10+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
11+
at Module._load (internal/modules/cjs/loader.js:*)
12+
at Module.runMain (internal/modules/cjs/loader.js:*)
1313
test.vm:*
1414
var 5;
1515
^^
@@ -19,9 +19,9 @@ SyntaxError: Expected identifier
1919
at createScript (vm.js:*)
2020
at runInThisContext (vm.js:*)
2121
at Anonymous function (*test*message*vm_display_syntax_error.js:*)
22-
at Module.prototype._compile (module.js:*)
23-
at Module._extensions[.js] (module.js:*)
24-
at Module.prototype.load (module.js:*)
25-
at tryModuleLoad (module.js:*)
26-
at Module._load (module.js:*)
27-
at Module.runMain (module.js:*)
22+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
23+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
24+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
25+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
26+
at Module._load (internal/modules/cjs/loader.js:*)
27+
at Module.runMain (internal/modules/cjs/loader.js:*)

Diff for: test/message/vm_dont_display_runtime_error.chakracore.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Error: boo!
99
at Script.prototype.runInThisContext (vm.js:*:*)
1010
at runInThisContext (vm.js:*)
1111
at Anonymous function (*test*message*vm_dont_display_runtime_error.js:*)
12-
at Module.prototype._compile (module.js:*)
13-
at Module._extensions[.js] (module.js:*)
14-
at Module.prototype.load (module.js:*)
15-
at tryModuleLoad (module.js:*)
16-
at Module._load (module.js:*)
17-
at Module.runMain (module.js:*)
12+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
13+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
14+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
15+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
16+
at Module._load (internal/modules/cjs/loader.js:*)
17+
at Module.runMain (internal/modules/cjs/loader.js:*)

Diff for: test/message/vm_dont_display_syntax_error.chakracore.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ SyntaxError: Expected identifier
88
at createScript (vm.js:*)
99
at runInThisContext (vm.js:*)
1010
at Anonymous function (*test*message*vm_dont_display_syntax_error.js:*)
11-
at Module.prototype._compile (module.js:*)
12-
at Module._extensions[.js] (module.js:*)
13-
at Module.prototype.load (module.js:*)
14-
at tryModuleLoad (module.js:*)
15-
at Module._load (module.js:*)
16-
at Module.runMain (module.js:*)
11+
at Module.prototype._compile (internal/modules/cjs/loader.js:*)
12+
at Module._extensions[.js] (internal/modules/cjs/loader.js:*)
13+
at Module.prototype.load (internal/modules/cjs/loader.js:*)
14+
at tryModuleLoad (internal/modules/cjs/loader.js:*)
15+
at Module._load (internal/modules/cjs/loader.js:*)
16+
at Module.runMain (internal/modules/cjs/loader.js:*)

Diff for: test/parallel/parallel.status

+3
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ test-process-exception-capture-should-abort-on-uncaught-setflagsfromstring : SKI
176176
test-v8-flag-type-check : SKIP
177177
test-v8-stats : SKIP
178178

179+
# This test uses the V8 untrusted code mitigation and accompanying V8 option
180+
test-v8-untrusted-code-mitigations : SKIP
181+
179182
[$jsEngine==chakracore && $arch==x64]
180183
# These tests are failing for Node-Chakracore and should eventually be fixed
181184
test-buffer-includes : SKIP

0 commit comments

Comments
 (0)