mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
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]())',
|
source: 'Object.getPrototypeOf([][Symbol.iterator]())',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
// Not currently accessible to ECMAScript user code
|
||||||
name: '%AsyncFromSyncIteratorPrototype%',
|
name: '%AsyncFromSyncIteratorPrototype%',
|
||||||
source: 'undefined',
|
source: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '%AsyncFunction%',
|
name: '%AsyncFunction%',
|
||||||
@ -108,6 +109,7 @@ const WellKnownIntrinsicObjects = [
|
|||||||
source: 'Float64Array',
|
source: 'Float64Array',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
// Not currently accessible to ECMAScript user code
|
||||||
name: '%ForInIteratorPrototype%',
|
name: '%ForInIteratorPrototype%',
|
||||||
source: '',
|
source: '',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user