github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis23.js.wasm.yaml (about)

     1  - File: webref/webnn.idl
     2    Dict:
     3      Name: MLConvTranspose2dOptions
     4      Fields:
     5        - Name: padding
     6          Type:
     7            Name: sequence
     8            Params:
     9              - Name: unsigned long
    10        - Name: strides
    11          Type:
    12            Name: sequence
    13            Params:
    14              - Name: unsigned long
    15        - Name: dilations
    16          Type:
    17            Name: sequence
    18            Params:
    19              - Name: unsigned long
    20        - Name: outputPadding
    21          Type:
    22            Name: sequence
    23            Params:
    24              - Name: unsigned long
    25        - Name: outputSizes
    26          Type:
    27            Name: sequence
    28            Params:
    29              - Name: unsigned long
    30        - Name: autoPad
    31          Default: '"explicit"'
    32          Type:
    33            Name: MLAutoPad
    34        - Name: groups
    35          Default: "1"
    36          Type:
    37            Name: unsigned long
    38        - Name: inputLayout
    39          Default: '"nchw"'
    40          Type:
    41            Name: MLInputOperandLayout
    42        - Name: filterLayout
    43          Default: '"iohw"'
    44          Type:
    45            Name: MLConvTranspose2dFilterOperandLayout
    46        - Name: bias
    47          Type:
    48            Name: MLOperand
    49        - Name: activation
    50          Type:
    51            Name: MLActivation
    52  - File: webref/webnn.idl
    53    Enum:
    54      Name: MLDeviceType
    55      Values:
    56        - cpu
    57        - gpu
    58  - File: webref/webnn.idl
    59    Dict:
    60      Name: MLEluOptions
    61      Fields:
    62        - Name: alpha
    63          Default: "1"
    64          Type:
    65            Name: float
    66  - File: webref/webnn.idl
    67    Typedef:
    68      Name: MLGPUResource
    69      Type:
    70        Union:
    71          - Name: GPUBuffer
    72          - Name: GPUTexture
    73  - File: webref/webnn.idl
    74    Dict:
    75      Name: MLGemmOptions
    76      Fields:
    77        - Name: c
    78          Type:
    79            Name: MLOperand
    80        - Name: alpha
    81          Default: "1.0"
    82          Type:
    83            Name: float
    84        - Name: beta
    85          Default: "1.0"
    86          Type:
    87            Name: float
    88        - Name: aTranspose
    89          Default: "false"
    90          Type:
    91            Name: boolean
    92        - Name: bTranspose
    93          Default: "false"
    94          Type:
    95            Name: boolean
    96  - File: webref/webnn.idl
    97    Interface:
    98      Name: MLGraph
    99      ExtAttrs:
   100        - Name: SecureContext
   101        - Name: Exposed
   102          Values:
   103            - Window
   104            - DedicatedWorker
   105  - File: webref/webnn.idl
   106    Interface:
   107      Name: MLGraphBuilder
   108      ExtAttrs:
   109        - Name: SecureContext
   110        - Name: Exposed
   111          Values:
   112            - Window
   113            - DedicatedWorker
   114      Operations:
   115        - Name: input
   116          Args:
   117            - Name: name
   118              Type:
   119                Name: DOMString
   120            - Name: descriptor
   121              Type:
   122                Name: MLOperandDescriptor
   123          Returns:
   124            - Name: MLOperand
   125          ExtAttrs:
   126            - Name: SecureContext
   127            - Name: Exposed
   128              Values:
   129                - Window
   130                - DedicatedWorker
   131        - Name: constant
   132          Args:
   133            - Name: descriptor
   134              Type:
   135                Name: MLOperandDescriptor
   136            - Name: bufferView
   137              Type:
   138                Name: MLBufferView
   139          Returns:
   140            - Name: MLOperand
   141          ExtAttrs:
   142            - Name: SecureContext
   143            - Name: Exposed
   144              Values:
   145                - Window
   146                - DedicatedWorker
   147        - Name: constant
   148          Args:
   149            - Name: value
   150              Type:
   151                Name: double
   152            - Name: type
   153              Optional: true
   154              Default: '"float32"'
   155              Type:
   156                Name: MLOperandType
   157          Returns:
   158            - Name: MLOperand
   159          ExtAttrs:
   160            - Name: SecureContext
   161            - Name: Exposed
   162              Values:
   163                - Window
   164                - DedicatedWorker
   165        - Name: build
   166          Args:
   167            - Name: outputs
   168              Type:
   169                Name: MLNamedOperands
   170          Returns:
   171            - Name: Promise
   172              Params:
   173                - Name: MLGraph
   174          ExtAttrs:
   175            - Name: SecureContext
   176            - Name: Exposed
   177              Values:
   178                - Window
   179                - DedicatedWorker
   180        - Name: buildSync
   181          Args:
   182            - Name: outputs
   183              Type:
   184                Name: MLNamedOperands
   185          Returns:
   186            - Name: MLGraph
   187          ExtAttrs:
   188            - Name: Exposed
   189              Values:
   190                - DedicatedWorker
   191            - Name: SecureContext
   192        - Name: hardSigmoid
   193          Args:
   194            - Name: input
   195              Type:
   196                Name: MLOperand
   197            - Name: options
   198              Optional: true
   199              Default: '{}'
   200              Type:
   201                Name: MLHardSigmoidOptions
   202          Returns:
   203            - Name: MLOperand
   204        - Name: hardSigmoid
   205          Args:
   206            - Name: options
   207              Optional: true
   208              Default: '{}'
   209              Type:
   210                Name: MLHardSigmoidOptions
   211          Returns:
   212            - Name: MLActivation
   213        - Name: gruCell
   214          Args:
   215            - Name: input
   216              Type:
   217                Name: MLOperand
   218            - Name: weight
   219              Type:
   220                Name: MLOperand
   221            - Name: recurrentWeight
   222              Type:
   223                Name: MLOperand
   224            - Name: hiddenState
   225              Type:
   226                Name: MLOperand
   227            - Name: hiddenSize
   228              Type:
   229                Name: unsigned long
   230            - Name: options
   231              Optional: true
   232              Default: '{}'
   233              Type:
   234                Name: MLGruCellOptions
   235          Returns:
   236            - Name: MLOperand
   237        - Name: slice
   238          Args:
   239            - Name: input
   240              Type:
   241                Name: MLOperand
   242            - Name: starts
   243              Type:
   244                Name: sequence
   245                Params:
   246                  - Name: unsigned long
   247            - Name: sizes
   248              Type:
   249                Name: sequence
   250                Params:
   251                  - Name: unsigned long
   252          Returns:
   253            - Name: MLOperand
   254        - Name: averagePool2d
   255          Args:
   256            - Name: input
   257              Type:
   258                Name: MLOperand
   259            - Name: options
   260              Optional: true
   261              Default: '{}'
   262              Type:
   263                Name: MLPool2dOptions
   264          Returns:
   265            - Name: MLOperand
   266        - Name: l2Pool2d
   267          Args:
   268            - Name: input
   269              Type:
   270                Name: MLOperand
   271            - Name: options
   272              Optional: true
   273              Default: '{}'
   274              Type:
   275                Name: MLPool2dOptions
   276          Returns:
   277            - Name: MLOperand
   278        - Name: maxPool2d
   279          Args:
   280            - Name: input
   281              Type:
   282                Name: MLOperand
   283            - Name: options
   284              Optional: true
   285              Default: '{}'
   286              Type:
   287                Name: MLPool2dOptions
   288          Returns:
   289            - Name: MLOperand
   290        - Name: linear
   291          Args:
   292            - Name: input
   293              Type:
   294                Name: MLOperand
   295            - Name: options
   296              Optional: true
   297              Default: '{}'
   298              Type:
   299                Name: MLLinearOptions
   300          Returns:
   301            - Name: MLOperand
   302        - Name: linear
   303          Args:
   304            - Name: options
   305              Optional: true
   306              Default: '{}'
   307              Type:
   308                Name: MLLinearOptions
   309          Returns:
   310            - Name: MLActivation
   311        - Name: leakyRelu
   312          Args:
   313            - Name: input
   314              Type:
   315                Name: MLOperand
   316            - Name: options
   317              Optional: true
   318              Default: '{}'
   319              Type:
   320                Name: MLLeakyReluOptions
   321          Returns:
   322            - Name: MLOperand
   323        - Name: leakyRelu
   324          Args:
   325            - Name: options
   326              Optional: true
   327              Default: '{}'
   328              Type:
   329                Name: MLLeakyReluOptions
   330          Returns:
   331            - Name: MLActivation
   332        - Name: pad
   333          Args:
   334            - Name: input
   335              Type:
   336                Name: MLOperand
   337            - Name: beginningPadding
   338              Type:
   339                Name: sequence
   340                Params:
   341                  - Name: unsigned long
   342            - Name: endingPadding
   343              Type:
   344                Name: sequence
   345                Params:
   346                  - Name: unsigned long
   347            - Name: options
   348              Optional: true
   349              Default: '{}'
   350              Type:
   351                Name: MLPadOptions
   352          Returns:
   353            - Name: MLOperand
   354        - Name: instanceNormalization
   355          Args:
   356            - Name: input
   357              Type:
   358                Name: MLOperand
   359            - Name: options
   360              Optional: true
   361              Default: '{}'
   362              Type:
   363                Name: MLInstanceNormalizationOptions
   364          Returns:
   365            - Name: MLOperand
   366        - Name: softplus
   367          Args:
   368            - Name: input
   369              Type:
   370                Name: MLOperand
   371            - Name: options
   372              Optional: true
   373              Default: '{}'
   374              Type:
   375                Name: MLSoftplusOptions
   376          Returns:
   377            - Name: MLOperand
   378        - Name: softplus
   379          Args:
   380            - Name: options
   381              Optional: true
   382              Default: '{}'
   383              Type:
   384                Name: MLSoftplusOptions
   385          Returns:
   386            - Name: MLActivation
   387        - Name: softsign
   388          Args:
   389            - Name: input
   390              Type:
   391                Name: MLOperand
   392          Returns:
   393            - Name: MLOperand
   394        - Name: softsign
   395          Returns:
   396            - Name: MLActivation
   397        - Name: sigmoid
   398          Args:
   399            - Name: input
   400              Type:
   401                Name: MLOperand
   402          Returns:
   403            - Name: MLOperand
   404        - Name: sigmoid
   405          Returns:
   406            - Name: MLActivation
   407        - Name: reshape
   408          Args:
   409            - Name: input
   410              Type:
   411                Name: MLOperand
   412            - Name: newShape
   413              Type:
   414                Name: sequence
   415                Params:
   416                  - Name: unsigned long
   417                    Nullable: true
   418          Returns:
   419            - Name: MLOperand
   420        - Name: conv2d
   421          Args:
   422            - Name: input
   423              Type:
   424                Name: MLOperand
   425            - Name: filter
   426              Type:
   427                Name: MLOperand
   428            - Name: options
   429              Optional: true
   430              Default: '{}'
   431              Type:
   432                Name: MLConv2dOptions
   433          Returns:
   434            - Name: MLOperand
   435        - Name: split
   436          Args:
   437            - Name: input
   438              Type:
   439                Name: MLOperand
   440            - Name: splits
   441              Type:
   442                Union:
   443                  - Name: unsigned long
   444                  - Name: sequence
   445                    Params:
   446                      - Name: unsigned long
   447            - Name: options
   448              Optional: true
   449              Default: '{}'
   450              Type:
   451                Name: MLSplitOptions
   452          Returns:
   453            - Name: sequence
   454              Params:
   455                - Name: MLOperand
   456        - Name: resample2d
   457          Args:
   458            - Name: input
   459              Type:
   460                Name: MLOperand
   461            - Name: options
   462              Optional: true
   463              Default: '{}'
   464              Type:
   465                Name: MLResample2dOptions
   466          Returns:
   467            - Name: MLOperand
   468        - Name: hardSwish
   469          Args:
   470            - Name: input
   471              Type:
   472                Name: MLOperand
   473          Returns:
   474            - Name: MLOperand
   475        - Name: hardSwish
   476          Returns:
   477            - Name: MLActivation
   478        - Name: softmax
   479          Args:
   480            - Name: input
   481              Type:
   482                Name: MLOperand
   483          Returns:
   484            - Name: MLOperand
   485        - Name: softmax
   486          Returns:
   487            - Name: MLActivation
   488        - Name: convTranspose2d
   489          Args:
   490            - Name: input
   491              Type:
   492                Name: MLOperand
   493            - Name: filter
   494              Type:
   495                Name: MLOperand
   496            - Name: options
   497              Optional: true
   498              Default: '{}'
   499              Type:
   500                Name: MLConvTranspose2dOptions
   501          Returns:
   502            - Name: MLOperand
   503        - Name: relu
   504          Args:
   505            - Name: input
   506              Type:
   507                Name: MLOperand
   508          Returns:
   509            - Name: MLOperand
   510        - Name: relu
   511          Returns:
   512            - Name: MLActivation
   513        - Name: add
   514          Args:
   515            - Name: a
   516              Type:
   517                Name: MLOperand
   518            - Name: b
   519              Type:
   520                Name: MLOperand
   521          Returns:
   522            - Name: MLOperand
   523        - Name: sub
   524          Args:
   525            - Name: a
   526              Type:
   527                Name: MLOperand
   528            - Name: b
   529              Type:
   530                Name: MLOperand
   531          Returns:
   532            - Name: MLOperand
   533        - Name: mul
   534          Args:
   535            - Name: a
   536              Type:
   537                Name: MLOperand
   538            - Name: b
   539              Type:
   540                Name: MLOperand
   541          Returns:
   542            - Name: MLOperand
   543        - Name: div
   544          Args:
   545            - Name: a
   546              Type:
   547                Name: MLOperand
   548            - Name: b
   549              Type:
   550                Name: MLOperand
   551          Returns:
   552            - Name: MLOperand
   553        - Name: max
   554          Args:
   555            - Name: a
   556              Type:
   557                Name: MLOperand
   558            - Name: b
   559              Type:
   560                Name: MLOperand
   561          Returns:
   562            - Name: MLOperand
   563        - Name: min
   564          Args:
   565            - Name: a
   566              Type:
   567                Name: MLOperand
   568            - Name: b
   569              Type:
   570                Name: MLOperand
   571          Returns:
   572            - Name: MLOperand
   573        - Name: pow
   574          Args:
   575            - Name: a
   576              Type:
   577                Name: MLOperand
   578            - Name: b
   579              Type:
   580                Name: MLOperand
   581          Returns:
   582            - Name: MLOperand
   583        - Name: reduceL1
   584          Args:
   585            - Name: input
   586              Type:
   587                Name: MLOperand
   588            - Name: options
   589              Optional: true
   590              Default: '{}'
   591              Type:
   592                Name: MLReduceOptions
   593          Returns:
   594            - Name: MLOperand
   595        - Name: reduceL2
   596          Args:
   597            - Name: input
   598              Type:
   599                Name: MLOperand
   600            - Name: options
   601              Optional: true
   602              Default: '{}'
   603              Type:
   604                Name: MLReduceOptions
   605          Returns:
   606            - Name: MLOperand
   607        - Name: reduceLogSum
   608          Args:
   609            - Name: input
   610              Type:
   611                Name: MLOperand
   612            - Name: options
   613              Optional: true
   614              Default: '{}'
   615              Type:
   616                Name: MLReduceOptions
   617          Returns:
   618            - Name: MLOperand
   619        - Name: reduceLogSumExp
   620          Args:
   621            - Name: input
   622              Type:
   623                Name: MLOperand
   624            - Name: options
   625              Optional: true
   626              Default: '{}'
   627              Type:
   628                Name: MLReduceOptions
   629          Returns:
   630            - Name: MLOperand
   631        - Name: reduceMax
   632          Args:
   633            - Name: input
   634              Type:
   635                Name: MLOperand
   636            - Name: options
   637              Optional: true
   638              Default: '{}'
   639              Type:
   640                Name: MLReduceOptions
   641          Returns:
   642            - Name: MLOperand
   643        - Name: reduceMean
   644          Args:
   645            - Name: input
   646              Type:
   647                Name: MLOperand
   648            - Name: options
   649              Optional: true
   650              Default: '{}'
   651              Type:
   652                Name: MLReduceOptions
   653          Returns:
   654            - Name: MLOperand
   655        - Name: reduceMin
   656          Args:
   657            - Name: input
   658              Type:
   659                Name: MLOperand
   660            - Name: options
   661              Optional: true
   662              Default: '{}'
   663              Type:
   664                Name: MLReduceOptions
   665          Returns:
   666            - Name: MLOperand
   667        - Name: reduceProduct
   668          Args:
   669            - Name: input
   670              Type:
   671                Name: MLOperand
   672            - Name: options
   673              Optional: true
   674              Default: '{}'
   675              Type:
   676                Name: MLReduceOptions
   677          Returns:
   678            - Name: MLOperand
   679        - Name: reduceSum
   680          Args:
   681            - Name: input
   682              Type:
   683                Name: MLOperand
   684            - Name: options
   685              Optional: true
   686              Default: '{}'
   687              Type:
   688                Name: MLReduceOptions
   689          Returns:
   690            - Name: MLOperand
   691        - Name: reduceSumSquare
   692          Args:
   693            - Name: input
   694              Type:
   695                Name: MLOperand
   696            - Name: options
   697              Optional: true
   698              Default: '{}'
   699              Type:
   700                Name: MLReduceOptions
   701          Returns:
   702            - Name: MLOperand
   703        - Name: lstm
   704          Args:
   705            - Name: input
   706              Type:
   707                Name: MLOperand
   708            - Name: weight
   709              Type:
   710                Name: MLOperand
   711            - Name: recurrentWeight
   712              Type:
   713                Name: MLOperand
   714            - Name: steps
   715              Type:
   716                Name: unsigned long
   717            - Name: hiddenSize
   718              Type:
   719                Name: unsigned long
   720            - Name: options
   721              Optional: true
   722              Default: '{}'
   723              Type:
   724                Name: MLLstmOptions
   725          Returns:
   726            - Name: sequence
   727              Params:
   728                - Name: MLOperand
   729        - Name: matmul
   730          Args:
   731            - Name: a
   732              Type:
   733                Name: MLOperand
   734            - Name: b
   735              Type:
   736                Name: MLOperand
   737          Returns:
   738            - Name: MLOperand
   739        - Name: squeeze
   740          Args:
   741            - Name: input
   742              Type:
   743                Name: MLOperand
   744            - Name: options
   745              Optional: true
   746              Default: '{}'
   747              Type:
   748                Name: MLSqueezeOptions
   749          Returns:
   750            - Name: MLOperand
   751        - Name: tanh
   752          Args:
   753            - Name: input
   754              Type:
   755                Name: MLOperand
   756          Returns:
   757            - Name: MLOperand
   758        - Name: tanh
   759          Returns:
   760            - Name: MLActivation
   761        - Name: gru
   762          Args:
   763            - Name: input
   764              Type:
   765                Name: MLOperand
   766            - Name: weight
   767              Type:
   768                Name: MLOperand
   769            - Name: recurrentWeight
   770              Type:
   771                Name: MLOperand
   772            - Name: steps
   773              Type:
   774                Name: unsigned long
   775            - Name: hiddenSize
   776              Type:
   777                Name: unsigned long
   778            - Name: options
   779              Optional: true
   780              Default: '{}'
   781              Type:
   782                Name: MLGruOptions
   783          Returns:
   784            - Name: sequence
   785              Params:
   786                - Name: MLOperand
   787        - Name: abs
   788          Args:
   789            - Name: input
   790              Type:
   791                Name: MLOperand
   792          Returns:
   793            - Name: MLOperand
   794        - Name: ceil
   795          Args:
   796            - Name: input
   797              Type:
   798                Name: MLOperand
   799          Returns:
   800            - Name: MLOperand
   801        - Name: cos
   802          Args:
   803            - Name: input
   804              Type:
   805                Name: MLOperand
   806          Returns:
   807            - Name: MLOperand
   808        - Name: exp
   809          Args:
   810            - Name: input
   811              Type:
   812                Name: MLOperand
   813          Returns:
   814            - Name: MLOperand
   815        - Name: floor
   816          Args:
   817            - Name: input
   818              Type:
   819                Name: MLOperand
   820          Returns:
   821            - Name: MLOperand
   822        - Name: log
   823          Args:
   824            - Name: input
   825              Type:
   826                Name: MLOperand
   827          Returns:
   828            - Name: MLOperand
   829        - Name: neg
   830          Args:
   831            - Name: input
   832              Type:
   833                Name: MLOperand
   834          Returns:
   835            - Name: MLOperand
   836        - Name: sin
   837          Args:
   838            - Name: input
   839              Type:
   840                Name: MLOperand
   841          Returns:
   842            - Name: MLOperand
   843        - Name: tan
   844          Args:
   845            - Name: input
   846              Type:
   847                Name: MLOperand
   848          Returns:
   849            - Name: MLOperand
   850        - Name: transpose
   851          Args:
   852            - Name: input
   853              Type:
   854                Name: MLOperand
   855            - Name: options
   856              Optional: true
   857              Default: '{}'
   858              Type:
   859                Name: MLTransposeOptions
   860          Returns:
   861            - Name: MLOperand
   862        - Name: prelu
   863          Args:
   864            - Name: input
   865              Type:
   866                Name: MLOperand
   867            - Name: slope
   868              Type:
   869                Name: MLOperand
   870          Returns:
   871            - Name: MLOperand
   872        - Name: concat
   873          Args:
   874            - Name: inputs
   875              Type:
   876                Name: sequence
   877                Params:
   878                  - Name: MLOperand
   879            - Name: axis
   880              Type:
   881                Name: unsigned long
   882          Returns:
   883            - Name: MLOperand
   884        - Name: gemm
   885          Args:
   886            - Name: a
   887              Type:
   888                Name: MLOperand
   889            - Name: b
   890              Type:
   891                Name: MLOperand
   892            - Name: options
   893              Optional: true
   894              Default: '{}'
   895              Type:
   896                Name: MLGemmOptions
   897          Returns:
   898            - Name: MLOperand
   899        - Name: lstmCell
   900          Args:
   901            - Name: input
   902              Type:
   903                Name: MLOperand
   904            - Name: weight
   905              Type:
   906                Name: MLOperand
   907            - Name: recurrentWeight
   908              Type:
   909                Name: MLOperand
   910            - Name: hiddenState
   911              Type:
   912                Name: MLOperand
   913            - Name: cellState
   914              Type:
   915                Name: MLOperand
   916            - Name: hiddenSize
   917              Type:
   918                Name: unsigned long
   919            - Name: options
   920              Optional: true
   921              Default: '{}'
   922              Type:
   923                Name: MLLstmCellOptions
   924          Returns:
   925            - Name: sequence
   926              Params:
   927                - Name: MLOperand
   928        - Name: batchNormalization
   929          Args:
   930            - Name: input
   931              Type:
   932                Name: MLOperand
   933            - Name: mean
   934              Type:
   935                Name: MLOperand
   936            - Name: variance
   937              Type:
   938                Name: MLOperand
   939            - Name: options
   940              Optional: true
   941              Default: '{}'
   942              Type:
   943                Name: MLBatchNormalizationOptions
   944          Returns:
   945            - Name: MLOperand
   946        - Name: elu
   947          Args:
   948            - Name: input
   949              Type:
   950                Name: MLOperand
   951            - Name: options
   952              Optional: true
   953              Default: '{}'
   954              Type:
   955                Name: MLEluOptions
   956          Returns:
   957            - Name: MLOperand
   958        - Name: elu
   959          Args:
   960            - Name: options
   961              Optional: true
   962              Default: '{}'
   963              Type:
   964                Name: MLEluOptions
   965          Returns:
   966            - Name: MLActivation
   967        - Name: clamp
   968          Args:
   969            - Name: operand
   970              Type:
   971                Name: MLOperand
   972            - Name: options
   973              Optional: true
   974              Default: '{}'
   975              Type:
   976                Name: MLClampOptions
   977          Returns:
   978            - Name: MLOperand
   979        - Name: clamp
   980          Args:
   981            - Name: options
   982              Optional: true
   983              Default: '{}'
   984              Type:
   985                Name: MLClampOptions
   986          Returns:
   987            - Name: MLActivation
   988      Constructors:
   989        - Args:
   990            - Name: context
   991              Type:
   992                Name: MLContext
   993          ExtAttrs:
   994            - Name: SecureContext
   995            - Name: Exposed
   996              Values:
   997                - Window
   998                - DedicatedWorker
   999  - File: webref/webnn.idl
  1000    Dict:
  1001      Name: MLGruCellOptions
  1002      Fields:
  1003        - Name: bias
  1004          Type:
  1005            Name: MLOperand
  1006        - Name: recurrentBias
  1007          Type:
  1008            Name: MLOperand
  1009        - Name: resetAfter
  1010          Default: "true"
  1011          Type:
  1012            Name: boolean
  1013        - Name: layout
  1014          Default: '"zrn"'
  1015          Type:
  1016            Name: MLGruWeightLayout
  1017        - Name: activations
  1018          Type:
  1019            Name: sequence
  1020            Params:
  1021              - Name: MLActivation
  1022  - File: webref/webnn.idl
  1023    Dict:
  1024      Name: MLGruOptions
  1025      Fields:
  1026        - Name: bias
  1027          Type:
  1028            Name: MLOperand
  1029        - Name: recurrentBias
  1030          Type:
  1031            Name: MLOperand
  1032        - Name: initialHiddenState
  1033          Type:
  1034            Name: MLOperand
  1035        - Name: resetAfter
  1036          Default: "true"
  1037          Type:
  1038            Name: boolean
  1039        - Name: returnSequence
  1040          Default: "false"
  1041          Type:
  1042            Name: boolean
  1043        - Name: direction
  1044          Default: '"forward"'
  1045          Type:
  1046            Name: MLRecurrentNetworkDirection
  1047        - Name: layout
  1048          Default: '"zrn"'
  1049          Type:
  1050            Name: MLGruWeightLayout
  1051        - Name: activations
  1052          Type:
  1053            Name: sequence
  1054            Params:
  1055              - Name: MLActivation
  1056  - File: webref/webnn.idl
  1057    Enum:
  1058      Name: MLGruWeightLayout
  1059      Values:
  1060        - zrn
  1061        - rzn
  1062  - File: webref/webnn.idl
  1063    Dict:
  1064      Name: MLHardSigmoidOptions
  1065      Fields:
  1066        - Name: alpha
  1067          Default: "0.2"
  1068          Type:
  1069            Name: float
  1070        - Name: beta
  1071          Default: "0.5"
  1072          Type:
  1073            Name: float
  1074  - File: webref/webnn.idl
  1075    Enum:
  1076      Name: MLInputOperandLayout
  1077      Values:
  1078        - nchw
  1079        - nhwc
  1080  - File: webref/webnn.idl
  1081    Dict:
  1082      Name: MLInstanceNormalizationOptions
  1083      Fields:
  1084        - Name: scale
  1085          Type:
  1086            Name: MLOperand
  1087        - Name: bias
  1088          Type:
  1089            Name: MLOperand
  1090        - Name: epsilon
  1091          Default: "1e-5"
  1092          Type:
  1093            Name: float
  1094        - Name: layout
  1095          Default: '"nchw"'
  1096          Type:
  1097            Name: MLInputOperandLayout
  1098  - File: webref/webnn.idl
  1099    Enum:
  1100      Name: MLInterpolationMode
  1101      Values:
  1102        - nearest-neighbor
  1103        - linear
  1104  - File: webref/webnn.idl
  1105    Dict:
  1106      Name: MLLeakyReluOptions
  1107      Fields:
  1108        - Name: alpha
  1109          Default: "0.01"
  1110          Type:
  1111            Name: float
  1112  - File: webref/webnn.idl
  1113    Dict:
  1114      Name: MLLinearOptions
  1115      Fields:
  1116        - Name: alpha
  1117          Default: "1"
  1118          Type:
  1119            Name: float
  1120        - Name: beta
  1121          Default: "0"
  1122          Type:
  1123            Name: float
  1124  - File: webref/webnn.idl
  1125    Dict:
  1126      Name: MLLstmCellOptions
  1127      Fields:
  1128        - Name: bias
  1129          Type:
  1130            Name: MLOperand
  1131        - Name: recurrentBias
  1132          Type:
  1133            Name: MLOperand
  1134        - Name: peepholeWeight
  1135          Type:
  1136            Name: MLOperand
  1137        - Name: layout
  1138          Default: '"iofg"'
  1139          Type:
  1140            Name: MLLstmWeightLayout
  1141        - Name: activations
  1142          Type:
  1143            Name: sequence
  1144            Params:
  1145              - Name: MLActivation
  1146  - File: webref/webnn.idl
  1147    Dict:
  1148      Name: MLLstmOptions
  1149      Fields:
  1150        - Name: bias
  1151          Type:
  1152            Name: MLOperand
  1153        - Name: recurrentBias
  1154          Type:
  1155            Name: MLOperand
  1156        - Name: peepholeWeight
  1157          Type:
  1158            Name: MLOperand
  1159        - Name: initialHiddenState
  1160          Type:
  1161            Name: MLOperand
  1162        - Name: initialCellState
  1163          Type:
  1164            Name: MLOperand
  1165        - Name: returnSequence
  1166          Default: "false"
  1167          Type:
  1168            Name: boolean
  1169        - Name: direction
  1170          Default: '"forward"'
  1171          Type:
  1172            Name: MLRecurrentNetworkDirection
  1173        - Name: layout
  1174          Default: '"iofg"'
  1175          Type:
  1176            Name: MLLstmWeightLayout
  1177        - Name: activations
  1178          Type:
  1179            Name: sequence
  1180            Params:
  1181              - Name: MLActivation
  1182  - File: webref/webnn.idl
  1183    Enum:
  1184      Name: MLLstmWeightLayout
  1185      Values:
  1186        - iofg
  1187        - ifgo
  1188  - File: webref/webnn.idl
  1189    Typedef:
  1190      Name: MLNamedArrayBufferViews
  1191      Type:
  1192        Name: record
  1193        Params:
  1194          - Name: DOMString
  1195          - Name: ArrayBufferView
  1196  - File: webref/webnn.idl
  1197    Typedef:
  1198      Name: MLNamedGPUResources
  1199      Type:
  1200        Name: record
  1201        Params:
  1202          - Name: DOMString
  1203          - Name: MLGPUResource
  1204  - File: webref/webnn.idl
  1205    Typedef:
  1206      Name: MLNamedOperands
  1207      Type:
  1208        Name: record
  1209        Params:
  1210          - Name: DOMString
  1211          - Name: MLOperand
  1212  - File: webref/webnn.idl
  1213    Interface:
  1214      Name: MLOperand
  1215      ExtAttrs:
  1216        - Name: SecureContext
  1217        - Name: Exposed
  1218          Values:
  1219            - Window
  1220            - DedicatedWorker
  1221  - File: webref/webnn.idl
  1222    Dict:
  1223      Name: MLOperandDescriptor
  1224      Fields:
  1225        - Name: type
  1226          Required: true
  1227          Type:
  1228            Name: MLOperandType
  1229        - Name: dimensions
  1230          Type:
  1231            Name: sequence
  1232            Params:
  1233              - Name: unsigned long
  1234  - File: webref/webnn.idl
  1235    Enum:
  1236      Name: MLOperandType
  1237      Values:
  1238        - float32
  1239        - float16
  1240        - int32
  1241        - uint32
  1242        - int8
  1243        - uint8
  1244  - File: webref/webnn.idl
  1245    Dict:
  1246      Name: MLPadOptions
  1247      Fields:
  1248        - Name: mode
  1249          Default: '"constant"'
  1250          Type:
  1251            Name: MLPaddingMode
  1252        - Name: value
  1253          Default: "0"
  1254          Type:
  1255            Name: float
  1256  - File: webref/webnn.idl
  1257    Enum:
  1258      Name: MLPaddingMode
  1259      Values:
  1260        - constant
  1261        - edge
  1262        - reflection
  1263        - symmetric
  1264  - File: webref/webnn.idl
  1265    Dict:
  1266      Name: MLPool2dOptions
  1267      Fields:
  1268        - Name: windowDimensions
  1269          Type:
  1270            Name: sequence
  1271            Params:
  1272              - Name: unsigned long
  1273        - Name: padding
  1274          Type:
  1275            Name: sequence
  1276            Params:
  1277              - Name: unsigned long
  1278        - Name: strides
  1279          Type:
  1280            Name: sequence
  1281            Params:
  1282              - Name: unsigned long
  1283        - Name: dilations
  1284          Type:
  1285            Name: sequence
  1286            Params:
  1287              - Name: unsigned long
  1288        - Name: autoPad
  1289          Default: '"explicit"'
  1290          Type:
  1291            Name: MLAutoPad
  1292        - Name: layout
  1293          Default: '"nchw"'
  1294          Type:
  1295            Name: MLInputOperandLayout
  1296        - Name: roundingType
  1297          Default: '"floor"'
  1298          Type:
  1299            Name: MLRoundingType
  1300        - Name: outputSizes
  1301          Type:
  1302            Name: sequence
  1303            Params:
  1304              - Name: unsigned long
  1305  - File: webref/webnn.idl
  1306    Enum:
  1307      Name: MLPowerPreference
  1308      Values:
  1309        - default
  1310        - high-performance
  1311        - low-power
  1312  - File: webref/webnn.idl
  1313    Enum:
  1314      Name: MLRecurrentNetworkDirection
  1315      Values:
  1316        - forward
  1317        - backward
  1318        - both
  1319  - File: webref/webnn.idl
  1320    Dict:
  1321      Name: MLReduceOptions
  1322      Fields:
  1323        - Name: axes
  1324          Default: "null"
  1325          Type:
  1326            Name: sequence
  1327            Params:
  1328              - Name: unsigned long
  1329        - Name: keepDimensions
  1330          Default: "false"
  1331          Type:
  1332            Name: boolean
  1333  - File: webref/webnn.idl
  1334    Dict:
  1335      Name: MLResample2dOptions
  1336      Fields:
  1337        - Name: mode
  1338          Default: '"nearest-neighbor"'
  1339          Type:
  1340            Name: MLInterpolationMode
  1341        - Name: scales
  1342          Type:
  1343            Name: sequence
  1344            Params:
  1345              - Name: float
  1346        - Name: sizes
  1347          Type:
  1348            Name: sequence
  1349            Params:
  1350              - Name: unsigned long
  1351        - Name: axes
  1352          Type:
  1353            Name: sequence
  1354            Params:
  1355              - Name: unsigned long
  1356  - File: webref/webnn.idl
  1357    Enum:
  1358      Name: MLRoundingType
  1359      Values:
  1360        - floor
  1361        - ceil
  1362  - File: webref/webnn.idl
  1363    Dict:
  1364      Name: MLSoftplusOptions
  1365      Fields:
  1366        - Name: steepness
  1367          Default: "1"
  1368          Type:
  1369            Name: float
  1370  - File: webref/webnn.idl
  1371    Dict:
  1372      Name: MLSplitOptions
  1373      Fields:
  1374        - Name: axis
  1375          Default: "0"
  1376          Type:
  1377            Name: unsigned long
  1378  - File: webref/webnn.idl
  1379    Dict:
  1380      Name: MLSqueezeOptions
  1381      Fields:
  1382        - Name: axes
  1383          Type:
  1384            Name: sequence
  1385            Params:
  1386              - Name: unsigned long
  1387  - File: webref/webnn.idl
  1388    Dict:
  1389      Name: MLTransposeOptions
  1390      Fields:
  1391        - Name: permutation
  1392          Type:
  1393            Name: sequence
  1394            Params:
  1395              - Name: unsigned long
  1396  - File: webref/magnetometer.idl
  1397    Interface:
  1398      Name: Magnetometer
  1399      Inherits: Sensor
  1400      ExtAttrs:
  1401        - Name: SecureContext
  1402        - Name: Exposed
  1403          Values:
  1404            - Window
  1405      Attrs:
  1406        - Name: x
  1407          Readonly: true
  1408          Type:
  1409            Name: double
  1410            Nullable: true
  1411          ExtAttrs:
  1412            - Name: SecureContext
  1413            - Name: Exposed
  1414              Values:
  1415                - Window
  1416        - Name: "y"
  1417          Readonly: true
  1418          Type:
  1419            Name: double
  1420            Nullable: true
  1421          ExtAttrs:
  1422            - Name: SecureContext
  1423            - Name: Exposed
  1424              Values:
  1425                - Window
  1426        - Name: z
  1427          Readonly: true
  1428          Type:
  1429            Name: double
  1430            Nullable: true
  1431          ExtAttrs:
  1432            - Name: SecureContext
  1433            - Name: Exposed
  1434              Values:
  1435                - Window
  1436      Constructors:
  1437        - Args:
  1438            - Name: sensorOptions
  1439              Optional: true
  1440              Default: '{}'
  1441              Type:
  1442                Name: MagnetometerSensorOptions
  1443          ExtAttrs:
  1444            - Name: SecureContext
  1445            - Name: Exposed
  1446              Values:
  1447                - Window
  1448  - File: webref/magnetometer.idl
  1449    Enum:
  1450      Name: MagnetometerLocalCoordinateSystem
  1451      Values:
  1452        - device
  1453        - screen
  1454  - File: webref/magnetometer.idl
  1455    Dict:
  1456      Name: MagnetometerReadingValues
  1457      Fields:
  1458        - Name: x
  1459          Required: true
  1460          Type:
  1461            Name: double
  1462            Nullable: true
  1463        - Name: "y"
  1464          Required: true
  1465          Type:
  1466            Name: double
  1467            Nullable: true
  1468        - Name: z
  1469          Required: true
  1470          Type:
  1471            Name: double
  1472            Nullable: true
  1473  - File: webref/magnetometer.idl
  1474    Dict:
  1475      Name: MagnetometerSensorOptions
  1476      Inherits: SensorOptions
  1477      Fields:
  1478        - Name: referenceFrame
  1479          Default: '"device"'
  1480          Type:
  1481            Name: MagnetometerLocalCoordinateSystem
  1482        - Name: frequency
  1483          Type:
  1484            Name: double
  1485  - File: webref/mathml-core.idl
  1486    Interface:
  1487      Name: MathMLElement
  1488      Inherits: Element
  1489      ExtAttrs:
  1490        - Name: Exposed
  1491          Values:
  1492            - Window
  1493      Attrs:
  1494        - Name: style
  1495          Readonly: true
  1496          Type:
  1497            Name: CSSStyleDeclaration
  1498          ExtAttrs:
  1499            - Name: SameObject
  1500            - Name: PutForwards
  1501              Values:
  1502                - cssText
  1503        - Name: attributeStyleMap
  1504          Readonly: true
  1505          Type:
  1506            Name: StylePropertyMap
  1507          ExtAttrs:
  1508            - Name: SameObject
  1509        - Name: onabort
  1510          Type:
  1511            Name: EventHandler
  1512        - Name: onauxclick
  1513          Type:
  1514            Name: EventHandler
  1515        - Name: onbeforeinput
  1516          Type:
  1517            Name: EventHandler
  1518        - Name: onbeforematch
  1519          Type:
  1520            Name: EventHandler
  1521        - Name: onbeforetoggle
  1522          Type:
  1523            Name: EventHandler
  1524        - Name: onblur
  1525          Type:
  1526            Name: EventHandler
  1527        - Name: oncancel
  1528          Type:
  1529            Name: EventHandler
  1530        - Name: oncanplay
  1531          Type:
  1532            Name: EventHandler
  1533        - Name: oncanplaythrough
  1534          Type:
  1535            Name: EventHandler
  1536        - Name: onchange
  1537          Type:
  1538            Name: EventHandler
  1539        - Name: onclick
  1540          Type:
  1541            Name: EventHandler
  1542        - Name: onclose
  1543          Type:
  1544            Name: EventHandler
  1545        - Name: oncontextlost
  1546          Type:
  1547            Name: EventHandler
  1548        - Name: oncontextmenu
  1549          Type:
  1550            Name: EventHandler
  1551        - Name: oncontextrestored
  1552          Type:
  1553            Name: EventHandler
  1554        - Name: oncopy
  1555          Type:
  1556            Name: EventHandler
  1557        - Name: oncuechange
  1558          Type:
  1559            Name: EventHandler
  1560        - Name: oncut
  1561          Type:
  1562            Name: EventHandler
  1563        - Name: ondblclick
  1564          Type:
  1565            Name: EventHandler
  1566        - Name: ondrag
  1567          Type:
  1568            Name: EventHandler
  1569        - Name: ondragend
  1570          Type:
  1571            Name: EventHandler
  1572        - Name: ondragenter
  1573          Type:
  1574            Name: EventHandler
  1575        - Name: ondragleave
  1576          Type:
  1577            Name: EventHandler
  1578        - Name: ondragover
  1579          Type:
  1580            Name: EventHandler
  1581        - Name: ondragstart
  1582          Type:
  1583            Name: EventHandler
  1584        - Name: ondrop
  1585          Type:
  1586            Name: EventHandler
  1587        - Name: ondurationchange
  1588          Type:
  1589            Name: EventHandler
  1590        - Name: onemptied
  1591          Type:
  1592            Name: EventHandler
  1593        - Name: onended
  1594          Type:
  1595            Name: EventHandler
  1596        - Name: onerror
  1597          Type:
  1598            Name: OnErrorEventHandler
  1599        - Name: onfocus
  1600          Type:
  1601            Name: EventHandler
  1602        - Name: onformdata
  1603          Type:
  1604            Name: EventHandler
  1605        - Name: oninput
  1606          Type:
  1607            Name: EventHandler
  1608        - Name: oninvalid
  1609          Type:
  1610            Name: EventHandler
  1611        - Name: onkeydown
  1612          Type:
  1613            Name: EventHandler
  1614        - Name: onkeypress
  1615          Type:
  1616            Name: EventHandler
  1617        - Name: onkeyup
  1618          Type:
  1619            Name: EventHandler
  1620        - Name: onload
  1621          Type:
  1622            Name: EventHandler
  1623        - Name: onloadeddata
  1624          Type:
  1625            Name: EventHandler
  1626        - Name: onloadedmetadata
  1627          Type:
  1628            Name: EventHandler
  1629        - Name: onloadstart
  1630          Type:
  1631            Name: EventHandler
  1632        - Name: onmousedown
  1633          Type:
  1634            Name: EventHandler
  1635        - Name: onmouseenter
  1636          Type:
  1637            Name: EventHandler
  1638          ExtAttrs:
  1639            - Name: LegacyLenientThis
  1640        - Name: onmouseleave
  1641          Type:
  1642            Name: EventHandler
  1643          ExtAttrs:
  1644            - Name: LegacyLenientThis
  1645        - Name: onmousemove
  1646          Type:
  1647            Name: EventHandler
  1648        - Name: onmouseout
  1649          Type:
  1650            Name: EventHandler
  1651        - Name: onmouseover
  1652          Type:
  1653            Name: EventHandler
  1654        - Name: onmouseup
  1655          Type:
  1656            Name: EventHandler
  1657        - Name: onpaste
  1658          Type:
  1659            Name: EventHandler
  1660        - Name: onpause
  1661          Type:
  1662            Name: EventHandler
  1663        - Name: onplay
  1664          Type:
  1665            Name: EventHandler
  1666        - Name: onplaying
  1667          Type:
  1668            Name: EventHandler
  1669        - Name: onprogress
  1670          Type:
  1671            Name: EventHandler
  1672        - Name: onratechange
  1673          Type:
  1674            Name: EventHandler
  1675        - Name: onreset
  1676          Type:
  1677            Name: EventHandler
  1678        - Name: onresize
  1679          Type:
  1680            Name: EventHandler
  1681        - Name: onscroll
  1682          Type:
  1683            Name: EventHandler
  1684        - Name: onscrollend
  1685          Type:
  1686            Name: EventHandler
  1687        - Name: onsecuritypolicyviolation
  1688          Type:
  1689            Name: EventHandler
  1690        - Name: onseeked
  1691          Type:
  1692            Name: EventHandler
  1693        - Name: onseeking
  1694          Type:
  1695            Name: EventHandler
  1696        - Name: onselect
  1697          Type:
  1698            Name: EventHandler
  1699        - Name: onslotchange
  1700          Type:
  1701            Name: EventHandler
  1702        - Name: onstalled
  1703          Type:
  1704            Name: EventHandler
  1705        - Name: onsubmit
  1706          Type:
  1707            Name: EventHandler
  1708        - Name: onsuspend
  1709          Type:
  1710            Name: EventHandler
  1711        - Name: ontimeupdate
  1712          Type:
  1713            Name: EventHandler
  1714        - Name: ontoggle
  1715          Type:
  1716            Name: EventHandler
  1717        - Name: onvolumechange
  1718          Type:
  1719            Name: EventHandler
  1720        - Name: onwaiting
  1721          Type:
  1722            Name: EventHandler
  1723        - Name: onwebkitanimationend
  1724          Type:
  1725            Name: EventHandler
  1726        - Name: onwebkitanimationiteration
  1727          Type:
  1728            Name: EventHandler
  1729        - Name: onwebkitanimationstart
  1730          Type:
  1731            Name: EventHandler
  1732        - Name: onwebkittransitionend
  1733          Type:
  1734            Name: EventHandler
  1735        - Name: onwheel
  1736          Type:
  1737            Name: EventHandler
  1738        - Name: onbeforexrselect
  1739          Type:
  1740            Name: EventHandler
  1741        - Name: onselectstart
  1742          Type:
  1743            Name: EventHandler
  1744        - Name: onselectionchange
  1745          Type:
  1746            Name: EventHandler
  1747        - Name: ontransitionrun
  1748          Type:
  1749            Name: EventHandler
  1750        - Name: ontransitionstart
  1751          Type:
  1752            Name: EventHandler
  1753        - Name: ontransitionend
  1754          Type:
  1755            Name: EventHandler
  1756        - Name: ontransitioncancel
  1757          Type:
  1758            Name: EventHandler
  1759        - Name: onanimationstart
  1760          Type:
  1761            Name: EventHandler
  1762        - Name: onanimationiteration
  1763          Type:
  1764            Name: EventHandler
  1765        - Name: onanimationend
  1766          Type:
  1767            Name: EventHandler
  1768        - Name: onanimationcancel
  1769          Type:
  1770            Name: EventHandler
  1771        - Name: ontouchstart
  1772          Type:
  1773            Name: EventHandler
  1774        - Name: ontouchend
  1775          Type:
  1776            Name: EventHandler
  1777        - Name: ontouchmove
  1778          Type:
  1779            Name: EventHandler
  1780        - Name: ontouchcancel
  1781          Type:
  1782            Name: EventHandler
  1783        - Name: onpointerover
  1784          Type:
  1785            Name: EventHandler
  1786        - Name: onpointerenter
  1787          Type:
  1788            Name: EventHandler
  1789        - Name: onpointerdown
  1790          Type:
  1791            Name: EventHandler
  1792        - Name: onpointermove
  1793          Type:
  1794            Name: EventHandler
  1795        - Name: onpointerrawupdate
  1796          Type:
  1797            Name: EventHandler
  1798          ExtAttrs:
  1799            - Name: SecureContext
  1800        - Name: onpointerup
  1801          Type:
  1802            Name: EventHandler
  1803        - Name: onpointercancel
  1804          Type:
  1805            Name: EventHandler
  1806        - Name: onpointerout
  1807          Type:
  1808            Name: EventHandler
  1809        - Name: onpointerleave
  1810          Type:
  1811            Name: EventHandler
  1812        - Name: ongotpointercapture
  1813          Type:
  1814            Name: EventHandler
  1815        - Name: onlostpointercapture
  1816          Type:
  1817            Name: EventHandler
  1818        - Name: dataset
  1819          Readonly: true
  1820          Type:
  1821            Name: DOMStringMap
  1822          ExtAttrs:
  1823            - Name: SameObject
  1824        - Name: nonce
  1825          Type:
  1826            Name: DOMString
  1827        - Name: autofocus
  1828          Type:
  1829            Name: boolean
  1830          ExtAttrs:
  1831            - Name: CEReactions
  1832        - Name: tabIndex
  1833          Type:
  1834            Name: long
  1835          ExtAttrs:
  1836            - Name: CEReactions
  1837      Operations:
  1838        - Name: focus
  1839          Args:
  1840            - Name: options
  1841              Optional: true
  1842              Default: '{}'
  1843              Type:
  1844                Name: FocusOptions
  1845          Returns:
  1846            - Name: undefined
  1847        - Name: blur
  1848          Returns:
  1849            - Name: undefined
  1850  - File: webref/media-capabilities.idl
  1851    Interface:
  1852      Name: MediaCapabilities
  1853      ExtAttrs:
  1854        - Name: Exposed
  1855          Values:
  1856            - Window
  1857            - Worker
  1858      Operations:
  1859        - Name: decodingInfo
  1860          Args:
  1861            - Name: configuration
  1862              Type:
  1863                Name: MediaDecodingConfiguration
  1864          Returns:
  1865            - Name: Promise
  1866              Params:
  1867                - Name: MediaCapabilitiesDecodingInfo
  1868          ExtAttrs:
  1869            - Name: NewObject
  1870            - Name: Exposed
  1871              Values:
  1872                - Window
  1873                - Worker
  1874        - Name: encodingInfo
  1875          Args:
  1876            - Name: configuration
  1877              Type:
  1878                Name: MediaEncodingConfiguration
  1879          Returns:
  1880            - Name: Promise
  1881              Params:
  1882                - Name: MediaCapabilitiesEncodingInfo
  1883          ExtAttrs:
  1884            - Name: NewObject
  1885            - Name: Exposed
  1886              Values:
  1887                - Window
  1888                - Worker
  1889  - File: webref/media-capabilities.idl
  1890    Dict:
  1891      Name: MediaCapabilitiesDecodingInfo
  1892      Inherits: MediaCapabilitiesInfo
  1893      Fields:
  1894        - Name: keySystemAccess
  1895          Required: true
  1896          Type:
  1897            Name: MediaKeySystemAccess
  1898        - Name: configuration
  1899          Type:
  1900            Name: MediaDecodingConfiguration
  1901        - Name: supported
  1902          Required: true
  1903          Type:
  1904            Name: boolean
  1905        - Name: smooth
  1906          Required: true
  1907          Type:
  1908            Name: boolean
  1909        - Name: powerEfficient
  1910          Required: true
  1911          Type:
  1912            Name: boolean
  1913  - File: webref/media-capabilities.idl
  1914    Dict:
  1915      Name: MediaCapabilitiesEncodingInfo
  1916      Inherits: MediaCapabilitiesInfo
  1917      Fields:
  1918        - Name: configuration
  1919          Type:
  1920            Name: MediaEncodingConfiguration
  1921        - Name: supported
  1922          Required: true
  1923          Type:
  1924            Name: boolean
  1925        - Name: smooth
  1926          Required: true
  1927          Type:
  1928            Name: boolean
  1929        - Name: powerEfficient
  1930          Required: true
  1931          Type:
  1932            Name: boolean
  1933  - File: webref/media-capabilities.idl
  1934    Dict:
  1935      Name: MediaCapabilitiesInfo
  1936      Fields:
  1937        - Name: supported
  1938          Required: true
  1939          Type:
  1940            Name: boolean
  1941        - Name: smooth
  1942          Required: true
  1943          Type:
  1944            Name: boolean
  1945        - Name: powerEfficient
  1946          Required: true
  1947          Type:
  1948            Name: boolean
  1949  - File: webref/media-capabilities.idl
  1950    Dict:
  1951      Name: MediaCapabilitiesKeySystemConfiguration
  1952      Fields:
  1953        - Name: keySystem
  1954          Required: true
  1955          Type:
  1956            Name: DOMString
  1957        - Name: initDataType
  1958          Default: '""'
  1959          Type:
  1960            Name: DOMString
  1961        - Name: distinctiveIdentifier
  1962          Default: '"optional"'
  1963          Type:
  1964            Name: MediaKeysRequirement
  1965        - Name: persistentState
  1966          Default: '"optional"'
  1967          Type:
  1968            Name: MediaKeysRequirement
  1969        - Name: sessionTypes
  1970          Type:
  1971            Name: sequence
  1972            Params:
  1973              - Name: DOMString
  1974        - Name: audio
  1975          Type:
  1976            Name: KeySystemTrackConfiguration
  1977        - Name: video
  1978          Type:
  1979            Name: KeySystemTrackConfiguration
  1980  - File: webref/media-capabilities.idl
  1981    Dict:
  1982      Name: MediaConfiguration
  1983      Fields:
  1984        - Name: video
  1985          Type:
  1986            Name: VideoConfiguration
  1987        - Name: audio
  1988          Type:
  1989            Name: AudioConfiguration
  1990  - File: webref/media-capabilities.idl
  1991    Dict:
  1992      Name: MediaDecodingConfiguration
  1993      Inherits: MediaConfiguration
  1994      Fields:
  1995        - Name: type
  1996          Required: true
  1997          Type:
  1998            Name: MediaDecodingType
  1999        - Name: keySystemConfiguration
  2000          Type:
  2001            Name: MediaCapabilitiesKeySystemConfiguration
  2002        - Name: video
  2003          Type:
  2004            Name: VideoConfiguration
  2005        - Name: audio
  2006          Type:
  2007            Name: AudioConfiguration
  2008  - File: webref/media-capabilities.idl
  2009    Enum:
  2010      Name: MediaDecodingType
  2011      Values:
  2012        - file
  2013        - media-source
  2014        - webrtc