mirror of
https://github.com/tc39/test262.git
synced 2025-09-24 02:28:05 +02:00
Remove print calls in sm/class
This commit is contained in:
parent
ba410b8522
commit
fc730403e7
@ -6,15 +6,10 @@ includes: [sm/non262.js, sm/non262-shell.js]
|
|||||||
flags:
|
flags:
|
||||||
- noStrict
|
- noStrict
|
||||||
description: |
|
description: |
|
||||||
pending
|
Computed Property Names
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
var BUGNUMBER = 924688;
|
|
||||||
var summary = 'Computed Property Names';
|
|
||||||
|
|
||||||
print(BUGNUMBER + ": " + summary);
|
|
||||||
|
|
||||||
var key = "z";
|
var key = "z";
|
||||||
var { [key]: foo } = { z: "bar" };
|
var { [key]: foo } = { z: "bar" };
|
||||||
assert.sameValue(foo, "bar");
|
assert.sameValue(foo, "bar");
|
||||||
|
|
||||||
|
@ -6,13 +6,9 @@ includes: [sm/non262.js, sm/non262-shell.js]
|
|||||||
flags:
|
flags:
|
||||||
- noStrict
|
- noStrict
|
||||||
description: |
|
description: |
|
||||||
pending
|
Computed Property Names
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
var BUGNUMBER = 924688;
|
|
||||||
var summary = 'Computed Property Names';
|
|
||||||
|
|
||||||
print(BUGNUMBER + ": " + summary);
|
|
||||||
|
|
||||||
// Function definitions.
|
// Function definitions.
|
||||||
function syntaxError (script) {
|
function syntaxError (script) {
|
||||||
@ -249,4 +245,3 @@ obj = {
|
|||||||
assert.sameValue(obj.hey, 1);
|
assert.sameValue(obj.hey, 1);
|
||||||
assert.sameValue(obj[4], 2);
|
assert.sameValue(obj[4], 2);
|
||||||
assertThrowsValue(() => { obj.x = 7; }, 3);
|
assertThrowsValue(() => { obj.x = 7; }, 3);
|
||||||
|
|
||||||
|
@ -6,13 +6,9 @@ includes: [sm/non262.js, sm/non262-shell.js]
|
|||||||
flags:
|
flags:
|
||||||
- noStrict
|
- noStrict
|
||||||
description: |
|
description: |
|
||||||
pending
|
Method Definitions
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
var BUGNUMBER = 924672;
|
|
||||||
var summary = 'Method Definitions'
|
|
||||||
|
|
||||||
print(BUGNUMBER + ": " + summary);
|
|
||||||
|
|
||||||
// Function definitions.
|
// Function definitions.
|
||||||
function syntaxError (script) {
|
function syntaxError (script) {
|
||||||
@ -210,4 +206,3 @@ testStrictMode();
|
|||||||
// Tests provided by benvie in the bug to distinguish from ES5 desugar.
|
// Tests provided by benvie in the bug to distinguish from ES5 desugar.
|
||||||
assert.sameValue(({ method() {} }).method.name, "method");
|
assert.sameValue(({ method() {} }).method.name, "method");
|
||||||
assert.throws(ReferenceError, function() {({ method() { method() } }).method() });
|
assert.throws(ReferenceError, function() {({ method() { method() } }).method() });
|
||||||
|
|
||||||
|
@ -6,13 +6,9 @@ includes: [sm/non262.js, sm/non262-shell.js]
|
|||||||
flags:
|
flags:
|
||||||
- noStrict
|
- noStrict
|
||||||
description: |
|
description: |
|
||||||
pending
|
Method Definitions - Generators
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
var BUGNUMBER = 924672;
|
|
||||||
var summary = 'Method Definitions - Generators'
|
|
||||||
|
|
||||||
print(BUGNUMBER + ": " + summary);
|
|
||||||
|
|
||||||
// Function definitions.
|
// Function definitions.
|
||||||
function syntaxError (script) {
|
function syntaxError (script) {
|
||||||
@ -89,4 +85,3 @@ assert.sameValue(a.b(1).next().value, 1);
|
|||||||
// Generators should not have [[Construct]]
|
// Generators should not have [[Construct]]
|
||||||
a = {*g() { yield 1; }}
|
a = {*g() { yield 1; }}
|
||||||
assert.throws(TypeError, () => { new a.g });
|
assert.throws(TypeError, () => { new a.g });
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user