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 0 deletions
......@@ -5,6 +5,7 @@ es6id: 19.1.2.4
description: >
Symbol used as property for property definition
flags: [noStrict]
features: [Symbol]
---*/
var sym = Symbol();
var obj = {};
......
......@@ -5,6 +5,7 @@ es6id: 19.1.2.4
description: >
Symbol used as property for default data property definition
flags: [onlyStrict]
features: [Symbol]
---*/
var sym = Symbol();
var obj = {};
......
......@@ -4,6 +4,7 @@
es6id: 19.1.2.4
description: >
Symbol used as property for writable data property definition
features: [Symbol]
---*/
var sym = Symbol();
var obj = {};
......
......@@ -5,6 +5,7 @@ es6id: 19.1.2.5
description: >
Frozen object contains symbol properties.
flags: [noStrict]
features: [Symbol]
---*/
var sym = Symbol();
var obj = {};
......
......@@ -5,6 +5,7 @@ es6id: 19.1.2.5
description: >
Frozen object contains symbol properties.
flags: [onlyStrict]
features: [Symbol]
---*/
var sym = Symbol("66");
var obj = {};
......
......@@ -4,6 +4,7 @@
es6id: 19.1.2.8
description: >
Object.getOwnPropertySymbols returns all symbol properties that have descriptions
features: [Symbol]
---*/
var sym = Symbol("description");
......
......@@ -4,6 +4,7 @@
es6id: 19.1.2.8
description: >
Object.getOwnPropertySymbols returns all symbol properties that do not have descriptions
features: [Symbol]
---*/
var sym = Symbol();
......
......@@ -10,6 +10,7 @@ description: >
a. If x and y are both the same Symbol value,
return true; otherwise, return false.
...
features: [Symbol]
---*/
assert.sameValue(
......
......@@ -10,6 +10,7 @@ description: >
a. If x and y are both the same Symbol value,
return true; otherwise, return false.
...
features: [Symbol]
---*/
var a = Symbol();
......
......@@ -4,6 +4,7 @@
es6id: 7.2.
description: >
Object.is/SameValue: Symbol
features: [Symbol]
---*/
var symA = Symbol('66');
var symB = Symbol('66');
......
......@@ -21,6 +21,7 @@ info: |
a. If Type(key) is String, then
i. Let desc be ? O.[[GetOwnProperty]](key).
...
features: [Symbol]
---*/
let log = [];
......
......@@ -5,6 +5,7 @@ es6id: 19.4
description: >
Object.preventExtensions(obj) where obj contains symbol properties.
flags: [noStrict]
features: [Symbol]
---*/
var symA = Symbol("A");
var symB = Symbol("B");
......
......@@ -5,6 +5,7 @@ es6id: 19.4
description: >
Object.preventExtensions(obj) where obj contains symbol properties.
flags: [onlyStrict]
features: [Symbol]
---*/
var symA = Symbol("A");
var symB = Symbol("B");
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.2
features: [Symbol]
---*/
var obj = {};
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.2
features: [Symbol]
---*/
var obj = {};
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.2
features: [Symbol]
---*/
var obj = {};
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.4
features: [Symbol]
---*/
var obj = {};
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.4
features: [Symbol]
---*/
var obj = {};
......
......@@ -10,6 +10,7 @@ info: >
2. ReturnIfAbrupt(P).
...
es6id: 19.1.3.4
features: [Symbol]
---*/
var obj = {};
......
......@@ -5,6 +5,7 @@ es6id: 19.4
description: >
Object.seal(obj) where obj contains symbol properties.
flags: [noStrict]
features: [Symbol]
---*/
var symA = Symbol("A");
var symB = Symbol("B");
......
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