mirror of https://github.com/tc39/test262.git
harness: Add clarifying comments about inaccessible intrinsics
As far as I know, %AsyncFromSyncIteratorPrototype% and %ForInIteratorPrototype% are not (and not intended to be) accessible to ECMAScript user code, so they are impossible to test directly. Add a clarifying comment, and make the source expression consistent ('' vs. 'undefined').
This commit is contained in:
parent
ece6726c1e
commit
a4536dc65f
|
@ -24,8 +24,9 @@ const WellKnownIntrinsicObjects = [
|
|||
source: 'Object.getPrototypeOf([][Symbol.iterator]())',
|
||||
},
|
||||
{
|
||||
// Not currently accessible to ECMAScript user code
|
||||
name: '%AsyncFromSyncIteratorPrototype%',
|
||||
source: 'undefined',
|
||||
source: '',
|
||||
},
|
||||
{
|
||||
name: '%AsyncFunction%',
|
||||
|
@ -108,6 +109,7 @@ const WellKnownIntrinsicObjects = [
|
|||
source: 'Float64Array',
|
||||
},
|
||||
{
|
||||
// Not currently accessible to ECMAScript user code
|
||||
name: '%ForInIteratorPrototype%',
|
||||
source: '',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue