blob: ab6ca6f9da77478cf81901a69e236b0b9565ede3 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001'use strict';
2
3var ES = require('../').ES2017;
4var boundES = require('./helpers/createBoundESNamespace')(ES);
5
6var ops = require('../operations/2017');
7
8var expectedMissing = [
9 'AddWaiter',
10 'agent-order',
11 'AgentCanSuspend',
12 'AgentSignifier',
13 'AllocateArrayBuffer',
14 'AllocateSharedArrayBuffer',
15 'AllocateTypedArray',
16 'AllocateTypedArrayBuffer',
17 'AsyncFunctionAwait',
18 'AsyncFunctionCreate',
19 'AsyncFunctionStart',
20 'AtomicLoad',
21 'AtomicReadModifyWrite',
22 'BlockDeclarationInstantiation',
23 'BoundFunctionCreate',
24 'Canonicalize',
25 'CharacterRange',
26 'CharacterRangeOrUnion',
27 'CharacterSetMatcher',
28 'CloneArrayBuffer',
29 'Completion',
30 'ComposeWriteEventBytes',
31 'Construct',
32 'CopyDataBlockBytes',
33 'CreateArrayFromList',
34 'CreateArrayIterator',
35 'CreateBuiltinFunction',
36 'CreateByteDataBlock',
37 'CreateDynamicFunction',
38 'CreateIntrinsics',
39 'CreateListIterator',
40 'CreateMapIterator',
41 'CreateMappedArgumentsObject',
42 'CreatePerIterationEnvironment',
43 'CreateRealm',
44 'CreateResolvingFunctions',
45 'CreateSetIterator',
46 'CreateSharedByteDataBlock',
47 'CreateStringIterator',
48 'CreateUnmappedArgumentsObject',
49 'DaylightSavingTA',
50 'Decode',
51 'DetachArrayBuffer',
52 'Encode',
53 'EnqueueJob',
54 'EnterCriticalSection',
55 'EnumerateObjectProperties',
56 'EscapeRegExpPattern',
57 'EvalDeclarationInstantiation',
58 'EvaluateCall',
59 'EvaluateDirectCall',
60 'EvaluateNew',
61 'EventSet',
62 'ForBodyEvaluation',
63 'ForIn/OfBodyEvaluation',
64 'ForIn/OfHeadEvaluation',
65 'FulfillPromise',
66 'FunctionAllocate',
67 'FunctionCreate',
68 'FunctionDeclarationInstantiation',
69 'FunctionInitialize',
70 'GeneratorFunctionCreate',
71 'GeneratorResume',
72 'GeneratorResumeAbrupt',
73 'GeneratorStart',
74 'GeneratorValidate',
75 'GeneratorYield',
76 'GetActiveScriptOrModule',
77 'GetBase',
78 'GetFunctionRealm',
79 'GetGlobalObject',
80 'GetIdentifierReference',
81 'GetModifySetValueInBuffer',
82 'GetModuleNamespace',
83 'GetNewTarget',
84 'GetReferencedName',
85 'GetSuperConstructor',
86 'GetTemplateObject',
87 'GetThisEnvironment',
88 'GetThisValue',
89 'GetValue',
90 'GetValueFromBuffer',
91 'GetViewValue',
92 'GetWaiterList',
93 'GlobalDeclarationInstantiation',
94 'happens-before',
95 'HasPrimitiveBase',
96 'host-synchronizes-with',
97 'HostEnsureCanCompileStrings',
98 'HostEventSet',
99 'HostPromiseRejectionTracker',
100 'HostReportErrors',
101 'HostResolveImportedModule',
102 'IfAbruptRejectPromise',
103 'ImportedLocalNames',
104 'InitializeBoundName',
105 'InitializeHostDefinedRealm',
106 'InitializeReferencedBinding',
107 'IntegerIndexedElementGet',
108 'IntegerIndexedElementSet',
109 'IntegerIndexedObjectCreate',
110 'InternalizeJSONProperty',
111 'IsAnonymousFunctionDefinition',
112 'IsCompatiblePropertyDescriptor',
113 'IsDetachedBuffer',
114 'IsInTailPosition',
115 'IsLabelledFunction',
116 'IsPropertyReference',
117 'IsSharedArrayBuffer',
118 'IsStrictReference',
119 'IsSuperReference',
120 'IsUnresolvableReference',
121 'IsWordChar',
122 'LeaveCriticalSection',
123 'LocalTime',
124 'LoopContinues',
125 'MakeArgGetter',
126 'MakeArgSetter',
127 'MakeClassConstructor',
128 'MakeConstructor',
129 'MakeMethod',
130 'MakeSuperPropertyReference',
131 'max',
132 'memory-order',
133 'min',
134 'ModuleNamespaceCreate',
135 'NewDeclarativeEnvironment',
136 'NewFunctionEnvironment',
137 'NewGlobalEnvironment',
138 'NewModuleEnvironment',
139 'NewObjectEnvironment',
140 'NewPromiseCapability',
141 'NormalCompletion',
142 'NumberToRawBytes',
143 'ObjectDefineProperties',
144 'OrdinaryCallBindThis',
145 'OrdinaryCallEvaluateBody',
146 'OrdinaryDelete',
147 'OrdinaryGet',
148 'OrdinaryIsExtensible',
149 'OrdinaryOwnPropertyKeys',
150 'OrdinaryPreventExtensions',
151 'OrdinarySet',
152 'OrdinaryToPrimitive',
153 'ParseModule',
154 'ParseScript',
155 'PerformEval',
156 'PerformPromiseAll',
157 'PerformPromiseRace',
158 'PerformPromiseThen',
159 'PrepareForOrdinaryCall',
160 'PrepareForTailCall',
161 'PromiseReactionJob',
162 'PromiseResolveThenableJob',
163 'ProxyCreate',
164 'PutValue', // takes a Reference
165 'RawBytesToNumber',
166 'reads-bytes-from',
167 'reads-from',
168 'RegExpAlloc', // creates a regex with uninitialized internal lots
169 'RegExpBuiltinExec',
170 'RegExpInitialize', // initializes allocated regex's internal slots
171 'RejectPromise',
172 'RemoveWaiter',
173 'RemoveWaiters',
174 'RepeatMatcher',
175 'ResolveBinding',
176 'ResolveThisBinding',
177 'ReturnIfAbrupt',
178 'RunJobs',
179 'ScriptEvaluation',
180 'ScriptEvaluationJob',
181 'SerializeJSONArray',
182 'SerializeJSONObject',
183 'SerializeJSONProperty',
184 'SetDefaultGlobalBindings',
185 'SetImmutablePrototype',
186 'SetRealmGlobalObject',
187 'SetValueInBuffer',
188 'SetViewValue',
189 'SharedDataBlockEventSet',
190 'SortCompare', // mystery access to `comparefn` arg
191 'Suspend',
192 'TopLevelModuleEvaluationJob',
193 'ToString Applied to the Number Type',
194 'TriggerPromiseReactions',
195 'TypedArrayCreate',
196 'TypedArraySpeciesCreate',
197 'UpdateEmpty', // completion records
198 'UTC', // depends on LocalTZA, DaylightSavingTA
199 'ValidateAtomicAccess',
200 'ValidateSharedIntegerTypedArray',
201 'ValidateTypedArray',
202 'ValueOfReadEvent',
203 'WakeWaiter',
204 'WordCharacters', // depends on Canonicalize
205 'AddRestrictedFunctionProperties',
206 'synchronizes-with'
207];
208
209require('./tests').es2017(boundES, ops, expectedMissing);
210
211require('./helpers/runManifestTest')(require('tape'), ES, 2017);