quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test262.conf (7838B)


      1 [config]
      2 # general settings for test262 ES6 version
      3 
      4 # framework style: old, new
      5 style=new
      6 
      7 # handle tests tagged as [noStrict]: yes, no, skip
      8 nostrict=yes
      9 
     10 # handle tests tagged as [strictOnly]: yes, no, skip
     11 strict=yes
     12 
     13 # test mode: default, default-nostrict, default-strict, strict, nostrict, both, all
     14 mode=default
     15 
     16 # handle tests flagged as [async]: yes, no, skip
     17 # for these, load 'harness/doneprintHandle.js' prior to test
     18 # and expect `print('Test262:AsyncTestComplete')` to be called for
     19 # successful termination
     20 async=yes
     21 
     22 # handle tests flagged as [module]: yes, no, skip
     23 module=yes
     24 
     25 # output error messages: yes, no
     26 verbose=yes
     27 
     28 # load harness files from this directory
     29 harnessdir=test262/harness
     30 
     31 # names of harness include files to skip
     32 #harnessexclude=
     33 
     34 # name of the error file for known errors
     35 errorfile=test262_errors.txt
     36 
     37 # exclude tests enumerated in this file (see also [exclude] section)
     38 #excludefile=test262_exclude.txt
     39 
     40 # report test results to this file
     41 reportfile=test262_report.txt
     42 
     43 # enumerate tests from this directory
     44 testdir=test262/test
     45 
     46 [features]
     47 # Standard language features and proposed extensions
     48 # list the features that are included
     49 # skipped features are tagged as such to avoid warnings
     50 # Keep this list alpha-sorted (:sort i in vim)
     51 
     52 __getter__
     53 __proto__
     54 __setter__
     55 AggregateError
     56 align-detached-buffer-semantics-with-web-reality
     57 arbitrary-module-namespace-names=skip
     58 array-find-from-last
     59 array-grouping
     60 Array.fromAsync=skip
     61 Array.prototype.at
     62 Array.prototype.flat
     63 Array.prototype.flatMap
     64 Array.prototype.includes
     65 Array.prototype.values
     66 ArrayBuffer
     67 arraybuffer-transfer
     68 arrow-function
     69 async-functions
     70 async-iteration
     71 Atomics
     72 Atomics.pause
     73 Atomics.waitAsync=skip
     74 await-dictionary=skip
     75 BigInt
     76 caller
     77 canonical-tz=skip
     78 change-array-by-copy
     79 class
     80 class-fields-private
     81 class-fields-private-in
     82 class-fields-public
     83 class-methods-private
     84 class-static-block
     85 class-static-fields-private
     86 class-static-fields-public
     87 class-static-methods-private
     88 coalesce-expression
     89 computed-property-names
     90 const
     91 cross-realm
     92 DataView
     93 DataView.prototype.getFloat32
     94 DataView.prototype.getFloat64
     95 DataView.prototype.getInt16
     96 DataView.prototype.getInt32
     97 DataView.prototype.getInt8
     98 DataView.prototype.getUint16
     99 DataView.prototype.getUint32
    100 DataView.prototype.setUint8
    101 decorators=skip
    102 default-parameters
    103 destructuring-assignment
    104 destructuring-binding
    105 dynamic-import
    106 error-cause
    107 Error.isError
    108 explicit-resource-management=skip
    109 exponentiation
    110 export-star-as-namespace-from-module
    111 FinalizationRegistry
    112 Float16Array
    113 Float32Array
    114 Float64Array
    115 for-in-order
    116 for-of
    117 generators
    118 globalThis
    119 hashbang
    120 host-gc-required
    121 immutable-arraybuffer=skip
    122 import-attributes
    123 import-bytes=skip
    124 import-defer=skip
    125 import-text=skip
    126 import.meta
    127 joint-iteration=skip
    128 Int16Array
    129 Int32Array
    130 Int8Array
    131 Intl-enumeration=skip
    132 intl-normative-optional=skip
    133 Intl.DateTimeFormat-datetimestyle=skip
    134 Intl.DateTimeFormat-dayPeriod=skip
    135 Intl.DateTimeFormat-extend-timezonename=skip
    136 Intl.DateTimeFormat-formatRange=skip
    137 Intl.DateTimeFormat-fractionalSecondDigits=skip
    138 Intl.DisplayNames-v2=skip
    139 Intl.DisplayNames=skip
    140 Intl.DurationFormat=skip
    141 Intl.Era-monthcode=skip
    142 Intl.ListFormat=skip
    143 Intl.Locale-info=skip
    144 Intl.Locale=skip
    145 Intl.NumberFormat-unified=skip
    146 Intl.NumberFormat-v3=skip
    147 Intl.RelativeTimeFormat=skip
    148 Intl.Segmenter=skip
    149 IsHTMLDDA
    150 iterator-helpers
    151 iterator-sequencing
    152 json-modules
    153 json-parse-with-source
    154 json-superset
    155 legacy-regexp=skip
    156 let
    157 logical-assignment-operators
    158 Map
    159 Math.sumPrecise
    160 new.target
    161 nonextensible-applies-to-private=skip
    162 numeric-separator-literal
    163 object-rest
    164 object-spread
    165 Object.fromEntries
    166 Object.hasOwn
    167 Object.is
    168 optional-catch-binding
    169 optional-chaining
    170 Promise
    171 promise-try
    172 promise-with-resolvers
    173 Promise.allSettled
    174 Promise.any
    175 Promise.prototype.finally
    176 Proxy
    177 proxy-missing-checks
    178 Reflect
    179 Reflect.construct
    180 Reflect.set
    181 Reflect.setPrototypeOf
    182 regexp-dotall
    183 regexp-duplicate-named-groups
    184 regexp-lookbehind
    185 regexp-match-indices
    186 regexp-modifiers
    187 regexp-named-groups
    188 regexp-unicode-property-escapes
    189 regexp-v-flag
    190 RegExp.escape
    191 resizable-arraybuffer
    192 rest-parameters
    193 Set
    194 set-methods
    195 ShadowRealm=skip
    196 SharedArrayBuffer
    197 source-phase-imports-module-source=skip
    198 source-phase-imports=skip
    199 stable-array-sort
    200 stable-typedarray-sort
    201 string-trimming
    202 String.fromCodePoint
    203 String.prototype.at
    204 String.prototype.endsWith
    205 String.prototype.includes
    206 String.prototype.isWellFormed
    207 String.prototype.matchAll
    208 String.prototype.replaceAll
    209 String.prototype.toWellFormed
    210 String.prototype.trimEnd
    211 String.prototype.trimStart
    212 super
    213 Symbol
    214 Symbol.asyncIterator
    215 Symbol.hasInstance
    216 Symbol.isConcatSpreadable
    217 Symbol.iterator
    218 Symbol.match
    219 Symbol.matchAll
    220 Symbol.prototype.description
    221 Symbol.replace
    222 Symbol.search
    223 Symbol.species
    224 Symbol.split
    225 Symbol.toPrimitive
    226 Symbol.toStringTag
    227 Symbol.unscopables
    228 symbols-as-weakmap-keys
    229 tail-call-optimization=skip
    230 template
    231 Temporal=skip
    232 top-level-await
    233 TypedArray
    234 TypedArray.prototype.at
    235 u180e
    236 Uint16Array
    237 Uint32Array
    238 Uint8Array
    239 uint8array-base64
    240 Uint8ClampedArray
    241 upsert
    242 WeakMap
    243 WeakRef
    244 WeakSet
    245 well-formed-json-stringify
    246 
    247 [exclude]
    248 # list excluded tests and directories here
    249 
    250 # intl not supported
    251 test262/test/intl402/
    252 
    253 # incompatible with the "caller" feature
    254 test262/test/built-ins/Function/prototype/restricted-property-caller.js
    255 test262/test/built-ins/Function/prototype/restricted-property-arguments.js
    256 test262/test/built-ins/ThrowTypeError/unique-per-realm-function-proto.js
    257 
    258 # slow tests
    259 #test262/test/built-ins/RegExp/CharacterClassEscapes/
    260 #test262/test/built-ins/RegExp/property-escapes/
    261 
    262 ####################################
    263 # staging tests
    264 
    265 # sort() does not modify the array and we don't update it (XXX: the
    266 # spec updates it in this case)
    267 test262/test/staging/sm/Array/frozen-dense-array.js
    268 
    269 # does not match spec
    270 test262/test/staging/sm/Iterator/from/wrap-next-not-object-throws.js
    271 
    272 # not supported
    273 test262/test/staging/sm/extensions/censor-strict-caller.js
    274 test262/test/staging/sm/JSON/parse-with-source.js
    275 
    276 # not standard
    277 test262/test/staging/sm/Function/builtin-no-construct.js
    278 test262/test/staging/sm/Function/function-caller-restrictions.js
    279 test262/test/staging/sm/Function/function-toString-builtin-name.js
    280 test262/test/staging/sm/extensions/arguments-property-access-in-function.js
    281 test262/test/staging/sm/extensions/function-caller-skips-eval-frames.js
    282 test262/test/staging/sm/extensions/function-properties.js
    283 test262/test/staging/sm/regress/regress-577648-1.js
    284 test262/test/staging/sm/regress/regress-577648-2.js
    285 test262/test/staging/sm/regress/regress-584355.js
    286 test262/test/staging/sm/regress/regress-586482-1.js
    287 test262/test/staging/sm/regress/regress-586482-2.js
    288 test262/test/staging/sm/regress/regress-586482-3.js
    289 test262/test/staging/sm/regress/regress-586482-4.js
    290 test262/test/staging/sm/regress/regress-699682.js
    291 
    292 # RegExp toSource not fully compliant
    293 test262/test/staging/sm/RegExp/toString.js
    294 test262/test/staging/sm/RegExp/source.js
    295 test262/test/staging/sm/RegExp/escape.js
    296 # RegExp.lastMatch not supported
    297 test262/test/staging/sm/statements/regress-642975.js
    298 # source directives are not standard yet
    299 test262/test/staging/sm/syntax/syntax-parsed-arrow-then-directive.js
    300 # returning "bound fn" as initialName for a function is permitted by the spec
    301 test262/test/staging/sm/Function/function-toString-builtin.js
    302 
    303 # very slow tests which only test DST offset caching (QuickJS does not optimize it)
    304 test262/test/staging/sm/Date/dst-offset-caching-1-of-8.js
    305 test262/test/staging/sm/Date/dst-offset-caching-2-of-8.js
    306 test262/test/staging/sm/Date/dst-offset-caching-3-of-8.js
    307 test262/test/staging/sm/Date/dst-offset-caching-4-of-8.js
    308 test262/test/staging/sm/Date/dst-offset-caching-5-of-8.js
    309 test262/test/staging/sm/Date/dst-offset-caching-6-of-8.js
    310 test262/test/staging/sm/Date/dst-offset-caching-7-of-8.js
    311 test262/test/staging/sm/Date/dst-offset-caching-8-of-8.js
    312 
    313 [tests]
    314 # list test files or use config.testdir