Fix messages tests.
Change tests so that message location is stable under --debug-code. R=yangguo@chromium.org BUG=v8:3744 LOG=N Review URL: https://codereview.chromium.org/792563003 Cr-Commit-Position: refs/heads/master@{#25732}
This commit is contained in:
parent
19418d76df
commit
6751f0439f
@ -30,9 +30,4 @@
|
||||
# All tests in the bug directory are expected to fail.
|
||||
'bugs/*': [FAIL],
|
||||
}], # ALWAYS
|
||||
['no_snap == True', {
|
||||
# BUG(3744)
|
||||
'super-constructor': [PASS,FAIL],
|
||||
'super-constructor-extra-statement': [PASS,FAIL],
|
||||
}],
|
||||
]
|
||||
|
@ -12,4 +12,4 @@ class C {
|
||||
}
|
||||
}
|
||||
|
||||
new C();
|
||||
var c = new C();
|
||||
|
@ -5,4 +5,4 @@
|
||||
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:1
|
||||
at *%(basename)s:15:9
|
||||
|
@ -11,4 +11,4 @@ class C {
|
||||
}
|
||||
}
|
||||
|
||||
new C();
|
||||
var c = new C();
|
||||
|
@ -5,4 +5,4 @@
|
||||
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:1
|
||||
at *%(basename)s:14:9
|
||||
|
Loading…
Reference in New Issue
Block a user