Skip to content
Snippets Groups Projects
Commit c41faf1a authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Add missing Symbol features flags

parent be420f34
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 11 deletions
......@@ -12,7 +12,7 @@ info: |
PropertyDefinition[Yield]:
(...)
...AssignmentExpression[In, ?Yield]
features: [object-spread]
features: [object-spread, Symbol]
flags: [noStrict, async]
---*/
......
......@@ -6,7 +6,7 @@ desc: >
RestBindingInitialization creates a new object if lhs is a Symbol
template: default
esid: pending
features: [object-rest]
features: [object-rest, Symbol]
---*/
//- setup
......
......@@ -7,6 +7,7 @@ desc: >
iterable values and throws for Symbol values.
template: error
es6id: 12.14.5.2
features: [Symbol]
---*/
//- setup
......
......@@ -6,7 +6,7 @@ desc: >
RestBindingInitialization creates a new object if lhs is a Symbol
template: default
esid: pending
features: [object-rest]
features: [Symbol, object-rest]
---*/
//- setup
......
......@@ -12,7 +12,7 @@ info: |
PropertyDefinition[Yield]:
(...)
...AssignmentExpression[In, ?Yield]
features: [object-spread]
features: [Symbol, object-spread]
flags: [noStrict]
---*/
......
......@@ -15,7 +15,7 @@ info: |
3. ReturnIfAbrupt(fromValue).
4. Let excludedNames be a new empty List.
5. Return CopyDataProperties(object, fromValue, excludedNames).
features: [object-spread]
features: [Symbol, object-spread]
---*/
//- setup
......
......@@ -14,7 +14,7 @@ info: |
3. ReturnIfAbrupt(fromValue).
4. Let excludedNames be a new empty List.
5. Return CopyDataProperties(object, fromValue, excludedNames).
features: [object-spread]
features: [Symbol, object-spread]
---*/
//- setup
......
......@@ -14,7 +14,7 @@ info: |
3. ReturnIfAbrupt(fromValue).
4. Let excludedNames be a new empty List.
5. Return CopyDataProperties(object, fromValue, excludedNames).
features: [object-spread]
features: [Symbol, object-spread]
---*/
//- setup
......
......@@ -12,6 +12,7 @@ info: >
...
1. If _comparefn_ is not *undefined* and IsCallable(_comparefn_) is *false*, throw a *TypeError* exception.
...
features: [Symbol]
---*/
var sample = [1, 2, 3];
......
......@@ -21,6 +21,7 @@ info: >
4. If C is undefined, return defaultConstructor.
5. If Type(C) is not Object, throw a TypeError exception.
...
features: [Symbol]
---*/
var arrayBuffer = new ArrayBuffer(8);
......
......@@ -5,6 +5,7 @@ esid: sec-toboolean
es6id: 7.1.2
description: >
Boolean coercion operations on Symbols
features: [Symbol]
---*/
var sym = Symbol();
......
......@@ -19,7 +19,7 @@ info: |
...
4. Let numberIndex be ? ToNumber(requestIndex).
...
features: [SharedArrayBuffer]
features: [SharedArrayBuffer, Symbol]
---*/
var buffer = new SharedArrayBuffer(1);
......
......@@ -27,7 +27,7 @@ info: |
...
8. If isLittleEndian is false, reverse the order of the elements of rawValue.
...
features: [SharedArrayBuffer]
features: [SharedArrayBuffer, Symbol]
---*/
var buffer = new SharedArrayBuffer(4);
......
......@@ -16,7 +16,7 @@ info: |
11. Else,
a. Let viewByteLength be ? ToLength(byteLength).
...
features: [SharedArrayBuffer]
features: [SharedArrayBuffer, Symbol]
---*/
var buffer = new SharedArrayBuffer(8);
......
......@@ -13,7 +13,7 @@ info: |
...
4. Let numberOffset be ? ToNumber(byteOffset).
...
features: [SharedArrayBuffer]
features: [SharedArrayBuffer, Symbol]
---*/
var s = Symbol("1");
......
......@@ -11,6 +11,7 @@ info: >
14. If Type(targetName) is not String, let targetName be the empty string.
15. Perform SetFunctionName(F, targetName, "bound").
includes: [propertyHelper.js]
features: [Symbol]
---*/
var target;
......
......@@ -14,6 +14,7 @@ info: >
...
includes: [propertyHelper.js]
features: [Symbol]
---*/
var descriptor = Object.getOwnPropertyDescriptor(Map.prototype, 'size');
......
......@@ -5,6 +5,7 @@
description: Number,Boolean,Symbol cannot have own enumerable properties,
So cannot be Assigned.Here result should be original object.
es6id: 19.1.2.1.5.c
features: [Symbol]
---*/
var target = new Object();
......
......@@ -5,6 +5,7 @@
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Symbol,the return value should be a new Symbol object whose [[SymbolData]] value is target.
es6id: 19.1.2.1.1
features: [Symbol]
---*/
var target = Symbol('foo');
......
......@@ -4,6 +4,7 @@
es6id: 19.1.2.4
description: >
Symbol used as property for configurable data property definition
features: [Symbol]
---*/
var sym = Symbol();
var obj = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment