123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- 'use strict';
- var ES = require('../').ES2016;
- var boundES = require('./helpers/createBoundESNamespace')(ES);
- var ops = require('../operations/2016');
- var expectedMissing = [
- 'AddRestrictedFunctionProperties',
- 'AllocateArrayBuffer',
- 'AllocateTypedArray',
- 'AllocateTypedArrayBuffer',
- 'BlockDeclarationInstantiation',
- 'BoundFunctionCreate',
- 'Canonicalize',
- 'CharacterRange',
- 'CharacterRangeOrUnion',
- 'CharacterSetMatcher',
- 'CloneArrayBuffer',
- 'Completion',
- 'Construct',
- 'CopyDataBlockBytes',
- 'CreateArrayFromList',
- 'CreateArrayIterator',
- 'CreateBuiltinFunction',
- 'CreateByteDataBlock',
- 'CreateDynamicFunction',
- 'CreateIntrinsics',
- 'CreateListIterator',
- 'CreateMapIterator',
- 'CreateMappedArgumentsObject',
- 'CreatePerIterationEnvironment',
- 'CreateRealm',
- 'CreateResolvingFunctions',
- 'CreateSetIterator',
- 'CreateStringIterator',
- 'CreateUnmappedArgumentsObject',
- 'DaylightSavingTA',
- 'Decode',
- 'DetachArrayBuffer',
- 'Encode',
- 'EnqueueJob',
- 'EnumerateObjectProperties',
- 'EscapeRegExpPattern',
- 'EvalDeclarationInstantiation',
- 'EvaluateCall',
- 'EvaluateDirectCall',
- 'EvaluateNew',
- 'ForBodyEvaluation',
- 'ForIn/OfBodyEvaluation',
- 'ForIn/OfHeadEvaluation',
- 'FulfillPromise',
- 'FunctionAllocate',
- 'FunctionCreate',
- 'FunctionDeclarationInstantiation',
- 'FunctionInitialize',
- 'GeneratorFunctionCreate',
- 'GeneratorResume',
- 'GeneratorResumeAbrupt',
- 'GeneratorStart',
- 'GeneratorValidate',
- 'GeneratorYield',
- 'GetActiveScriptOrModule',
- 'GetFunctionRealm',
- 'GetGlobalObject',
- 'GetIdentifierReference',
- 'GetModuleNamespace',
- 'GetNewTarget',
- 'GetSuperConstructor',
- 'GetTemplateObject',
- 'GetThisEnvironment',
- 'GetThisValue',
- 'GetValue',
- 'GetValueFromBuffer',
- 'GetViewValue',
- 'GlobalDeclarationInstantiation',
- 'HostPromiseRejectionTracker',
- 'HostReportErrors',
- 'HostResolveImportedModule',
- 'IfAbruptRejectPromise',
- 'ImportedLocalNames',
- 'InitializeBoundName',
- 'InitializeHostDefinedRealm',
- 'InitializeReferencedBinding',
- 'IntegerIndexedElementGet',
- 'IntegerIndexedElementSet',
- 'IntegerIndexedObjectCreate',
- 'InternalizeJSONProperty',
- 'IsAnonymousFunctionDefinition',
- 'IsCompatiblePropertyDescriptor',
- 'IsDetachedBuffer',
- 'IsInTailPosition',
- 'IsLabelledFunction',
- 'IsWordChar',
- 'LocalTime',
- 'LoopContinues',
- 'MakeArgGetter',
- 'MakeArgSetter',
- 'MakeClassConstructor',
- 'MakeConstructor',
- 'MakeMethod',
- 'MakeSuperPropertyReference',
- 'max',
- 'min',
- 'ModuleNamespaceCreate',
- 'NewDeclarativeEnvironment',
- 'NewFunctionEnvironment',
- 'NewGlobalEnvironment',
- 'NewModuleEnvironment',
- 'NewObjectEnvironment',
- 'NewPromiseCapability',
- 'NextJob',
- 'NormalCompletion',
- 'ObjectDefineProperties',
- 'OrdinaryCallBindThis',
- 'OrdinaryCallEvaluateBody',
- 'OrdinaryDelete',
- 'OrdinaryGet',
- 'OrdinaryIsExtensible',
- 'OrdinaryOwnPropertyKeys',
- 'OrdinaryPreventExtensions',
- 'OrdinarySet',
- 'ParseModule',
- 'ParseScript',
- 'PerformEval',
- 'PerformPromiseAll',
- 'PerformPromiseRace',
- 'PerformPromiseThen',
- 'PrepareForOrdinaryCall',
- 'PrepareForTailCall',
- 'PromiseReactionJob',
- 'PromiseResolveThenableJob',
- 'ProxyCreate',
- 'PutValue', // takes a Reference
- 'RegExpAlloc', // creates a regex with uninitialized internal lots
- 'RegExpBuiltinExec',
- 'RegExpInitialize', // initializes allocated regex's internal slots
- 'RejectPromise',
- 'RepeatMatcher',
- 'ResolveBinding',
- 'ResolveThisBinding',
- 'ReturnIfAbrupt',
- 'ScriptEvaluation',
- 'ScriptEvaluationJob',
- 'SerializeJSONArray',
- 'SerializeJSONObject',
- 'SerializeJSONProperty',
- 'SetDefaultGlobalBindings',
- 'SetRealmGlobalObject',
- 'SetValueInBuffer',
- 'SetViewValue',
- 'SortCompare', // mystery access to `comparefn` arg
- 'TopLevelModuleEvaluationJob',
- 'ToString Applied to the Number Type',
- 'TriggerPromiseReactions',
- 'TypedArrayCreate',
- 'TypedArraySpeciesCreate',
- 'UpdateEmpty', // completion records
- 'UTC', // depends on LocalTZA, DaylightSavingTA
- 'ValidateTypedArray'
- ];
- require('./tests').es2016(boundES, ops, expectedMissing);
- require('./helpers/runManifestTest')(require('tape'), ES, 2016);
|