github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis22.js.wasm.yaml (about) 1 - File: webref/css-layout-api.idl 2 Dict: 3 Name: LayoutConstraintsOptions 4 Fields: 5 - Name: availableInlineSize 6 Type: 7 Name: double 8 - Name: availableBlockSize 9 Type: 10 Name: double 11 - Name: fixedInlineSize 12 Type: 13 Name: double 14 - Name: fixedBlockSize 15 Type: 16 Name: double 17 - Name: percentageInlineSize 18 Type: 19 Name: double 20 - Name: percentageBlockSize 21 Type: 22 Name: double 23 - Name: blockFragmentationOffset 24 Type: 25 Name: double 26 - Name: blockFragmentationType 27 Default: '"none"' 28 Type: 29 Name: BlockFragmentationType 30 - Name: data 31 Type: 32 Name: any 33 - File: webref/css-layout-api.idl 34 Interface: 35 Name: LayoutEdges 36 ExtAttrs: 37 - Name: Exposed 38 Values: 39 - LayoutWorklet 40 Attrs: 41 - Name: inlineStart 42 Readonly: true 43 Type: 44 Name: double 45 ExtAttrs: 46 - Name: Exposed 47 Values: 48 - LayoutWorklet 49 - Name: inlineEnd 50 Readonly: true 51 Type: 52 Name: double 53 ExtAttrs: 54 - Name: Exposed 55 Values: 56 - LayoutWorklet 57 - Name: blockStart 58 Readonly: true 59 Type: 60 Name: double 61 ExtAttrs: 62 - Name: Exposed 63 Values: 64 - LayoutWorklet 65 - Name: blockEnd 66 Readonly: true 67 Type: 68 Name: double 69 ExtAttrs: 70 - Name: Exposed 71 Values: 72 - LayoutWorklet 73 - Name: inline 74 Readonly: true 75 Type: 76 Name: double 77 ExtAttrs: 78 - Name: Exposed 79 Values: 80 - LayoutWorklet 81 - Name: block 82 Readonly: true 83 Type: 84 Name: double 85 ExtAttrs: 86 - Name: Exposed 87 Values: 88 - LayoutWorklet 89 - File: webref/css-layout-api.idl 90 Interface: 91 Name: LayoutFragment 92 ExtAttrs: 93 - Name: Exposed 94 Values: 95 - LayoutWorklet 96 Attrs: 97 - Name: inlineSize 98 Readonly: true 99 Type: 100 Name: double 101 ExtAttrs: 102 - Name: Exposed 103 Values: 104 - LayoutWorklet 105 - Name: blockSize 106 Readonly: true 107 Type: 108 Name: double 109 ExtAttrs: 110 - Name: Exposed 111 Values: 112 - LayoutWorklet 113 - Name: inlineOffset 114 Type: 115 Name: double 116 ExtAttrs: 117 - Name: Exposed 118 Values: 119 - LayoutWorklet 120 - Name: blockOffset 121 Type: 122 Name: double 123 ExtAttrs: 124 - Name: Exposed 125 Values: 126 - LayoutWorklet 127 - Name: data 128 Readonly: true 129 Type: 130 Name: any 131 ExtAttrs: 132 - Name: Exposed 133 Values: 134 - LayoutWorklet 135 - Name: breakToken 136 Readonly: true 137 Type: 138 Name: ChildBreakToken 139 Nullable: true 140 ExtAttrs: 141 - Name: Exposed 142 Values: 143 - LayoutWorklet 144 - File: webref/css-layout-api.idl 145 Dict: 146 Name: LayoutOptions 147 Fields: 148 - Name: childDisplay 149 Default: '"block"' 150 Type: 151 Name: ChildDisplayType 152 - Name: sizing 153 Default: '"block-like"' 154 Type: 155 Name: LayoutSizingMode 156 - File: webref/layout-instability.idl 157 Interface: 158 Name: LayoutShift 159 Inherits: PerformanceEntry 160 ExtAttrs: 161 - Name: Exposed 162 Values: 163 - Window 164 Attrs: 165 - Name: value 166 Readonly: true 167 Type: 168 Name: double 169 ExtAttrs: 170 - Name: Exposed 171 Values: 172 - Window 173 - Name: hadRecentInput 174 Readonly: true 175 Type: 176 Name: boolean 177 ExtAttrs: 178 - Name: Exposed 179 Values: 180 - Window 181 - Name: lastInputTime 182 Readonly: true 183 Type: 184 Name: DOMHighResTimeStamp 185 ExtAttrs: 186 - Name: Exposed 187 Values: 188 - Window 189 - Name: sources 190 Readonly: true 191 Type: 192 Name: FrozenArray 193 Params: 194 - Name: LayoutShiftAttribution 195 ExtAttrs: 196 - Name: Exposed 197 Values: 198 - Window 199 Operations: 200 - Name: toJSON 201 Returns: 202 - Name: object 203 ExtAttrs: 204 - Name: Default 205 - Name: Exposed 206 Values: 207 - Window 208 - File: webref/layout-instability.idl 209 Interface: 210 Name: LayoutShiftAttribution 211 ExtAttrs: 212 - Name: Exposed 213 Values: 214 - Window 215 Attrs: 216 - Name: node 217 Readonly: true 218 Type: 219 Name: Node 220 Nullable: true 221 ExtAttrs: 222 - Name: Exposed 223 Values: 224 - Window 225 - Name: previousRect 226 Readonly: true 227 Type: 228 Name: DOMRectReadOnly 229 ExtAttrs: 230 - Name: Exposed 231 Values: 232 - Window 233 - Name: currentRect 234 Readonly: true 235 Type: 236 Name: DOMRectReadOnly 237 ExtAttrs: 238 - Name: Exposed 239 Values: 240 - Window 241 - File: webref/css-layout-api.idl 242 Enum: 243 Name: LayoutSizingMode 244 Values: 245 - block-like 246 - manual 247 - File: webref/css-layout-api.idl 248 Interface: 249 Name: LayoutWorkletGlobalScope 250 Inherits: WorkletGlobalScope 251 ExtAttrs: 252 - Name: Global 253 Values: 254 - Worklet 255 - LayoutWorklet 256 - Name: Exposed 257 Values: 258 - LayoutWorklet 259 Operations: 260 - Name: registerLayout 261 Args: 262 - Name: name 263 Type: 264 Name: DOMString 265 - Name: layoutCtor 266 Type: 267 Name: VoidFunction 268 Returns: 269 - Name: undefined 270 ExtAttrs: 271 - Name: Global 272 Values: 273 - Worklet 274 - LayoutWorklet 275 - Name: Exposed 276 Values: 277 - LayoutWorklet 278 - File: webref/webvtt.idl 279 Enum: 280 Name: LineAlignSetting 281 Values: 282 - start 283 - center 284 - end 285 - File: webref/webvtt.idl 286 Typedef: 287 Name: LineAndPositionSetting 288 Type: 289 Union: 290 - Name: double 291 - Name: AutoKeyword 292 - File: webref/accelerometer.idl 293 Dict: 294 Name: LinearAccelerationReadingValues 295 Inherits: AccelerometerReadingValues 296 Fields: 297 - Name: x 298 Required: true 299 Type: 300 Name: double 301 Nullable: true 302 - Name: "y" 303 Required: true 304 Type: 305 Name: double 306 Nullable: true 307 - Name: z 308 Required: true 309 Type: 310 Name: double 311 Nullable: true 312 - File: webref/accelerometer.idl 313 Interface: 314 Name: LinearAccelerationSensor 315 Inherits: Accelerometer 316 ExtAttrs: 317 - Name: SecureContext 318 - Name: Exposed 319 Values: 320 - Window 321 Constructors: 322 - Args: 323 - Name: options 324 Optional: true 325 Default: '{}' 326 Type: 327 Name: AccelerometerSensorOptions 328 ExtAttrs: 329 - Name: SecureContext 330 - Name: Exposed 331 Values: 332 - Window 333 - File: webref/json-ld-api.idl 334 Callback: 335 Name: LoadDocumentCallback 336 Args: 337 - Name: url 338 Type: 339 Name: USVString 340 - Name: options 341 Optional: true 342 Type: 343 Name: LoadDocumentOptions 344 Nullable: true 345 Returns: 346 - Name: Promise 347 Params: 348 - Name: RemoteDocument 349 - File: webref/json-ld-api.idl 350 Dict: 351 Name: LoadDocumentOptions 352 Fields: 353 - Name: extractAllScripts 354 Default: "false" 355 Type: 356 Name: boolean 357 - Name: profile 358 Default: "null" 359 Type: 360 Name: USVString 361 - Name: requestProfile 362 Default: "null" 363 Type: 364 Union: 365 - Name: USVString 366 - Name: sequence 367 Params: 368 - Name: USVString 369 - File: webref/html.idl 370 Interface: 371 Name: Location 372 ExtAttrs: 373 - Name: Exposed 374 Values: 375 - Window 376 Attrs: 377 - Name: href 378 Modifier: stringifier 379 Type: 380 Name: USVString 381 ExtAttrs: 382 - Name: LegacyUnforgeable 383 - Name: Exposed 384 Values: 385 - Window 386 - Name: origin 387 Readonly: true 388 Type: 389 Name: USVString 390 ExtAttrs: 391 - Name: LegacyUnforgeable 392 - Name: Exposed 393 Values: 394 - Window 395 - Name: protocol 396 Type: 397 Name: USVString 398 ExtAttrs: 399 - Name: LegacyUnforgeable 400 - Name: Exposed 401 Values: 402 - Window 403 - Name: host 404 Type: 405 Name: USVString 406 ExtAttrs: 407 - Name: LegacyUnforgeable 408 - Name: Exposed 409 Values: 410 - Window 411 - Name: hostname 412 Type: 413 Name: USVString 414 ExtAttrs: 415 - Name: LegacyUnforgeable 416 - Name: Exposed 417 Values: 418 - Window 419 - Name: port 420 Type: 421 Name: USVString 422 ExtAttrs: 423 - Name: LegacyUnforgeable 424 - Name: Exposed 425 Values: 426 - Window 427 - Name: pathname 428 Type: 429 Name: USVString 430 ExtAttrs: 431 - Name: LegacyUnforgeable 432 - Name: Exposed 433 Values: 434 - Window 435 - Name: search 436 Type: 437 Name: USVString 438 ExtAttrs: 439 - Name: LegacyUnforgeable 440 - Name: Exposed 441 Values: 442 - Window 443 - Name: hash 444 Type: 445 Name: USVString 446 ExtAttrs: 447 - Name: LegacyUnforgeable 448 - Name: Exposed 449 Values: 450 - Window 451 - Name: ancestorOrigins 452 Readonly: true 453 Type: 454 Name: DOMStringList 455 ExtAttrs: 456 - Name: LegacyUnforgeable 457 - Name: SameObject 458 - Name: Exposed 459 Values: 460 - Window 461 Operations: 462 - Name: assign 463 Args: 464 - Name: url 465 Type: 466 Name: USVString 467 Returns: 468 - Name: undefined 469 ExtAttrs: 470 - Name: LegacyUnforgeable 471 - Name: Exposed 472 Values: 473 - Window 474 - Name: replace 475 Args: 476 - Name: url 477 Type: 478 Name: USVString 479 Returns: 480 - Name: undefined 481 ExtAttrs: 482 - Name: LegacyUnforgeable 483 - Name: Exposed 484 Values: 485 - Window 486 - Name: reload 487 Returns: 488 - Name: undefined 489 ExtAttrs: 490 - Name: LegacyUnforgeable 491 - Name: Exposed 492 Values: 493 - Window 494 - File: webref/web-locks.idl 495 Interface: 496 Name: Lock 497 ExtAttrs: 498 - Name: SecureContext 499 - Name: Exposed 500 Values: 501 - Window 502 - Worker 503 Attrs: 504 - Name: name 505 Readonly: true 506 Type: 507 Name: DOMString 508 ExtAttrs: 509 - Name: SecureContext 510 - Name: Exposed 511 Values: 512 - Window 513 - Worker 514 - Name: mode 515 Readonly: true 516 Type: 517 Name: LockMode 518 ExtAttrs: 519 - Name: SecureContext 520 - Name: Exposed 521 Values: 522 - Window 523 - Worker 524 - File: webref/web-locks.idl 525 Callback: 526 Name: LockGrantedCallback 527 Args: 528 - Name: lock 529 Type: 530 Name: Lock 531 Nullable: true 532 Returns: 533 - Name: Promise 534 Params: 535 - Name: any 536 - File: webref/web-locks.idl 537 Dict: 538 Name: LockInfo 539 Fields: 540 - Name: name 541 Type: 542 Name: DOMString 543 - Name: mode 544 Type: 545 Name: LockMode 546 - Name: clientId 547 Type: 548 Name: DOMString 549 - File: webref/web-locks.idl 550 Interface: 551 Name: LockManager 552 ExtAttrs: 553 - Name: SecureContext 554 - Name: Exposed 555 Values: 556 - Window 557 - Worker 558 Operations: 559 - Name: request 560 Args: 561 - Name: name 562 Type: 563 Name: DOMString 564 - Name: callback 565 Type: 566 Name: LockGrantedCallback 567 Returns: 568 - Name: Promise 569 Params: 570 - Name: any 571 ExtAttrs: 572 - Name: SecureContext 573 - Name: Exposed 574 Values: 575 - Window 576 - Worker 577 - Name: request 578 Args: 579 - Name: name 580 Type: 581 Name: DOMString 582 - Name: options 583 Type: 584 Name: LockOptions 585 - Name: callback 586 Type: 587 Name: LockGrantedCallback 588 Returns: 589 - Name: Promise 590 Params: 591 - Name: any 592 ExtAttrs: 593 - Name: SecureContext 594 - Name: Exposed 595 Values: 596 - Window 597 - Worker 598 - Name: query 599 Returns: 600 - Name: Promise 601 Params: 602 - Name: LockManagerSnapshot 603 ExtAttrs: 604 - Name: SecureContext 605 - Name: Exposed 606 Values: 607 - Window 608 - Worker 609 - File: webref/web-locks.idl 610 Dict: 611 Name: LockManagerSnapshot 612 Fields: 613 - Name: held 614 Type: 615 Name: sequence 616 Params: 617 - Name: LockInfo 618 - Name: pending 619 Type: 620 Name: sequence 621 Params: 622 - Name: LockInfo 623 - File: webref/web-locks.idl 624 Enum: 625 Name: LockMode 626 Values: 627 - shared 628 - exclusive 629 - File: webref/web-locks.idl 630 Dict: 631 Name: LockOptions 632 Fields: 633 - Name: mode 634 Default: '"exclusive"' 635 Type: 636 Name: LockMode 637 - Name: ifAvailable 638 Default: "false" 639 Type: 640 Name: boolean 641 - Name: steal 642 Default: "false" 643 Type: 644 Name: boolean 645 - Name: signal 646 Type: 647 Name: AbortSignal 648 - File: webref/webmidi.idl 649 Interface: 650 Name: MIDIAccess 651 Inherits: EventTarget 652 ExtAttrs: 653 - Name: SecureContext 654 - Name: Exposed 655 Values: 656 - Window 657 Attrs: 658 - Name: inputs 659 Readonly: true 660 Type: 661 Name: MIDIInputMap 662 ExtAttrs: 663 - Name: SecureContext 664 - Name: Exposed 665 Values: 666 - Window 667 - Name: outputs 668 Readonly: true 669 Type: 670 Name: MIDIOutputMap 671 ExtAttrs: 672 - Name: SecureContext 673 - Name: Exposed 674 Values: 675 - Window 676 - Name: onstatechange 677 Type: 678 Name: EventHandler 679 ExtAttrs: 680 - Name: SecureContext 681 - Name: Exposed 682 Values: 683 - Window 684 - Name: sysexEnabled 685 Readonly: true 686 Type: 687 Name: boolean 688 ExtAttrs: 689 - Name: SecureContext 690 - Name: Exposed 691 Values: 692 - Window 693 - File: webref/webmidi.idl 694 Interface: 695 Name: MIDIConnectionEvent 696 Inherits: Event 697 ExtAttrs: 698 - Name: SecureContext 699 - Name: Exposed 700 Values: 701 - Window 702 Attrs: 703 - Name: port 704 Readonly: true 705 Type: 706 Name: MIDIPort 707 ExtAttrs: 708 - Name: SecureContext 709 - Name: Exposed 710 Values: 711 - Window 712 Constructors: 713 - Args: 714 - Name: type 715 Type: 716 Name: DOMString 717 - Name: eventInitDict 718 Optional: true 719 Default: '{}' 720 Type: 721 Name: MIDIConnectionEventInit 722 ExtAttrs: 723 - Name: SecureContext 724 - Name: Exposed 725 Values: 726 - Window 727 - File: webref/webmidi.idl 728 Dict: 729 Name: MIDIConnectionEventInit 730 Inherits: EventInit 731 Fields: 732 - Name: port 733 Type: 734 Name: MIDIPort 735 - Name: bubbles 736 Default: "false" 737 Type: 738 Name: boolean 739 - Name: cancelable 740 Default: "false" 741 Type: 742 Name: boolean 743 - Name: composed 744 Default: "false" 745 Type: 746 Name: boolean 747 - File: webref/webmidi.idl 748 Interface: 749 Name: MIDIInput 750 Inherits: MIDIPort 751 ExtAttrs: 752 - Name: SecureContext 753 - Name: Exposed 754 Values: 755 - Window 756 Attrs: 757 - Name: onmidimessage 758 Type: 759 Name: EventHandler 760 ExtAttrs: 761 - Name: SecureContext 762 - Name: Exposed 763 Values: 764 - Window 765 - File: webref/webmidi.idl 766 Interface: 767 Name: MIDIInputMap 768 ExtAttrs: 769 - Name: SecureContext 770 - Name: Exposed 771 Values: 772 - Window 773 Maplike: 774 TypeParams: 775 - Name: DOMString 776 - Name: MIDIInput 777 Readonly: true 778 - File: webref/webmidi.idl 779 Interface: 780 Name: MIDIMessageEvent 781 Inherits: Event 782 ExtAttrs: 783 - Name: SecureContext 784 - Name: Exposed 785 Values: 786 - Window 787 Attrs: 788 - Name: data 789 Readonly: true 790 Type: 791 Name: Uint8Array 792 ExtAttrs: 793 - Name: SecureContext 794 - Name: Exposed 795 Values: 796 - Window 797 Constructors: 798 - Args: 799 - Name: type 800 Type: 801 Name: DOMString 802 - Name: eventInitDict 803 Optional: true 804 Default: '{}' 805 Type: 806 Name: MIDIMessageEventInit 807 ExtAttrs: 808 - Name: SecureContext 809 - Name: Exposed 810 Values: 811 - Window 812 - File: webref/webmidi.idl 813 Dict: 814 Name: MIDIMessageEventInit 815 Inherits: EventInit 816 Fields: 817 - Name: data 818 Type: 819 Name: Uint8Array 820 - Name: bubbles 821 Default: "false" 822 Type: 823 Name: boolean 824 - Name: cancelable 825 Default: "false" 826 Type: 827 Name: boolean 828 - Name: composed 829 Default: "false" 830 Type: 831 Name: boolean 832 - File: webref/webmidi.idl 833 Dict: 834 Name: MIDIOptions 835 Fields: 836 - Name: sysex 837 Type: 838 Name: boolean 839 - Name: software 840 Type: 841 Name: boolean 842 - File: webref/webmidi.idl 843 Interface: 844 Name: MIDIOutput 845 Inherits: MIDIPort 846 ExtAttrs: 847 - Name: SecureContext 848 - Name: Exposed 849 Values: 850 - Window 851 Operations: 852 - Name: send 853 Args: 854 - Name: data 855 Type: 856 Name: sequence 857 Params: 858 - Name: octet 859 - Name: timestamp 860 Optional: true 861 Default: "0" 862 Type: 863 Name: DOMHighResTimeStamp 864 Returns: 865 - Name: undefined 866 ExtAttrs: 867 - Name: SecureContext 868 - Name: Exposed 869 Values: 870 - Window 871 - Name: clear 872 Returns: 873 - Name: undefined 874 ExtAttrs: 875 - Name: SecureContext 876 - Name: Exposed 877 Values: 878 - Window 879 - File: webref/webmidi.idl 880 Interface: 881 Name: MIDIOutputMap 882 ExtAttrs: 883 - Name: SecureContext 884 - Name: Exposed 885 Values: 886 - Window 887 Maplike: 888 TypeParams: 889 - Name: DOMString 890 - Name: MIDIOutput 891 Readonly: true 892 - File: webref/webmidi.idl 893 Interface: 894 Name: MIDIPort 895 Inherits: EventTarget 896 ExtAttrs: 897 - Name: SecureContext 898 - Name: Exposed 899 Values: 900 - Window 901 Attrs: 902 - Name: id 903 Readonly: true 904 Type: 905 Name: DOMString 906 ExtAttrs: 907 - Name: SecureContext 908 - Name: Exposed 909 Values: 910 - Window 911 - Name: manufacturer 912 Readonly: true 913 Type: 914 Name: DOMString 915 Nullable: true 916 ExtAttrs: 917 - Name: SecureContext 918 - Name: Exposed 919 Values: 920 - Window 921 - Name: name 922 Readonly: true 923 Type: 924 Name: DOMString 925 Nullable: true 926 ExtAttrs: 927 - Name: SecureContext 928 - Name: Exposed 929 Values: 930 - Window 931 - Name: type 932 Readonly: true 933 Type: 934 Name: MIDIPortType 935 ExtAttrs: 936 - Name: SecureContext 937 - Name: Exposed 938 Values: 939 - Window 940 - Name: version 941 Readonly: true 942 Type: 943 Name: DOMString 944 Nullable: true 945 ExtAttrs: 946 - Name: SecureContext 947 - Name: Exposed 948 Values: 949 - Window 950 - Name: state 951 Readonly: true 952 Type: 953 Name: MIDIPortDeviceState 954 ExtAttrs: 955 - Name: SecureContext 956 - Name: Exposed 957 Values: 958 - Window 959 - Name: connection 960 Readonly: true 961 Type: 962 Name: MIDIPortConnectionState 963 ExtAttrs: 964 - Name: SecureContext 965 - Name: Exposed 966 Values: 967 - Window 968 - Name: onstatechange 969 Type: 970 Name: EventHandler 971 ExtAttrs: 972 - Name: SecureContext 973 - Name: Exposed 974 Values: 975 - Window 976 Operations: 977 - Name: open 978 Returns: 979 - Name: Promise 980 Params: 981 - Name: MIDIPort 982 ExtAttrs: 983 - Name: SecureContext 984 - Name: Exposed 985 Values: 986 - Window 987 - Name: close 988 Returns: 989 - Name: Promise 990 Params: 991 - Name: MIDIPort 992 ExtAttrs: 993 - Name: SecureContext 994 - Name: Exposed 995 Values: 996 - Window 997 - File: webref/webmidi.idl 998 Enum: 999 Name: MIDIPortConnectionState 1000 Values: 1001 - open 1002 - closed 1003 - pending 1004 - File: webref/webmidi.idl 1005 Enum: 1006 Name: MIDIPortDeviceState 1007 Values: 1008 - disconnected 1009 - connected 1010 - File: webref/webmidi.idl 1011 Enum: 1012 Name: MIDIPortType 1013 Values: 1014 - input 1015 - output 1016 - File: webref/webnn.idl 1017 Interface: 1018 Name: ML 1019 ExtAttrs: 1020 - Name: SecureContext 1021 - Name: Exposed 1022 Values: 1023 - Window 1024 - DedicatedWorker 1025 Operations: 1026 - Name: createContext 1027 Args: 1028 - Name: options 1029 Optional: true 1030 Default: '{}' 1031 Type: 1032 Name: MLContextOptions 1033 Returns: 1034 - Name: Promise 1035 Params: 1036 - Name: MLContext 1037 ExtAttrs: 1038 - Name: SecureContext 1039 - Name: Exposed 1040 Values: 1041 - Window 1042 - DedicatedWorker 1043 - Name: createContext 1044 Args: 1045 - Name: gpuDevice 1046 Type: 1047 Name: GPUDevice 1048 Returns: 1049 - Name: Promise 1050 Params: 1051 - Name: MLContext 1052 ExtAttrs: 1053 - Name: SecureContext 1054 - Name: Exposed 1055 Values: 1056 - Window 1057 - DedicatedWorker 1058 - Name: createContextSync 1059 Args: 1060 - Name: options 1061 Optional: true 1062 Default: '{}' 1063 Type: 1064 Name: MLContextOptions 1065 Returns: 1066 - Name: MLContext 1067 ExtAttrs: 1068 - Name: Exposed 1069 Values: 1070 - DedicatedWorker 1071 - Name: SecureContext 1072 - Name: createContextSync 1073 Args: 1074 - Name: gpuDevice 1075 Type: 1076 Name: GPUDevice 1077 Returns: 1078 - Name: MLContext 1079 ExtAttrs: 1080 - Name: Exposed 1081 Values: 1082 - DedicatedWorker 1083 - Name: SecureContext 1084 - File: webref/webnn.idl 1085 Interface: 1086 Name: MLActivation 1087 ExtAttrs: 1088 - Name: SecureContext 1089 - Name: Exposed 1090 Values: 1091 - Window 1092 - DedicatedWorker 1093 - File: webref/webnn.idl 1094 Enum: 1095 Name: MLAutoPad 1096 Values: 1097 - explicit 1098 - same-upper 1099 - same-lower 1100 - File: webref/webnn.idl 1101 Dict: 1102 Name: MLBatchNormalizationOptions 1103 Fields: 1104 - Name: scale 1105 Type: 1106 Name: MLOperand 1107 - Name: bias 1108 Type: 1109 Name: MLOperand 1110 - Name: axis 1111 Default: "1" 1112 Type: 1113 Name: unsigned long 1114 - Name: epsilon 1115 Default: "1e-5" 1116 Type: 1117 Name: float 1118 - Name: activation 1119 Type: 1120 Name: MLActivation 1121 - File: webref/webnn.idl 1122 Dict: 1123 Name: MLBufferResourceView 1124 Fields: 1125 - Name: resource 1126 Required: true 1127 Type: 1128 Name: GPUBuffer 1129 - Name: offset 1130 Default: "0" 1131 Type: 1132 Name: unsigned long long 1133 - Name: size 1134 Type: 1135 Name: unsigned long long 1136 - File: webref/webnn.idl 1137 Typedef: 1138 Name: MLBufferView 1139 Type: 1140 Union: 1141 - Name: ArrayBufferView 1142 - Name: MLBufferResourceView 1143 - File: webref/webnn.idl 1144 Dict: 1145 Name: MLClampOptions 1146 Fields: 1147 - Name: minValue 1148 Type: 1149 Name: float 1150 - Name: maxValue 1151 Type: 1152 Name: float 1153 - File: webref/webnn.idl 1154 Interface: 1155 Name: MLCommandEncoder 1156 ExtAttrs: 1157 - Name: SecureContext 1158 - Name: Exposed 1159 Values: 1160 - Window 1161 - DedicatedWorker 1162 Operations: 1163 - Name: dispatch 1164 Args: 1165 - Name: graph 1166 Type: 1167 Name: MLGraph 1168 - Name: inputs 1169 Type: 1170 Name: MLNamedGPUResources 1171 - Name: outputs 1172 Type: 1173 Name: MLNamedGPUResources 1174 Returns: 1175 - Name: undefined 1176 - Name: finish 1177 Args: 1178 - Name: descriptor 1179 Optional: true 1180 Default: '{}' 1181 Type: 1182 Name: GPUCommandBufferDescriptor 1183 Returns: 1184 - Name: GPUCommandBuffer 1185 - Name: initializeGraph 1186 Args: 1187 - Name: graph 1188 Type: 1189 Name: MLGraph 1190 Returns: 1191 - Name: undefined 1192 - File: webref/webnn.idl 1193 Dict: 1194 Name: MLComputeResult 1195 Fields: 1196 - Name: inputs 1197 Type: 1198 Name: MLNamedArrayBufferViews 1199 - Name: outputs 1200 Type: 1201 Name: MLNamedArrayBufferViews 1202 - File: webref/webnn.idl 1203 Interface: 1204 Name: MLContext 1205 ExtAttrs: 1206 - Name: SecureContext 1207 - Name: Exposed 1208 Values: 1209 - Window 1210 - DedicatedWorker 1211 Operations: 1212 - Name: compute 1213 Args: 1214 - Name: graph 1215 Type: 1216 Name: MLGraph 1217 - Name: inputs 1218 Type: 1219 Name: MLNamedArrayBufferViews 1220 - Name: outputs 1221 Type: 1222 Name: MLNamedArrayBufferViews 1223 Returns: 1224 - Name: Promise 1225 Params: 1226 - Name: MLComputeResult 1227 - Name: computeSync 1228 Args: 1229 - Name: graph 1230 Type: 1231 Name: MLGraph 1232 - Name: inputs 1233 Type: 1234 Name: MLNamedArrayBufferViews 1235 - Name: outputs 1236 Type: 1237 Name: MLNamedArrayBufferViews 1238 Returns: 1239 - Name: undefined 1240 ExtAttrs: 1241 - Name: Exposed 1242 Values: 1243 - DedicatedWorker 1244 - Name: createCommandEncoder 1245 Returns: 1246 - Name: MLCommandEncoder 1247 - File: webref/webnn.idl 1248 Dict: 1249 Name: MLContextOptions 1250 Fields: 1251 - Name: deviceType 1252 Default: '"cpu"' 1253 Type: 1254 Name: MLDeviceType 1255 - Name: powerPreference 1256 Default: '"default"' 1257 Type: 1258 Name: MLPowerPreference 1259 - File: webref/webnn.idl 1260 Enum: 1261 Name: MLConv2dFilterOperandLayout 1262 Values: 1263 - oihw 1264 - hwio 1265 - ohwi 1266 - ihwo 1267 - File: webref/webnn.idl 1268 Dict: 1269 Name: MLConv2dOptions 1270 Fields: 1271 - Name: padding 1272 Type: 1273 Name: sequence 1274 Params: 1275 - Name: unsigned long 1276 - Name: strides 1277 Type: 1278 Name: sequence 1279 Params: 1280 - Name: unsigned long 1281 - Name: dilations 1282 Type: 1283 Name: sequence 1284 Params: 1285 - Name: unsigned long 1286 - Name: autoPad 1287 Default: '"explicit"' 1288 Type: 1289 Name: MLAutoPad 1290 - Name: groups 1291 Default: "1" 1292 Type: 1293 Name: unsigned long 1294 - Name: inputLayout 1295 Default: '"nchw"' 1296 Type: 1297 Name: MLInputOperandLayout 1298 - Name: filterLayout 1299 Default: '"oihw"' 1300 Type: 1301 Name: MLConv2dFilterOperandLayout 1302 - Name: bias 1303 Type: 1304 Name: MLOperand 1305 - Name: activation 1306 Type: 1307 Name: MLActivation 1308 - File: webref/webnn.idl 1309 Enum: 1310 Name: MLConvTranspose2dFilterOperandLayout 1311 Values: 1312 - iohw 1313 - hwoi 1314 - ohwi