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

     1  - File: webref/webusb.idl
     2    Interface:
     3      Name: USBIsochronousOutTransferResult
     4      ExtAttrs:
     5        - Name: Exposed
     6          Values:
     7            - DedicatedWorker
     8            - SharedWorker
     9            - Window
    10        - Name: SecureContext
    11      Attrs:
    12        - Name: packets
    13          Readonly: true
    14          Type:
    15            Name: FrozenArray
    16            Params:
    17              - Name: USBIsochronousOutTransferPacket
    18          ExtAttrs:
    19            - Name: Exposed
    20              Values:
    21                - DedicatedWorker
    22                - SharedWorker
    23                - Window
    24            - Name: SecureContext
    25      Constructors:
    26        - Args:
    27            - Name: packets
    28              Type:
    29                Name: sequence
    30                Params:
    31                  - Name: USBIsochronousOutTransferPacket
    32          ExtAttrs:
    33            - Name: Exposed
    34              Values:
    35                - DedicatedWorker
    36                - SharedWorker
    37                - Window
    38            - Name: SecureContext
    39  - File: webref/webusb.idl
    40    Interface:
    41      Name: USBOutTransferResult
    42      ExtAttrs:
    43        - Name: Exposed
    44          Values:
    45            - DedicatedWorker
    46            - SharedWorker
    47            - Window
    48        - Name: SecureContext
    49      Attrs:
    50        - Name: bytesWritten
    51          Readonly: true
    52          Type:
    53            Name: unsigned long
    54          ExtAttrs:
    55            - Name: Exposed
    56              Values:
    57                - DedicatedWorker
    58                - SharedWorker
    59                - Window
    60            - Name: SecureContext
    61        - Name: status
    62          Readonly: true
    63          Type:
    64            Name: USBTransferStatus
    65          ExtAttrs:
    66            - Name: Exposed
    67              Values:
    68                - DedicatedWorker
    69                - SharedWorker
    70                - Window
    71            - Name: SecureContext
    72      Constructors:
    73        - Args:
    74            - Name: status
    75              Type:
    76                Name: USBTransferStatus
    77            - Name: bytesWritten
    78              Optional: true
    79              Default: "0"
    80              Type:
    81                Name: unsigned long
    82          ExtAttrs:
    83            - Name: Exposed
    84              Values:
    85                - DedicatedWorker
    86                - SharedWorker
    87                - Window
    88            - Name: SecureContext
    89  - File: webref/webusb.idl
    90    Dict:
    91      Name: USBPermissionDescriptor
    92      Inherits: PermissionDescriptor
    93      Fields:
    94        - Name: filters
    95          Type:
    96            Name: sequence
    97            Params:
    98              - Name: USBDeviceFilter
    99        - Name: exclusionFilters
   100          Type:
   101            Name: sequence
   102            Params:
   103              - Name: USBDeviceFilter
   104        - Name: name
   105          Required: true
   106          Type:
   107            Name: DOMString
   108  - File: webref/webusb.idl
   109    Interface:
   110      Name: USBPermissionResult
   111      Inherits: PermissionStatus
   112      ExtAttrs:
   113        - Name: Exposed
   114          Values:
   115            - DedicatedWorker
   116            - SharedWorker
   117            - Window
   118      Attrs:
   119        - Name: devices
   120          Type:
   121            Name: FrozenArray
   122            Params:
   123              - Name: USBDevice
   124          ExtAttrs:
   125            - Name: Exposed
   126              Values:
   127                - DedicatedWorker
   128                - SharedWorker
   129                - Window
   130  - File: webref/webusb.idl
   131    Dict:
   132      Name: USBPermissionStorage
   133      Fields:
   134        - Name: allowedDevices
   135          Default: '[]'
   136          Type:
   137            Name: sequence
   138            Params:
   139              - Name: AllowedUSBDevice
   140  - File: webref/webusb.idl
   141    Enum:
   142      Name: USBRecipient
   143      Values:
   144        - device
   145        - interface
   146        - endpoint
   147        - other
   148  - File: webref/webusb.idl
   149    Enum:
   150      Name: USBRequestType
   151      Values:
   152        - standard
   153        - class
   154        - vendor
   155  - File: webref/webusb.idl
   156    Enum:
   157      Name: USBTransferStatus
   158      Values:
   159        - ok
   160        - stall
   161        - babble
   162  - File: webref/web-bluetooth.idl
   163    Typedef:
   164      Name: UUID
   165      Type:
   166        Name: DOMString
   167  - File: webref/webgl2.idl
   168    Typedef:
   169      Name: Uint32List
   170      Type:
   171        Union:
   172          - Name: Uint32Array
   173          - Name: sequence
   174            Params:
   175              - Name: GLuint
   176  - File: webref/magnetometer.idl
   177    Interface:
   178      Name: UncalibratedMagnetometer
   179      Inherits: Sensor
   180      ExtAttrs:
   181        - Name: SecureContext
   182        - Name: Exposed
   183          Values:
   184            - Window
   185      Attrs:
   186        - Name: x
   187          Readonly: true
   188          Type:
   189            Name: double
   190            Nullable: true
   191          ExtAttrs:
   192            - Name: SecureContext
   193            - Name: Exposed
   194              Values:
   195                - Window
   196        - Name: "y"
   197          Readonly: true
   198          Type:
   199            Name: double
   200            Nullable: true
   201          ExtAttrs:
   202            - Name: SecureContext
   203            - Name: Exposed
   204              Values:
   205                - Window
   206        - Name: z
   207          Readonly: true
   208          Type:
   209            Name: double
   210            Nullable: true
   211          ExtAttrs:
   212            - Name: SecureContext
   213            - Name: Exposed
   214              Values:
   215                - Window
   216        - Name: xBias
   217          Readonly: true
   218          Type:
   219            Name: double
   220            Nullable: true
   221          ExtAttrs:
   222            - Name: SecureContext
   223            - Name: Exposed
   224              Values:
   225                - Window
   226        - Name: yBias
   227          Readonly: true
   228          Type:
   229            Name: double
   230            Nullable: true
   231          ExtAttrs:
   232            - Name: SecureContext
   233            - Name: Exposed
   234              Values:
   235                - Window
   236        - Name: zBias
   237          Readonly: true
   238          Type:
   239            Name: double
   240            Nullable: true
   241          ExtAttrs:
   242            - Name: SecureContext
   243            - Name: Exposed
   244              Values:
   245                - Window
   246      Constructors:
   247        - Args:
   248            - Name: sensorOptions
   249              Optional: true
   250              Default: '{}'
   251              Type:
   252                Name: MagnetometerSensorOptions
   253          ExtAttrs:
   254            - Name: SecureContext
   255            - Name: Exposed
   256              Values:
   257                - Window
   258  - File: webref/magnetometer.idl
   259    Dict:
   260      Name: UncalibratedMagnetometerReadingValues
   261      Fields:
   262        - Name: x
   263          Required: true
   264          Type:
   265            Name: double
   266            Nullable: true
   267        - Name: "y"
   268          Required: true
   269          Type:
   270            Name: double
   271            Nullable: true
   272        - Name: z
   273          Required: true
   274          Type:
   275            Name: double
   276            Nullable: true
   277        - Name: xBias
   278          Required: true
   279          Type:
   280            Name: double
   281            Nullable: true
   282        - Name: yBias
   283          Required: true
   284          Type:
   285            Name: double
   286            Nullable: true
   287        - Name: zBias
   288          Required: true
   289          Type:
   290            Name: double
   291            Nullable: true
   292  - File: webref/streams.idl
   293    Dict:
   294      Name: UnderlyingSink
   295      Fields:
   296        - Name: start
   297          Type:
   298            Name: UnderlyingSinkStartCallback
   299        - Name: write
   300          Type:
   301            Name: UnderlyingSinkWriteCallback
   302        - Name: close
   303          Type:
   304            Name: UnderlyingSinkCloseCallback
   305        - Name: abort
   306          Type:
   307            Name: UnderlyingSinkAbortCallback
   308        - Name: type
   309          Type:
   310            Name: any
   311  - File: webref/streams.idl
   312    Callback:
   313      Name: UnderlyingSinkAbortCallback
   314      Args:
   315        - Name: reason
   316          Optional: true
   317          Type:
   318            Name: any
   319      Returns:
   320        - Name: Promise
   321          Params:
   322            - Name: undefined
   323  - File: webref/streams.idl
   324    Callback:
   325      Name: UnderlyingSinkCloseCallback
   326      Returns:
   327        - Name: Promise
   328          Params:
   329            - Name: undefined
   330  - File: webref/streams.idl
   331    Callback:
   332      Name: UnderlyingSinkStartCallback
   333      Args:
   334        - Name: controller
   335          Type:
   336            Name: WritableStreamDefaultController
   337      Returns:
   338        - Name: any
   339  - File: webref/streams.idl
   340    Callback:
   341      Name: UnderlyingSinkWriteCallback
   342      Args:
   343        - Name: chunk
   344          Type:
   345            Name: any
   346        - Name: controller
   347          Type:
   348            Name: WritableStreamDefaultController
   349      Returns:
   350        - Name: Promise
   351          Params:
   352            - Name: undefined
   353  - File: webref/streams.idl
   354    Dict:
   355      Name: UnderlyingSource
   356      Fields:
   357        - Name: start
   358          Type:
   359            Name: UnderlyingSourceStartCallback
   360        - Name: pull
   361          Type:
   362            Name: UnderlyingSourcePullCallback
   363        - Name: cancel
   364          Type:
   365            Name: UnderlyingSourceCancelCallback
   366        - Name: type
   367          Type:
   368            Name: ReadableStreamType
   369        - Name: autoAllocateChunkSize
   370          Type:
   371            Name: unsigned long long
   372          ExtAttrs:
   373            - Name: EnforceRange
   374  - File: webref/streams.idl
   375    Callback:
   376      Name: UnderlyingSourceCancelCallback
   377      Args:
   378        - Name: reason
   379          Optional: true
   380          Type:
   381            Name: any
   382      Returns:
   383        - Name: Promise
   384          Params:
   385            - Name: undefined
   386  - File: webref/streams.idl
   387    Callback:
   388      Name: UnderlyingSourcePullCallback
   389      Args:
   390        - Name: controller
   391          Type:
   392            Name: ReadableStreamController
   393      Returns:
   394        - Name: Promise
   395          Params:
   396            - Name: undefined
   397  - File: webref/streams.idl
   398    Callback:
   399      Name: UnderlyingSourceStartCallback
   400      Args:
   401        - Name: controller
   402          Type:
   403            Name: ReadableStreamController
   404      Returns:
   405        - Name: any
   406  - File: webref/css-view-transitions.idl
   407    Callback:
   408      Name: UpdateCallback
   409      Returns:
   410        - Name: Promise
   411          Params:
   412            - Name: any
   413  - File: webref/html.idl
   414    Interface:
   415      Name: UserActivation
   416      ExtAttrs:
   417        - Name: Exposed
   418          Values:
   419            - Window
   420      Attrs:
   421        - Name: hasBeenActive
   422          Readonly: true
   423          Type:
   424            Name: boolean
   425          ExtAttrs:
   426            - Name: Exposed
   427              Values:
   428                - Window
   429        - Name: isActive
   430          Readonly: true
   431          Type:
   432            Name: boolean
   433          ExtAttrs:
   434            - Name: Exposed
   435              Values:
   436                - Window
   437  - File: webref/idle-detection.idl
   438    Enum:
   439      Name: UserIdleState
   440      Values:
   441        - active
   442        - idle
   443  - File: webref/webauthn.idl
   444    Enum:
   445      Name: UserVerificationRequirement
   446      Values:
   447        - required
   448        - preferred
   449        - discouraged
   450  - File: webref/webauthn.idl
   451    Typedef:
   452      Name: UvmEntries
   453      Type:
   454        Name: sequence
   455        Params:
   456          - Name: UvmEntry
   457  - File: webref/webauthn.idl
   458    Typedef:
   459      Name: UvmEntry
   460      Type:
   461        Name: sequence
   462        Params:
   463          - Name: unsigned long
   464  - File: webref/webvtt.idl
   465    Interface:
   466      Name: VTTCue
   467      Inherits: TextTrackCue
   468      ExtAttrs:
   469        - Name: Exposed
   470          Values:
   471            - Window
   472      Attrs:
   473        - Name: region
   474          Type:
   475            Name: VTTRegion
   476            Nullable: true
   477          ExtAttrs:
   478            - Name: Exposed
   479              Values:
   480                - Window
   481        - Name: vertical
   482          Type:
   483            Name: DirectionSetting
   484          ExtAttrs:
   485            - Name: Exposed
   486              Values:
   487                - Window
   488        - Name: snapToLines
   489          Type:
   490            Name: boolean
   491          ExtAttrs:
   492            - Name: Exposed
   493              Values:
   494                - Window
   495        - Name: line
   496          Type:
   497            Name: LineAndPositionSetting
   498          ExtAttrs:
   499            - Name: Exposed
   500              Values:
   501                - Window
   502        - Name: lineAlign
   503          Type:
   504            Name: LineAlignSetting
   505          ExtAttrs:
   506            - Name: Exposed
   507              Values:
   508                - Window
   509        - Name: position
   510          Type:
   511            Name: LineAndPositionSetting
   512          ExtAttrs:
   513            - Name: Exposed
   514              Values:
   515                - Window
   516        - Name: positionAlign
   517          Type:
   518            Name: PositionAlignSetting
   519          ExtAttrs:
   520            - Name: Exposed
   521              Values:
   522                - Window
   523        - Name: size
   524          Type:
   525            Name: double
   526          ExtAttrs:
   527            - Name: Exposed
   528              Values:
   529                - Window
   530        - Name: align
   531          Type:
   532            Name: AlignSetting
   533          ExtAttrs:
   534            - Name: Exposed
   535              Values:
   536                - Window
   537        - Name: text
   538          Type:
   539            Name: DOMString
   540          ExtAttrs:
   541            - Name: Exposed
   542              Values:
   543                - Window
   544      Operations:
   545        - Name: getCueAsHTML
   546          Returns:
   547            - Name: DocumentFragment
   548          ExtAttrs:
   549            - Name: Exposed
   550              Values:
   551                - Window
   552      Constructors:
   553        - Args:
   554            - Name: startTime
   555              Type:
   556                Name: double
   557            - Name: endTime
   558              Type:
   559                Name: unrestricted double
   560            - Name: text
   561              Type:
   562                Name: DOMString
   563          ExtAttrs:
   564            - Name: Exposed
   565              Values:
   566                - Window
   567  - File: webref/webvtt.idl
   568    Interface:
   569      Name: VTTRegion
   570      ExtAttrs:
   571        - Name: Exposed
   572          Values:
   573            - Window
   574      Attrs:
   575        - Name: id
   576          Type:
   577            Name: DOMString
   578          ExtAttrs:
   579            - Name: Exposed
   580              Values:
   581                - Window
   582        - Name: width
   583          Type:
   584            Name: double
   585          ExtAttrs:
   586            - Name: Exposed
   587              Values:
   588                - Window
   589        - Name: lines
   590          Type:
   591            Name: unsigned long
   592          ExtAttrs:
   593            - Name: Exposed
   594              Values:
   595                - Window
   596        - Name: regionAnchorX
   597          Type:
   598            Name: double
   599          ExtAttrs:
   600            - Name: Exposed
   601              Values:
   602                - Window
   603        - Name: regionAnchorY
   604          Type:
   605            Name: double
   606          ExtAttrs:
   607            - Name: Exposed
   608              Values:
   609                - Window
   610        - Name: viewportAnchorX
   611          Type:
   612            Name: double
   613          ExtAttrs:
   614            - Name: Exposed
   615              Values:
   616                - Window
   617        - Name: viewportAnchorY
   618          Type:
   619            Name: double
   620          ExtAttrs:
   621            - Name: Exposed
   622              Values:
   623                - Window
   624        - Name: scroll
   625          Type:
   626            Name: ScrollSetting
   627          ExtAttrs:
   628            - Name: Exposed
   629              Values:
   630                - Window
   631  - File: webref/webrtc-identity.idl
   632    Callback:
   633      Name: ValidateAssertionCallback
   634      Args:
   635        - Name: assertion
   636          Type:
   637            Name: DOMString
   638        - Name: origin
   639          Type:
   640            Name: DOMString
   641      Returns:
   642        - Name: Promise
   643          Params:
   644            - Name: RTCIdentityValidationResult
   645  - File: webref/html.idl
   646    Interface:
   647      Name: ValidityState
   648      ExtAttrs:
   649        - Name: Exposed
   650          Values:
   651            - Window
   652      Attrs:
   653        - Name: valueMissing
   654          Readonly: true
   655          Type:
   656            Name: boolean
   657          ExtAttrs:
   658            - Name: Exposed
   659              Values:
   660                - Window
   661        - Name: typeMismatch
   662          Readonly: true
   663          Type:
   664            Name: boolean
   665          ExtAttrs:
   666            - Name: Exposed
   667              Values:
   668                - Window
   669        - Name: patternMismatch
   670          Readonly: true
   671          Type:
   672            Name: boolean
   673          ExtAttrs:
   674            - Name: Exposed
   675              Values:
   676                - Window
   677        - Name: tooLong
   678          Readonly: true
   679          Type:
   680            Name: boolean
   681          ExtAttrs:
   682            - Name: Exposed
   683              Values:
   684                - Window
   685        - Name: tooShort
   686          Readonly: true
   687          Type:
   688            Name: boolean
   689          ExtAttrs:
   690            - Name: Exposed
   691              Values:
   692                - Window
   693        - Name: rangeUnderflow
   694          Readonly: true
   695          Type:
   696            Name: boolean
   697          ExtAttrs:
   698            - Name: Exposed
   699              Values:
   700                - Window
   701        - Name: rangeOverflow
   702          Readonly: true
   703          Type:
   704            Name: boolean
   705          ExtAttrs:
   706            - Name: Exposed
   707              Values:
   708                - Window
   709        - Name: stepMismatch
   710          Readonly: true
   711          Type:
   712            Name: boolean
   713          ExtAttrs:
   714            - Name: Exposed
   715              Values:
   716                - Window
   717        - Name: badInput
   718          Readonly: true
   719          Type:
   720            Name: boolean
   721          ExtAttrs:
   722            - Name: Exposed
   723              Values:
   724                - Window
   725        - Name: customError
   726          Readonly: true
   727          Type:
   728            Name: boolean
   729          ExtAttrs:
   730            - Name: Exposed
   731              Values:
   732                - Window
   733        - Name: valid
   734          Readonly: true
   735          Type:
   736            Name: boolean
   737          ExtAttrs:
   738            - Name: Exposed
   739              Values:
   740                - Window
   741  - File: webref/html.idl
   742    Dict:
   743      Name: ValidityStateFlags
   744      Fields:
   745        - Name: valueMissing
   746          Default: "false"
   747          Type:
   748            Name: boolean
   749        - Name: typeMismatch
   750          Default: "false"
   751          Type:
   752            Name: boolean
   753        - Name: patternMismatch
   754          Default: "false"
   755          Type:
   756            Name: boolean
   757        - Name: tooLong
   758          Default: "false"
   759          Type:
   760            Name: boolean
   761        - Name: tooShort
   762          Default: "false"
   763          Type:
   764            Name: boolean
   765        - Name: rangeUnderflow
   766          Default: "false"
   767          Type:
   768            Name: boolean
   769        - Name: rangeOverflow
   770          Default: "false"
   771          Type:
   772            Name: boolean
   773        - Name: stepMismatch
   774          Default: "false"
   775          Type:
   776            Name: boolean
   777        - Name: badInput
   778          Default: "false"
   779          Type:
   780            Name: boolean
   781        - Name: customError
   782          Default: "false"
   783          Type:
   784            Name: boolean
   785  - File: webref/web-bluetooth.idl
   786    Interface:
   787      Name: ValueEvent
   788      Inherits: Event
   789      ExtAttrs:
   790        - Name: Exposed
   791          Values:
   792            - Window
   793        - Name: SecureContext
   794      Attrs:
   795        - Name: value
   796          Readonly: true
   797          Type:
   798            Name: any
   799          ExtAttrs:
   800            - Name: Exposed
   801              Values:
   802                - Window
   803            - Name: SecureContext
   804      Constructors:
   805        - Args:
   806            - Name: type
   807              Type:
   808                Name: DOMString
   809            - Name: initDict
   810              Optional: true
   811              Default: '{}'
   812              Type:
   813                Name: ValueEventInit
   814          ExtAttrs:
   815            - Name: Exposed
   816              Values:
   817                - Window
   818            - Name: SecureContext
   819  - File: webref/web-bluetooth.idl
   820    Dict:
   821      Name: ValueEventInit
   822      Inherits: EventInit
   823      Fields:
   824        - Name: value
   825          Default: "null"
   826          Type:
   827            Name: any
   828        - Name: bubbles
   829          Default: "false"
   830          Type:
   831            Name: boolean
   832        - Name: cancelable
   833          Default: "false"
   834          Type:
   835            Name: boolean
   836        - Name: composed
   837          Default: "false"
   838          Type:
   839            Name: boolean
   840  - File: webref/wasm-js-api.idl
   841    Enum:
   842      Name: ValueType
   843      Values:
   844        - i32
   845        - i64
   846        - f32
   847        - f64
   848        - v128
   849        - externref
   850        - anyfunc
   851  - File: webref/vibration.idl
   852    Typedef:
   853      Name: VibratePattern
   854      Type:
   855        Union:
   856          - Name: unsigned long
   857          - Name: sequence
   858            Params:
   859              - Name: unsigned long
   860  - File: webref/webcodecs.idl
   861    Enum:
   862      Name: VideoColorPrimaries
   863      Values:
   864        - bt709
   865        - bt470bg
   866        - smpte170m
   867        - bt2020
   868        - smpte432
   869  - File: webref/webcodecs.idl
   870    Interface:
   871      Name: VideoColorSpace
   872      ExtAttrs:
   873        - Name: Exposed
   874          Values:
   875            - Window
   876            - DedicatedWorker
   877      Attrs:
   878        - Name: primaries
   879          Readonly: true
   880          Type:
   881            Name: VideoColorPrimaries
   882            Nullable: true
   883          ExtAttrs:
   884            - Name: Exposed
   885              Values:
   886                - Window
   887                - DedicatedWorker
   888        - Name: transfer
   889          Readonly: true
   890          Type:
   891            Name: VideoTransferCharacteristics
   892            Nullable: true
   893          ExtAttrs:
   894            - Name: Exposed
   895              Values:
   896                - Window
   897                - DedicatedWorker
   898        - Name: matrix
   899          Readonly: true
   900          Type:
   901            Name: VideoMatrixCoefficients
   902            Nullable: true
   903          ExtAttrs:
   904            - Name: Exposed
   905              Values:
   906                - Window
   907                - DedicatedWorker
   908        - Name: fullRange
   909          Readonly: true
   910          Type:
   911            Name: boolean
   912            Nullable: true
   913          ExtAttrs:
   914            - Name: Exposed
   915              Values:
   916                - Window
   917                - DedicatedWorker
   918      Operations:
   919        - Name: toJSON
   920          Returns:
   921            - Name: VideoColorSpaceInit
   922          ExtAttrs:
   923            - Name: Default
   924            - Name: Exposed
   925              Values:
   926                - Window
   927                - DedicatedWorker
   928      Constructors:
   929        - Args:
   930            - Name: init
   931              Optional: true
   932              Default: '{}'
   933              Type:
   934                Name: VideoColorSpaceInit
   935          ExtAttrs:
   936            - Name: Exposed
   937              Values:
   938                - Window
   939                - DedicatedWorker
   940  - File: webref/webcodecs.idl
   941    Dict:
   942      Name: VideoColorSpaceInit
   943      Fields:
   944        - Name: primaries
   945          Default: "null"
   946          Type:
   947            Name: VideoColorPrimaries
   948            Nullable: true
   949        - Name: transfer
   950          Default: "null"
   951          Type:
   952            Name: VideoTransferCharacteristics
   953            Nullable: true
   954        - Name: matrix
   955          Default: "null"
   956          Type:
   957            Name: VideoMatrixCoefficients
   958            Nullable: true
   959        - Name: fullRange
   960          Default: "null"
   961          Type:
   962            Name: boolean
   963            Nullable: true
   964  - File: webref/media-capabilities.idl
   965    Dict:
   966      Name: VideoConfiguration
   967      Fields:
   968        - Name: contentType
   969          Required: true
   970          Type:
   971            Name: DOMString
   972        - Name: width
   973          Required: true
   974          Type:
   975            Name: unsigned long
   976        - Name: height
   977          Required: true
   978          Type:
   979            Name: unsigned long
   980        - Name: bitrate
   981          Required: true
   982          Type:
   983            Name: unsigned long long
   984        - Name: framerate
   985          Required: true
   986          Type:
   987            Name: double
   988        - Name: hasAlphaChannel
   989          Type:
   990            Name: boolean
   991        - Name: hdrMetadataType
   992          Type:
   993            Name: HdrMetadataType
   994        - Name: colorGamut
   995          Type:
   996            Name: ColorGamut
   997        - Name: transferFunction
   998          Type:
   999            Name: TransferFunction
  1000        - Name: scalabilityMode
  1001          Type:
  1002            Name: DOMString
  1003        - Name: spatialScalability
  1004          Type:
  1005            Name: boolean
  1006  - File: webref/webcodecs.idl
  1007    Interface:
  1008      Name: VideoDecoder
  1009      Inherits: EventTarget
  1010      ExtAttrs:
  1011        - Name: Exposed
  1012          Values:
  1013            - Window
  1014            - DedicatedWorker
  1015        - Name: SecureContext
  1016      Attrs:
  1017        - Name: state
  1018          Readonly: true
  1019          Type:
  1020            Name: CodecState
  1021          ExtAttrs:
  1022            - Name: Exposed
  1023              Values:
  1024                - Window
  1025                - DedicatedWorker
  1026            - Name: SecureContext
  1027        - Name: decodeQueueSize
  1028          Readonly: true
  1029          Type:
  1030            Name: unsigned long
  1031          ExtAttrs:
  1032            - Name: Exposed
  1033              Values:
  1034                - Window
  1035                - DedicatedWorker
  1036            - Name: SecureContext
  1037        - Name: ondequeue
  1038          Type:
  1039            Name: EventHandler
  1040          ExtAttrs:
  1041            - Name: Exposed
  1042              Values:
  1043                - Window
  1044                - DedicatedWorker
  1045            - Name: SecureContext
  1046      Operations:
  1047        - Name: configure
  1048          Args:
  1049            - Name: config
  1050              Type:
  1051                Name: VideoDecoderConfig
  1052          Returns:
  1053            - Name: undefined
  1054          ExtAttrs:
  1055            - Name: Exposed
  1056              Values:
  1057                - Window
  1058                - DedicatedWorker
  1059            - Name: SecureContext
  1060        - Name: decode
  1061          Args:
  1062            - Name: chunk
  1063              Type:
  1064                Name: EncodedVideoChunk
  1065          Returns:
  1066            - Name: undefined
  1067          ExtAttrs:
  1068            - Name: Exposed
  1069              Values:
  1070                - Window
  1071                - DedicatedWorker
  1072            - Name: SecureContext
  1073        - Name: flush
  1074          Returns:
  1075            - Name: Promise
  1076              Params:
  1077                - Name: undefined
  1078          ExtAttrs:
  1079            - Name: Exposed
  1080              Values:
  1081                - Window
  1082                - DedicatedWorker
  1083            - Name: SecureContext
  1084        - Name: reset
  1085          Returns:
  1086            - Name: undefined
  1087          ExtAttrs:
  1088            - Name: Exposed
  1089              Values:
  1090                - Window
  1091                - DedicatedWorker
  1092            - Name: SecureContext
  1093        - Name: close
  1094          Returns:
  1095            - Name: undefined
  1096          ExtAttrs:
  1097            - Name: Exposed
  1098              Values:
  1099                - Window
  1100                - DedicatedWorker
  1101            - Name: SecureContext
  1102        - Name: isConfigSupported
  1103          Modifier: static
  1104          Args:
  1105            - Name: config
  1106              Type:
  1107                Name: VideoDecoderConfig
  1108          Returns:
  1109            - Name: Promise
  1110              Params:
  1111                - Name: VideoDecoderSupport
  1112          ExtAttrs:
  1113            - Name: Exposed
  1114              Values:
  1115                - Window
  1116                - DedicatedWorker
  1117            - Name: SecureContext
  1118      Constructors:
  1119        - Args:
  1120            - Name: init
  1121              Type:
  1122                Name: VideoDecoderInit
  1123          ExtAttrs:
  1124            - Name: Exposed
  1125              Values:
  1126                - Window
  1127                - DedicatedWorker
  1128            - Name: SecureContext
  1129  - File: webref/webcodecs.idl
  1130    Dict:
  1131      Name: VideoDecoderConfig
  1132      Fields:
  1133        - Name: codec
  1134          Required: true
  1135          Type:
  1136            Name: DOMString
  1137        - Name: description
  1138          Type:
  1139            Name: AllowSharedBufferSource
  1140        - Name: codedWidth
  1141          Type:
  1142            Name: unsigned long
  1143          ExtAttrs:
  1144            - Name: EnforceRange
  1145        - Name: codedHeight
  1146          Type:
  1147            Name: unsigned long
  1148          ExtAttrs:
  1149            - Name: EnforceRange
  1150        - Name: displayAspectWidth
  1151          Type:
  1152            Name: unsigned long
  1153          ExtAttrs:
  1154            - Name: EnforceRange
  1155        - Name: displayAspectHeight
  1156          Type:
  1157            Name: unsigned long
  1158          ExtAttrs:
  1159            - Name: EnforceRange
  1160        - Name: colorSpace
  1161          Type:
  1162            Name: VideoColorSpaceInit
  1163        - Name: hardwareAcceleration
  1164          Default: '"no-preference"'
  1165          Type:
  1166            Name: HardwareAcceleration
  1167        - Name: optimizeForLatency
  1168          Type:
  1169            Name: boolean
  1170  - File: webref/webcodecs.idl
  1171    Dict:
  1172      Name: VideoDecoderInit
  1173      Fields:
  1174        - Name: output
  1175          Required: true
  1176          Type:
  1177            Name: VideoFrameOutputCallback
  1178        - Name: error
  1179          Required: true
  1180          Type:
  1181            Name: WebCodecsErrorCallback
  1182  - File: webref/webcodecs.idl
  1183    Dict:
  1184      Name: VideoDecoderSupport
  1185      Fields:
  1186        - Name: supported
  1187          Type:
  1188            Name: boolean
  1189        - Name: config
  1190          Type:
  1191            Name: VideoDecoderConfig
  1192  - File: webref/webcodecs.idl
  1193    Interface:
  1194      Name: VideoEncoder
  1195      Inherits: EventTarget
  1196      ExtAttrs:
  1197        - Name: Exposed
  1198          Values:
  1199            - Window
  1200            - DedicatedWorker
  1201        - Name: SecureContext
  1202      Attrs:
  1203        - Name: state
  1204          Readonly: true
  1205          Type:
  1206            Name: CodecState
  1207          ExtAttrs:
  1208            - Name: Exposed
  1209              Values:
  1210                - Window
  1211                - DedicatedWorker
  1212            - Name: SecureContext
  1213        - Name: encodeQueueSize
  1214          Readonly: true
  1215          Type:
  1216            Name: unsigned long
  1217          ExtAttrs:
  1218            - Name: Exposed
  1219              Values:
  1220                - Window
  1221                - DedicatedWorker
  1222            - Name: SecureContext
  1223        - Name: ondequeue
  1224          Type:
  1225            Name: EventHandler
  1226          ExtAttrs:
  1227            - Name: Exposed
  1228              Values:
  1229                - Window
  1230                - DedicatedWorker
  1231            - Name: SecureContext
  1232      Operations:
  1233        - Name: configure
  1234          Args:
  1235            - Name: config
  1236              Type:
  1237                Name: VideoEncoderConfig
  1238          Returns:
  1239            - Name: undefined
  1240          ExtAttrs:
  1241            - Name: Exposed
  1242              Values:
  1243                - Window
  1244                - DedicatedWorker
  1245            - Name: SecureContext
  1246        - Name: encode
  1247          Args:
  1248            - Name: frame
  1249              Type:
  1250                Name: VideoFrame
  1251            - Name: options
  1252              Optional: true
  1253              Default: '{}'
  1254              Type:
  1255                Name: VideoEncoderEncodeOptions
  1256          Returns:
  1257            - Name: undefined
  1258          ExtAttrs:
  1259            - Name: Exposed
  1260              Values:
  1261                - Window
  1262                - DedicatedWorker
  1263            - Name: SecureContext
  1264        - Name: flush
  1265          Returns:
  1266            - Name: Promise
  1267              Params:
  1268                - Name: undefined
  1269          ExtAttrs:
  1270            - Name: Exposed
  1271              Values:
  1272                - Window
  1273                - DedicatedWorker
  1274            - Name: SecureContext
  1275        - Name: reset
  1276          Returns:
  1277            - Name: undefined
  1278          ExtAttrs:
  1279            - Name: Exposed
  1280              Values:
  1281                - Window
  1282                - DedicatedWorker
  1283            - Name: SecureContext
  1284        - Name: close
  1285          Returns:
  1286            - Name: undefined
  1287          ExtAttrs:
  1288            - Name: Exposed
  1289              Values:
  1290                - Window
  1291                - DedicatedWorker
  1292            - Name: SecureContext
  1293        - Name: isConfigSupported
  1294          Modifier: static
  1295          Args:
  1296            - Name: config
  1297              Type:
  1298                Name: VideoEncoderConfig
  1299          Returns:
  1300            - Name: Promise
  1301              Params:
  1302                - Name: VideoEncoderSupport
  1303          ExtAttrs:
  1304            - Name: Exposed
  1305              Values:
  1306                - Window
  1307                - DedicatedWorker
  1308            - Name: SecureContext
  1309      Constructors:
  1310        - Args:
  1311            - Name: init
  1312              Type:
  1313                Name: VideoEncoderInit
  1314          ExtAttrs:
  1315            - Name: Exposed
  1316              Values:
  1317                - Window
  1318                - DedicatedWorker
  1319            - Name: SecureContext
  1320  - File: webref/webcodecs.idl
  1321    Enum:
  1322      Name: VideoEncoderBitrateMode
  1323      Values:
  1324        - constant
  1325        - variable
  1326        - quantizer
  1327  - File: webref/webcodecs.idl
  1328    Dict:
  1329      Name: VideoEncoderConfig
  1330      Fields:
  1331        - Name: codec
  1332          Required: true
  1333          Type:
  1334            Name: DOMString
  1335        - Name: width
  1336          Required: true
  1337          Type:
  1338            Name: unsigned long
  1339          ExtAttrs:
  1340            - Name: EnforceRange
  1341        - Name: height
  1342          Required: true
  1343          Type:
  1344            Name: unsigned long
  1345          ExtAttrs:
  1346            - Name: EnforceRange
  1347        - Name: displayWidth
  1348          Type:
  1349            Name: unsigned long
  1350          ExtAttrs:
  1351            - Name: EnforceRange
  1352        - Name: displayHeight
  1353          Type:
  1354            Name: unsigned long
  1355          ExtAttrs:
  1356            - Name: EnforceRange
  1357        - Name: bitrate
  1358          Type:
  1359            Name: unsigned long long
  1360          ExtAttrs:
  1361            - Name: EnforceRange
  1362        - Name: framerate
  1363          Type:
  1364            Name: double
  1365        - Name: hardwareAcceleration
  1366          Default: '"no-preference"'
  1367          Type:
  1368            Name: HardwareAcceleration
  1369        - Name: alpha
  1370          Default: '"discard"'
  1371          Type:
  1372            Name: AlphaOption
  1373        - Name: scalabilityMode
  1374          Type:
  1375            Name: DOMString
  1376        - Name: bitrateMode
  1377          Default: '"variable"'
  1378          Type:
  1379            Name: VideoEncoderBitrateMode
  1380        - Name: latencyMode
  1381          Default: '"quality"'
  1382          Type:
  1383            Name: LatencyMode
  1384        - Name: hevc
  1385          Type:
  1386            Name: HevcEncoderConfig
  1387        - Name: avc
  1388          Type:
  1389            Name: AvcEncoderConfig
  1390        - Name: av1
  1391          Type:
  1392            Name: AV1EncoderConfig
  1393  - File: webref/webcodecs.idl
  1394    Dict:
  1395      Name: VideoEncoderEncodeOptions
  1396      Fields:
  1397        - Name: keyFrame
  1398          Default: "false"
  1399          Type:
  1400            Name: boolean
  1401        - Name: hevc
  1402          Type:
  1403            Name: VideoEncoderEncodeOptionsForHevc
  1404        - Name: vp9
  1405          Type:
  1406            Name: VideoEncoderEncodeOptionsForVp9
  1407        - Name: av1
  1408          Type:
  1409            Name: VideoEncoderEncodeOptionsForAv1
  1410        - Name: avc
  1411          Type:
  1412            Name: VideoEncoderEncodeOptionsForAvc
  1413  - File: webref/webcodecs-av1-codec-registration.idl
  1414    Dict:
  1415      Name: VideoEncoderEncodeOptionsForAv1
  1416      Fields:
  1417        - Name: quantizer
  1418          Type:
  1419            Name: unsigned short
  1420            Nullable: true
  1421  - File: webref/webcodecs-avc-codec-registration.idl
  1422    Dict:
  1423      Name: VideoEncoderEncodeOptionsForAvc
  1424      Fields:
  1425        - Name: quantizer
  1426          Type:
  1427            Name: unsigned short
  1428            Nullable: true