Changeset 181614 in webkit
- Timestamp:
- Mar 16, 2015, 9:41:36 PM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r181613 r181614 1 2015-03-16 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Add more DOM Native Function parameter strings 4 https://bugs.webkit.org/show_bug.cgi?id=142760 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Models/NativeFunctionParameters.js: 9 Add native parameter strings generated and hand modified 10 for DOM built-in classes. 11 12 * UserInterface/Views/ObjectTreePropertyTreeElement.js: 13 For native constructors "FooConstructor" the description is just 14 the name of the Constructor not the function string. 15 1 16 2015-03-16 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js
r180593 r181614 134 134 __proto__: null, 135 135 }, 136 137 // Autogenerated DOM Interface static methods. 138 139 IDBKeyRangeConstructor: { 140 bound: "lower, upper, [lowerOpen], [upperOpen]", 141 lowerBound: "lower, [open]", 142 only: "value", 143 upperBound: "upper, [open]", 144 __proto__: null, 145 }, 146 147 MediaSourceConstructor: { 148 isTypeSupported: "type", 149 __proto__: null, 150 }, 151 152 MediaStreamTrackConstructor: { 153 getSources: "callback", 154 __proto__: null, 155 }, 156 157 NotificationConstructor: { 158 requestPermission: "[callback]", 159 __proto__: null, 160 }, 161 162 URLConstructor: { 163 createObjectURL: "blob", 164 revokeObjectURL: "url", 165 __proto__: null, 166 }, 167 168 WebKitMediaKeysConstructor: { 169 isTypeSupported: "keySystem, [type]", 170 __proto__: null, 171 }, 136 172 }; 137 173 … … 282 318 }, 283 319 284 // DOM objects. 285 // FIXME: Many idls. Generate? 286 287 HTMLElement: { 288 insertAdjacentElement: "position, [element]", 289 insertAdjacentHTML: "position, [html]", 290 insertAdjacentText: "position, [text]", 291 __proto__: null, 292 }, 293 320 // Curated DOM Interfaces. 321 294 322 Element: { 295 323 closest: "selectors", … … 298 326 getAttributeNode: "attributeName", 299 327 getAttributeNodeNS: "namespace, attributeName", 300 getElementsByClassName: "names",301 getElementsByTagName: "tagName",302 getElementsByTagNameNS: "namespace, localName",303 328 hasAttribute: "attributeName", 304 329 hasAttributeNS: "namespace, attributeName", … … 307 332 removeAttributeNS: "namespace, attributeName", 308 333 removeAttributeNode: "attributeName", 334 scrollByLines: "[lines]", 335 scrollByPages: "[pages]", 309 336 scrollIntoView: "[alignWithTop]", 310 337 scrollIntoViewIfNeeded: "[centerIfNeeded]", 311 scrollByLines: "[lines]",312 scrollByPages: "[pages]",313 338 setAttribute: "name, value", 314 339 setAttributeNS: "namespace, name, value", … … 321 346 Node: { 322 347 appendChild: "child", 323 cloneNode: " deep",324 compareDocumentPosition: " node",325 contains: " node",348 cloneNode: "[deep]", 349 compareDocumentPosition: "[node]", 350 contains: "[node]", 326 351 insertBefore: "insertElement, referenceElement", 327 isDefaultNamespace: " namespace",328 isEqualNode: " node",352 isDefaultNamespace: "[namespace]", 353 isEqualNode: "[node]", 329 354 lookupNamespaceURI: "prefix", 330 355 removeChild: "node", … … 334 359 335 360 Window: { 336 alert: " message",361 alert: "[message]", 337 362 atob: "encodedData", 338 363 btoa: "stringToEncode", 364 cancelAnimationFrame: "id", 365 clearInterval: "intervalId", 339 366 clearTimeout: "timeoutId", 340 confirm: " message",367 confirm: "[message]", 341 368 find: "string, [caseSensitive], [backwards], [wrapAround]", 342 getComputedStyle: "element, [pseudoElement]", 369 getComputedStyle: "[element], [pseudoElement]", 370 getMatchedCSSRules: "[element], [pseudoElement]", 343 371 matchMedia: "mediaQueryString", 344 moveBy: " deltaX, deltaY",345 moveTo: " screenX, screenY",372 moveBy: "[deltaX], [deltaY]", 373 moveTo: "[screenX], [screenY]", 346 374 open: "url, windowName, [featuresString]", 375 openDatabase: "name, version, displayName, estimatedSize, [creationCallback]", 347 376 postMessage: "message, targetOrigin, [...transferables]", 348 prompt: "text, [value]", 349 resizeBy: "deltaX, deltaY", 350 resizeTo: "width, height", 351 scrollBy: "deltaX, deltaY", 352 scrollTo: "x, y", 377 prompt: "[message], [value]", 378 requestAnimationFrame: "callback", 379 resizeBy: "[deltaX], [deltaY]", 380 resizeTo: "[width], [height]", 381 scrollBy: "[deltaX], [deltaY]", 382 scrollTo: "[x], [y]", 353 383 setInterval: "func, [delay], [...params]", 354 384 setTimeout: "func, [delay], [...params]", … … 357 387 }, 358 388 359 Event: {360 initEvent: "type, bubbles, cancelable",361 __proto__: null,362 },363 364 HTMLDocument: {365 write: "html",366 writeln: "html",367 __proto__: null,368 },369 370 389 Document: { 371 adoptNode: " node",372 caret PositionFromPoint: "x, y",390 adoptNode: "[node]", 391 caretRangeFromPoint: "[x], [y]", 373 392 createAttribute: "attributeName", 393 createAttributeNS: "namespace, qualifiedName", 374 394 createCDATASection: "data", 375 395 createComment: "data", 376 396 createElement: "tagName", 377 397 createElementNS: "namespace, qualifiedName", 398 createEntityReference: "name", 378 399 createEvent: "type", 379 createExpression: "xpath, namespaceURLMapper",400 createExpression: "xpath, resolver", 380 401 createNSResolver: "node", 381 402 createNodeIterator: "root, whatToShow, filter", … … 386 407 evaluate: "xpath, contextNode, namespaceResolver, resultType, result", 387 408 execCommand: "command, userInterface, value", 409 getCSSCanvasContext: "contextId, name, width, height", 388 410 getElementById: "id", 389 411 getElementsByName: "name", 412 getOverrideStyle: "[element], [pseudoElement]", 390 413 importNode: "node, deep", 414 queryCommandEnabled: "command", 415 queryCommandIndeterm: "command", 416 queryCommandState: "command", 417 queryCommandSupported: "command", 418 queryCommandValue: "command", 419 __proto__: null, 420 }, 421 422 // Autogenerated DOM Interfaces. 423 424 ANGLEInstancedArrays: { 425 drawArraysInstancedANGLE: "mode, first, count, primcount", 426 drawElementsInstancedANGLE: "mode, count, type, offset, primcount", 427 vertexAttribDivisorANGLE: "index, divisor", 428 __proto__: null, 429 }, 430 431 AnalyserNode: { 432 getByteFrequencyData: "array", 433 getByteTimeDomainData: "array", 434 getFloatFrequencyData: "array", 435 __proto__: null, 436 }, 437 438 AudioBuffer: { 439 getChannelData: "channelIndex", 440 __proto__: null, 441 }, 442 443 AudioBufferCallback: { 444 handleEvent: "audioBuffer", 445 __proto__: null, 446 }, 447 448 AudioBufferSourceNode: { 449 noteGrainOn: "when, grainOffset, grainDuration", 450 noteOff: "when", 451 noteOn: "when", 452 start: "[when], [grainOffset], [grainDuration]", 453 stop: "[when]", 454 __proto__: null, 455 }, 456 457 AudioListener: { 458 setOrientation: "x, y, z, xUp, yUp, zUp", 459 setPosition: "x, y, z", 460 setVelocity: "x, y, z", 461 __proto__: null, 462 }, 463 464 AudioNode: { 465 connect: "destination, [output], [input]", 466 disconnect: "[output]", 467 __proto__: null, 468 }, 469 470 AudioParam: { 471 cancelScheduledValues: "startTime", 472 exponentialRampToValueAtTime: "value, time", 473 linearRampToValueAtTime: "value, time", 474 setTargetAtTime: "target, time, timeConstant", 475 setTargetValueAtTime: "targetValue, time, timeConstant", 476 setValueAtTime: "value, time", 477 setValueCurveAtTime: "values, time, duration", 478 __proto__: null, 479 }, 480 481 AudioTrackList: { 482 getTrackById: "id", 483 item: "index", 484 __proto__: null, 485 }, 486 487 BiquadFilterNode: { 488 getFrequencyResponse: "frequencyHz, magResponse, phaseResponse", 489 __proto__: null, 490 }, 491 492 Blob: { 493 slice: "[start], [end], [contentType]", 494 __proto__: null, 495 }, 496 497 CSS: { 498 supports: "property, value", 499 __proto__: null, 500 }, 501 502 CSSKeyframesRule: { 503 appendRule: "[rule]", 504 deleteRule: "[key]", 505 findRule: "[key]", 506 insertRule: "[rule]", 507 __proto__: null, 508 }, 509 510 CSSMediaRule: { 511 deleteRule: "[index]", 512 insertRule: "[rule], [index]", 513 __proto__: null, 514 }, 515 516 CSSPrimitiveValue: { 517 getFloatValue: "[unitType]", 518 setFloatValue: "[unitType], [floatValue]", 519 setStringValue: "[stringType], [stringValue]", 520 __proto__: null, 521 }, 522 523 CSSRuleList: { 524 item: "[index]", 525 __proto__: null, 526 }, 527 528 CSSStyleDeclaration: { 529 getPropertyCSSValue: "[propertyName]", 530 getPropertyPriority: "[propertyName]", 531 getPropertyShorthand: "[propertyName]", 532 getPropertyValue: "[propertyName]", 533 isPropertyImplicit: "[propertyName]", 534 item: "[index]", 535 removeProperty: "[propertyName]", 536 setProperty: "[propertyName], [value], [priority]", 537 __proto__: null, 538 }, 539 540 CSSStyleSheet: { 541 addRule: "[selector], [style], [index]", 542 deleteRule: "[index]", 543 insertRule: "[rule], [index]", 544 removeRule: "[index]", 545 __proto__: null, 546 }, 547 548 CSSSupportsRule: { 549 deleteRule: "[index]", 550 insertRule: "[rule], [index]", 551 __proto__: null, 552 }, 553 554 CSSValueList: { 555 item: "[index]", 556 __proto__: null, 557 }, 558 559 CanvasGradient: { 560 addColorStop: "[offset], [color]", 561 __proto__: null, 562 }, 563 564 CanvasRenderingContext2D: { 565 arc: "x, y, radius, startAngle, endAngle, [anticlockwise]", 566 arcTo: "x1, y1, x2, y2, radius", 567 bezierCurveTo: "cp1x, cp1y, cp2x, cp2y, x, y", 568 clearRect: "x, y, width, height", 569 clip: "path, [winding]", 570 createImageData: "imagedata", 571 createLinearGradient: "x0, y0, x1, y1", 572 createPattern: "canvas, repetitionType", 573 createRadialGradient: "x0, y0, r0, x1, y1, r1", 574 drawFocusIfNeeded: "element", 575 drawImage: "image, x, y", 576 drawImageFromRect: "image, [sx], [sy], [sw], [sh], [dx], [dy], [dw], [dh], [compositeOperation]", 577 ellipse: "x, y, radiusX, radiusY, rotation, startAngle, endAngle, [anticlockwise]", 578 fill: "path, [winding]", 579 fillRect: "x, y, width, height", 580 fillText: "text, x, y, [maxWidth]", 581 getImageData: "sx, sy, sw, sh", 582 isPointInPath: "path, x, y, [winding]", 583 isPointInStroke: "path, x, y", 584 lineTo: "x, y", 585 measureText: "text", 586 moveTo: "x, y", 587 putImageData: "imagedata, dx, dy", 588 quadraticCurveTo: "cpx, cpy, x, y", 589 rect: "x, y, width, height", 590 rotate: "angle", 591 scale: "sx, sy", 592 setAlpha: "[alpha]", 593 setCompositeOperation: "[compositeOperation]", 594 setFillColor: "color, [alpha]", 595 setLineCap: "[cap]", 596 setLineDash: "dash", 597 setLineJoin: "[join]", 598 setLineWidth: "[width]", 599 setMiterLimit: "[limit]", 600 setShadow: "width, height, blur, [color], [alpha]", 601 setStrokeColor: "color, [alpha]", 602 setTransform: "m11, m12, m21, m22, dx, dy", 603 stroke: "path", 604 strokeRect: "x, y, width, height", 605 strokeText: "text, x, y, [maxWidth]", 606 transform: "m11, m12, m21, m22, dx, dy", 607 translate: "tx, ty", 608 webkitGetImageDataHD: "sx, sy, sw, sh", 609 webkitPutImageDataHD: "imagedata, dx, dy", 610 __proto__: null, 611 }, 612 613 CharacterData: { 614 appendData: "[data]", 615 deleteData: "[offset], [length]", 616 insertData: "[offset], [data]", 617 replaceData: "[offset], [length], [data]", 618 substringData: "[offset], [length]", 619 __proto__: null, 620 }, 621 622 ClientRectList: { 623 item: "[index]", 624 __proto__: null, 625 }, 626 627 CommandLineAPIHost: { 628 copyText: "text", 629 databaseId: "database", 630 getEventListeners: "node", 631 inspect: "objectId, hints", 632 storageId: "storage", 633 __proto__: null, 634 }, 635 636 CompositionEvent: { 637 initCompositionEvent: "[typeArg], [canBubbleArg], [cancelableArg], [viewArg], [dataArg]", 638 __proto__: null, 639 }, 640 641 Crypto: { 642 getRandomValues: "array", 643 __proto__: null, 644 }, 645 646 CustomEvent: { 647 initCustomEvent: "[typeArg], [canBubbleArg], [cancelableArg], [detailArg]", 648 __proto__: null, 649 }, 650 651 DOMApplicationCache: { 652 /* EventTarget */ 653 __proto__: null, 654 }, 655 656 DOMImplementation: { 657 createCSSStyleSheet: "[title], [media]", 658 createDocument: "[namespaceURI], [qualifiedName], [doctype]", 659 createDocumentType: "[qualifiedName], [publicId], [systemId]", 660 createHTMLDocument: "[title]", 661 hasFeature: "[feature], [version]", 662 __proto__: null, 663 }, 664 665 DOMParser: { 666 parseFromString: "[str], [contentType]", 667 __proto__: null, 668 }, 669 670 DOMStringList: { 671 contains: "[string]", 672 item: "[index]", 673 __proto__: null, 674 }, 675 676 DOMTokenList: { 677 add: "tokens...", 678 contains: "token", 679 item: "index", 680 remove: "tokens...", 681 toggle: "token, [force]", 682 __proto__: null, 683 }, 684 685 DataTransfer: { 686 clearData: "[type]", 687 getData: "type", 688 setData: "type, data", 689 setDragImage: "image, x, y", 690 __proto__: null, 691 }, 692 693 DataTransferItem: { 694 getAsString: "[callback]", 695 __proto__: null, 696 }, 697 698 DataTransferItemList: { 699 add: "file", 700 item: "[index]", 701 __proto__: null, 702 }, 703 704 Database: { 705 changeVersion: "oldVersion, newVersion, [callback], [errorCallback], [successCallback]", 706 readTransaction: "callback, [errorCallback], [successCallback]", 707 transaction: "callback, [errorCallback], [successCallback]", 708 __proto__: null, 709 }, 710 711 DatabaseCallback: { 712 handleEvent: "database", 713 __proto__: null, 714 }, 715 716 DedicatedWorkerGlobalScope: { 717 postMessage: "message, [messagePorts]", 718 __proto__: null, 719 }, 720 721 DeviceMotionEvent: { 722 initDeviceMotionEvent: "[type], [bubbles], [cancelable], [acceleration], [accelerationIncludingGravity], [rotationRate], [interval]", 723 __proto__: null, 724 }, 725 726 DeviceOrientationEvent: { 727 initDeviceOrientationEvent: "[type], [bubbles], [cancelable], [alpha], [beta], [gamma], [absolute]", 728 __proto__: null, 729 }, 730 731 DocumentFragment: { 732 querySelector: "selectors", 733 querySelectorAll: "selectors", 734 __proto__: null, 735 }, 736 737 Event: { 738 initEvent: "[type], [canBubble], [cancelable]", 739 __proto__: null, 740 }, 741 742 FileList: { 743 item: "index", 744 __proto__: null, 745 }, 746 747 FileReader: { 748 readAsArrayBuffer: "blob", 749 readAsBinaryString: "blob", 750 readAsDataURL: "blob", 751 readAsText: "blob, [encoding]", 752 __proto__: null, 753 }, 754 755 FileReaderSync: { 756 readAsArrayBuffer: "blob", 757 readAsBinaryString: "blob", 758 readAsDataURL: "blob", 759 readAsText: "blob, [encoding]", 760 __proto__: null, 761 }, 762 763 FontLoader: { 764 checkFont: "font, [text]", 765 loadFont: "params", 766 notifyWhenFontsReady: "callback", 767 __proto__: null, 768 }, 769 770 FormData: { 771 append: "[name], [value], [filename]", 391 772 __proto__: null, 392 773 }, 393 774 394 775 Geolocation: { 395 clearWatch: "watchId", 396 getCurrentPosition: "successHandler, [errorHandler], [options]", 397 watchPosition: "successHandler, [errorHandler], [options]", 776 clearWatch: "watchID", 777 getCurrentPosition: "successCallback, [errorCallback], [options]", 778 watchPosition: "successCallback, [errorCallback], [options]", 779 __proto__: null, 780 }, 781 782 HTMLAllCollection: { 783 item: "[index]", 784 namedItem: "name", 785 tags: "name", 786 __proto__: null, 787 }, 788 789 HTMLButtonElement: { 790 setCustomValidity: "error", 791 __proto__: null, 792 }, 793 794 HTMLCanvasElement: { 795 getContext: "[contextId]", 796 probablySupportsContext: "[contextId]", 797 toDataURL: "[type]", 798 __proto__: null, 799 }, 800 801 HTMLCollection: { 802 item: "[index]", 803 namedItem: "[name]", 804 __proto__: null, 805 }, 806 807 HTMLDocument: { 808 write: "[html]", 809 writeln: "[html]", 810 __proto__: null, 811 }, 812 813 HTMLElement: { 814 insertAdjacentElement: "[position], [element]", 815 insertAdjacentHTML: "[position], [html]", 816 insertAdjacentText: "[position], [text]", 817 __proto__: null, 818 }, 819 820 HTMLFieldSetElement: { 821 setCustomValidity: "error", 822 __proto__: null, 823 }, 824 825 HTMLFormControlsCollection: { 826 namedItem: "[name]", 827 __proto__: null, 828 }, 829 830 HTMLInputElement: { 831 setCustomValidity: "error", 832 setRangeText: "replacement", 833 setSelectionRange: "[start], [end], [direction]", 834 stepDown: "[n]", 835 stepUp: "[n]", 836 __proto__: null, 837 }, 838 839 HTMLKeygenElement: { 840 setCustomValidity: "error", 841 __proto__: null, 842 }, 843 844 HTMLMediaElement: { 845 addTextTrack: "kind, [label], [language]", 846 canPlayType: "[type], [keySystem]", 847 fastSeek: "time", 848 webkitAddKey: "keySystem, key, [initData], [sessionId]", 849 webkitCancelKeyRequest: "keySystem, [sessionId]", 850 webkitGenerateKeyRequest: "keySystem, [initData]", 851 webkitSetMediaKeys: "mediaKeys", 852 __proto__: null, 853 }, 854 855 HTMLObjectElement: { 856 setCustomValidity: "error", 857 __proto__: null, 858 }, 859 860 HTMLOptionsCollection: { 861 add: "element, [before]", 862 namedItem: "[name]", 863 remove: "[index]", 864 __proto__: null, 865 }, 866 867 HTMLOutputElement: { 868 setCustomValidity: "error", 869 __proto__: null, 870 }, 871 872 HTMLSelectElement: { 873 add: "element, [before]", 874 item: "index", 875 namedItem: "[name]", 876 setCustomValidity: "error", 877 __proto__: null, 878 }, 879 880 HTMLTableElement: { 881 deleteRow: "[index]", 882 insertRow: "[index]", 883 __proto__: null, 884 }, 885 886 HTMLTableRowElement: { 887 deleteCell: "[index]", 888 insertCell: "[index]", 889 __proto__: null, 890 }, 891 892 HTMLTableSectionElement: { 893 deleteRow: "[index]", 894 insertRow: "[index]", 895 __proto__: null, 896 }, 897 898 HTMLTextAreaElement: { 899 setCustomValidity: "error", 900 setRangeText: "replacement", 901 setSelectionRange: "[start], [end], [direction]", 902 __proto__: null, 903 }, 904 905 HTMLVideoElement: { 906 webkitSetPresentationMode: "mode", 907 webkitSupportsPresentationMode: "mode", 908 __proto__: null, 909 }, 910 911 HashChangeEvent: { 912 initHashChangeEvent: "[type], [canBubble], [cancelable], [oldURL], [newURL]", 913 __proto__: null, 914 }, 915 916 History: { 917 go: "[distance]", 918 pushState: "data, title, [url]", 919 replaceState: "data, title, [url]", 920 __proto__: null, 921 }, 922 923 IDBCursor: { 924 advance: "count", 925 continue: "[key]", 926 update: "value", 927 __proto__: null, 928 }, 929 930 IDBDatabase: { 931 createObjectStore: "name, [options]", 932 deleteObjectStore: "name", 933 transaction: "storeName, [mode]", 934 __proto__: null, 935 }, 936 937 IDBFactory: { 938 cmp: "first, second", 939 deleteDatabase: "name", 940 open: "name, [version]", 941 __proto__: null, 942 }, 943 944 IDBIndex: { 945 count: "[range]", 946 get: "key", 947 getKey: "key", 948 openCursor: "[range], [direction]", 949 openKeyCursor: "[range], [direction]", 950 __proto__: null, 951 }, 952 953 IDBObjectStore: { 954 add: "value, [key]", 955 count: "[range]", 956 createIndex: "name, keyPath, [options]", 957 delete: "keyRange", 958 deleteIndex: "name", 959 get: "key", 960 index: "name", 961 openCursor: "[range], [direction]", 962 put: "value, [key]", 963 __proto__: null, 964 }, 965 966 IDBTransaction: { 967 objectStore: "name", 968 __proto__: null, 969 }, 970 971 KeyboardEvent: { 972 initKeyboardEvent: "[type], [canBubble], [cancelable], [view], [keyIdentifier], [location], [ctrlKey], [altKey], [shiftKey], [metaKey], [altGraphKey]", 973 __proto__: null, 974 }, 975 976 Location: { 977 assign: "[url]", 978 reload: "[force=false]", 979 replace: "[url]", 980 __proto__: null, 981 }, 982 983 MediaController: { 984 /* EventTarget */ 985 __proto__: null, 986 }, 987 988 MediaControlsHost: { 989 displayNameForTrack: "track", 990 mediaUIImageData: "partID", 991 setSelectedTextTrack: "track", 992 sortedTrackListForMenu: "trackList", 993 __proto__: null, 994 }, 995 996 MediaList: { 997 appendMedium: "[newMedium]", 998 deleteMedium: "[oldMedium]", 999 item: "[index]", 1000 __proto__: null, 1001 }, 1002 1003 MediaQueryList: { 1004 addListener: "[listener]", 1005 removeListener: "[listener]", 1006 __proto__: null, 1007 }, 1008 1009 MediaQueryListListener: { 1010 queryChanged: "[list]", 1011 __proto__: null, 1012 }, 1013 1014 MediaSource: { 1015 addSourceBuffer: "type", 1016 endOfStream: "[error]", 1017 removeSourceBuffer: "buffer", 1018 __proto__: null, 1019 }, 1020 1021 MediaStreamTrack: { 1022 applyConstraints: "constraints", 1023 __proto__: null, 1024 }, 1025 1026 MediaStreamTrackSourcesCallback: { 1027 handleEvent: "sources", 1028 __proto__: null, 1029 }, 1030 1031 MessageEvent: { 1032 initMessageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [dataArg], [originArg], [lastEventIdArg], [sourceArg], [messagePorts]", 1033 webkitInitMessageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [dataArg], [originArg], [lastEventIdArg], [sourceArg], [transferables]", 1034 __proto__: null, 1035 }, 1036 1037 MessagePort: { 1038 /* EventTarget */ 1039 __proto__: null, 1040 }, 1041 1042 MimeTypeArray: { 1043 item: "[index]", 1044 namedItem: "[name]", 1045 __proto__: null, 1046 }, 1047 1048 MouseEvent: { 1049 initMouseEvent: "[type], [canBubble], [cancelable], [view], [detail], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey], [button], [relatedTarget]", 1050 __proto__: null, 1051 }, 1052 1053 MutationEvent: { 1054 initMutationEvent: "[type], [canBubble], [cancelable], [relatedNode], [prevValue], [newValue], [attrName], [attrChange]", 1055 __proto__: null, 1056 }, 1057 1058 MutationObserver: { 1059 observe: "target, options", 1060 __proto__: null, 1061 }, 1062 1063 NamedNodeMap: { 1064 getNamedItem: "[name]", 1065 getNamedItemNS: "[namespaceURI], [localName]", 1066 item: "[index]", 1067 removeNamedItem: "[name]", 1068 removeNamedItemNS: "[namespaceURI], [localName]", 1069 setNamedItem: "[node]", 1070 setNamedItemNS: "[node]", 1071 __proto__: null, 1072 }, 1073 1074 Navigator: { 1075 webkitGetUserMedia: "options, successCallback, [errorCallback]", 1076 __proto__: null, 1077 }, 1078 1079 NavigatorUserMediaErrorCallback: { 1080 handleEvent: "error", 1081 __proto__: null, 1082 }, 1083 1084 NavigatorUserMediaSuccessCallback: { 1085 handleEvent: "stream", 1086 __proto__: null, 1087 }, 1088 1089 NodeFilter: { 1090 acceptNode: "[n]", 1091 __proto__: null, 1092 }, 1093 1094 NodeList: { 1095 item: "index", 1096 __proto__: null, 1097 }, 1098 1099 Notification: { 1100 /* EventTarget */ 1101 __proto__: null, 1102 }, 1103 1104 NotificationCenter: { 1105 createNotification: "iconUrl, title, body", 1106 requestPermission: "[callback]", 1107 __proto__: null, 1108 }, 1109 1110 NotificationPermissionCallback: { 1111 handleEvent: "permission", 1112 __proto__: null, 1113 }, 1114 1115 OESVertexArrayObject: { 1116 bindVertexArrayOES: "[arrayObject]", 1117 deleteVertexArrayOES: "[arrayObject]", 1118 isVertexArrayOES: "[arrayObject]", 1119 __proto__: null, 1120 }, 1121 1122 OscillatorNode: { 1123 noteOff: "when", 1124 noteOn: "when", 1125 setPeriodicWave: "wave", 1126 start: "[when]", 1127 stop: "[when]", 1128 __proto__: null, 1129 }, 1130 1131 Path2D: { 1132 addPath: "path, [transform]", 1133 arc: "[x], [y], [radius], [startAngle], [endAngle], [anticlockwise]", 1134 arcTo: "[x1], [y1], [x2], [y2], [radius]", 1135 bezierCurveTo: "[cp1x], [cp1y], [cp2x], [cp2y], [x], [y]", 1136 ellipse: "x, y, radiusX, radiusY, rotation, startAngle, endAngle, [anticlockwise]", 1137 lineTo: "[x], [y]", 1138 moveTo: "[x], [y]", 1139 quadraticCurveTo: "[cpx], [cpy], [x], [y]", 1140 rect: "[x], [y], [width], [height]", 1141 __proto__: null, 1142 }, 1143 1144 Plugin: { 1145 item: "[index]", 1146 namedItem: "[name]", 1147 __proto__: null, 1148 }, 1149 1150 PluginArray: { 1151 item: "[index]", 1152 namedItem: "[name]", 1153 refresh: "[reload]", 1154 __proto__: null, 1155 }, 1156 1157 PositionCallback: { 1158 handleEvent: "position", 1159 __proto__: null, 1160 }, 1161 1162 PositionErrorCallback: { 1163 handleEvent: "error", 1164 __proto__: null, 1165 }, 1166 1167 QuickTimePluginReplacement: { 1168 postEvent: "eventName", 1169 __proto__: null, 1170 }, 1171 1172 RTCDTMFSender: { 1173 insertDTMF: "tones, [duration], [interToneGap]", 1174 __proto__: null, 1175 }, 1176 1177 RTCDataChannel: { 1178 send: "data", 1179 __proto__: null, 1180 }, 1181 1182 RTCPeerConnectionErrorCallback: { 1183 handleEvent: "error", 1184 __proto__: null, 1185 }, 1186 1187 RTCSessionDescriptionCallback: { 1188 handleEvent: "sdp", 1189 __proto__: null, 1190 }, 1191 1192 RTCStatsCallback: { 1193 handleEvent: "response", 1194 __proto__: null, 1195 }, 1196 1197 RTCStatsReport: { 1198 stat: "name", 1199 __proto__: null, 1200 }, 1201 1202 RTCStatsResponse: { 1203 namedItem: "[name]", 1204 __proto__: null, 1205 }, 1206 1207 Range: { 1208 collapse: "[toStart]", 1209 compareBoundaryPoints: "[how], [sourceRange]", 1210 compareNode: "[refNode]", 1211 comparePoint: "[refNode], [offset]", 1212 createContextualFragment: "[html]", 1213 expand: "[unit]", 1214 insertNode: "[newNode]", 1215 intersectsNode: "[refNode]", 1216 isPointInRange: "[refNode], [offset]", 1217 selectNode: "[refNode]", 1218 selectNodeContents: "[refNode]", 1219 setEnd: "[refNode], [offset]", 1220 setEndAfter: "[refNode]", 1221 setEndBefore: "[refNode]", 1222 setStart: "[refNode], [offset]", 1223 setStartAfter: "[refNode]", 1224 setStartBefore: "[refNode]", 1225 surroundContents: "[newParent]", 1226 __proto__: null, 1227 }, 1228 1229 ReadableStream: { 1230 cancel: "reason", 1231 pipeThrough: "dest, options", 1232 pipeTo: "streams, options", 1233 __proto__: null, 1234 }, 1235 1236 RequestAnimationFrameCallback: { 1237 handleEvent: "highResTime", 1238 __proto__: null, 1239 }, 1240 1241 SQLResultSetRowList: { 1242 item: "index", 1243 __proto__: null, 1244 }, 1245 1246 SQLStatementCallback: { 1247 handleEvent: "transaction, resultSet", 1248 __proto__: null, 1249 }, 1250 1251 SQLStatementErrorCallback: { 1252 handleEvent: "transaction, error", 1253 __proto__: null, 1254 }, 1255 1256 SQLTransaction: { 1257 executeSql: "sqlStatement, arguments, [callback], [errorCallback]", 1258 __proto__: null, 1259 }, 1260 1261 SQLTransactionCallback: { 1262 handleEvent: "transaction", 1263 __proto__: null, 1264 }, 1265 1266 SQLTransactionErrorCallback: { 1267 handleEvent: "error", 1268 __proto__: null, 1269 }, 1270 1271 SVGAngle: { 1272 convertToSpecifiedUnits: "unitType", 1273 newValueSpecifiedUnits: "unitType, valueInSpecifiedUnits", 1274 __proto__: null, 1275 }, 1276 1277 SVGAnimationElement: { 1278 beginElementAt: "[offset]", 1279 endElementAt: "[offset]", 1280 hasExtension: "[extension]", 1281 __proto__: null, 1282 }, 1283 1284 SVGColor: { 1285 setColor: "colorType, rgbColor, iccColor", 1286 setRGBColor: "rgbColor", 1287 setRGBColorICCColor: "rgbColor, iccColor", 1288 __proto__: null, 1289 }, 1290 1291 SVGCursorElement: { 1292 hasExtension: "[extension]", 1293 __proto__: null, 1294 }, 1295 1296 SVGDocument: { 1297 createEvent: "[eventType]", 1298 __proto__: null, 1299 }, 1300 1301 SVGElement: { 1302 getPresentationAttribute: "[name]", 1303 __proto__: null, 1304 }, 1305 1306 SVGFEDropShadowElement: { 1307 setStdDeviation: "[stdDeviationX], [stdDeviationY]", 1308 __proto__: null, 1309 }, 1310 1311 SVGFEGaussianBlurElement: { 1312 setStdDeviation: "[stdDeviationX], [stdDeviationY]", 1313 __proto__: null, 1314 }, 1315 1316 SVGFEMorphologyElement: { 1317 setRadius: "[radiusX], [radiusY]", 1318 __proto__: null, 1319 }, 1320 1321 SVGFilterElement: { 1322 setFilterRes: "[filterResX], [filterResY]", 1323 __proto__: null, 1324 }, 1325 1326 SVGGraphicsElement: { 1327 getTransformToElement: "[element]", 1328 hasExtension: "[extension]", 1329 __proto__: null, 1330 }, 1331 1332 SVGLength: { 1333 convertToSpecifiedUnits: "unitType", 1334 newValueSpecifiedUnits: "unitType, valueInSpecifiedUnits", 1335 __proto__: null, 1336 }, 1337 1338 SVGLengthList: { 1339 appendItem: "item", 1340 getItem: "index", 1341 initialize: "item", 1342 insertItemBefore: "item, index", 1343 removeItem: "index", 1344 replaceItem: "item, index", 1345 __proto__: null, 1346 }, 1347 1348 SVGMarkerElement: { 1349 setOrientToAngle: "[angle]", 1350 __proto__: null, 1351 }, 1352 1353 SVGMaskElement: { 1354 hasExtension: "[extension]", 1355 __proto__: null, 1356 }, 1357 1358 SVGMatrix: { 1359 multiply: "secondMatrix", 1360 rotate: "angle", 1361 rotateFromVector: "x, y", 1362 scale: "scaleFactor", 1363 scaleNonUniform: "scaleFactorX, scaleFactorY", 1364 skewX: "angle", 1365 skewY: "angle", 1366 translate: "x, y", 1367 __proto__: null, 1368 }, 1369 1370 SVGNumberList: { 1371 appendItem: "item", 1372 getItem: "index", 1373 initialize: "item", 1374 insertItemBefore: "item, index", 1375 removeItem: "index", 1376 replaceItem: "item, index", 1377 __proto__: null, 1378 }, 1379 1380 SVGPaint: { 1381 setPaint: "paintType, uri, rgbColor, iccColor", 1382 setUri: "uri", 1383 __proto__: null, 1384 }, 1385 1386 SVGPathElement: { 1387 createSVGPathSegArcAbs: "[x], [y], [r1], [r2], [angle], [largeArcFlag], [sweepFlag]", 1388 createSVGPathSegArcRel: "[x], [y], [r1], [r2], [angle], [largeArcFlag], [sweepFlag]", 1389 createSVGPathSegCurvetoCubicAbs: "[x], [y], [x1], [y1], [x2], [y2]", 1390 createSVGPathSegCurvetoCubicRel: "[x], [y], [x1], [y1], [x2], [y2]", 1391 createSVGPathSegCurvetoCubicSmoothAbs: "[x], [y], [x2], [y2]", 1392 createSVGPathSegCurvetoCubicSmoothRel: "[x], [y], [x2], [y2]", 1393 createSVGPathSegCurvetoQuadraticAbs: "[x], [y], [x1], [y1]", 1394 createSVGPathSegCurvetoQuadraticRel: "[x], [y], [x1], [y1]", 1395 createSVGPathSegCurvetoQuadraticSmoothAbs: "[x], [y]", 1396 createSVGPathSegCurvetoQuadraticSmoothRel: "[x], [y]", 1397 createSVGPathSegLinetoAbs: "[x], [y]", 1398 createSVGPathSegLinetoHorizontalAbs: "[x]", 1399 createSVGPathSegLinetoHorizontalRel: "[x]", 1400 createSVGPathSegLinetoRel: "[x], [y]", 1401 createSVGPathSegLinetoVerticalAbs: "[y]", 1402 createSVGPathSegLinetoVerticalRel: "[y]", 1403 createSVGPathSegMovetoAbs: "[x], [y]", 1404 createSVGPathSegMovetoRel: "[x], [y]", 1405 getPathSegAtLength: "[distance]", 1406 getPointAtLength: "[distance]", 1407 __proto__: null, 1408 }, 1409 1410 SVGPathSegList: { 1411 appendItem: "newItem", 1412 getItem: "index", 1413 initialize: "newItem", 1414 insertItemBefore: "newItem, index", 1415 removeItem: "index", 1416 replaceItem: "newItem, index", 1417 __proto__: null, 1418 }, 1419 1420 SVGPatternElement: { 1421 hasExtension: "[extension]", 1422 __proto__: null, 1423 }, 1424 1425 SVGPoint: { 1426 matrixTransform: "matrix", 1427 __proto__: null, 1428 }, 1429 1430 SVGPointList: { 1431 appendItem: "item", 1432 getItem: "index", 1433 initialize: "item", 1434 insertItemBefore: "item, index", 1435 removeItem: "index", 1436 replaceItem: "item, index", 1437 __proto__: null, 1438 }, 1439 1440 SVGSVGElement: { 1441 checkEnclosure: "[element], [rect]", 1442 checkIntersection: "[element], [rect]", 1443 createSVGTransformFromMatrix: "[matrix]", 1444 getElementById: "[elementId]", 1445 getEnclosureList: "[rect], [referenceElement]", 1446 getIntersectionList: "[rect], [referenceElement]", 1447 setCurrentTime: "[seconds]", 1448 suspendRedraw: "[maxWaitMilliseconds]", 1449 unsuspendRedraw: "[suspendHandleId]", 1450 __proto__: null, 1451 }, 1452 1453 SVGStringList: { 1454 appendItem: "item", 1455 getItem: "index", 1456 initialize: "item", 1457 insertItemBefore: "item, index", 1458 removeItem: "index", 1459 replaceItem: "item, index", 1460 __proto__: null, 1461 }, 1462 1463 SVGTextContentElement: { 1464 getCharNumAtPosition: "[point]", 1465 getEndPositionOfChar: "[offset]", 1466 getExtentOfChar: "[offset]", 1467 getRotationOfChar: "[offset]", 1468 getStartPositionOfChar: "[offset]", 1469 getSubStringLength: "[offset], [length]", 1470 selectSubString: "[offset], [length]", 1471 __proto__: null, 1472 }, 1473 1474 SVGTransform: { 1475 setMatrix: "matrix", 1476 setRotate: "angle, cx, cy", 1477 setScale: "sx, sy", 1478 setSkewX: "angle", 1479 setSkewY: "angle", 1480 setTranslate: "tx, ty", 1481 __proto__: null, 1482 }, 1483 1484 SVGTransformList: { 1485 appendItem: "item", 1486 createSVGTransformFromMatrix: "matrix", 1487 getItem: "index", 1488 initialize: "item", 1489 insertItemBefore: "item, index", 1490 removeItem: "index", 1491 replaceItem: "item, index", 1492 __proto__: null, 1493 }, 1494 1495 SecurityPolicy: { 1496 allowsConnectionTo: "url", 1497 allowsFontFrom: "url", 1498 allowsFormAction: "url", 1499 allowsFrameFrom: "url", 1500 allowsImageFrom: "url", 1501 allowsMediaFrom: "url", 1502 allowsObjectFrom: "url", 1503 allowsPluginType: "type", 1504 allowsScriptFrom: "url", 1505 allowsStyleFrom: "url", 1506 __proto__: null, 1507 }, 1508 1509 Selection: { 1510 addRange: "[range]", 1511 collapse: "[node], [index]", 1512 containsNode: "[node], [allowPartial]", 1513 extend: "[node], [offset]", 1514 getRangeAt: "[index]", 1515 modify: "[alter], [direction], [granularity]", 1516 selectAllChildren: "[node]", 1517 setBaseAndExtent: "[baseNode], [baseOffset], [extentNode], [extentOffset]", 1518 setPosition: "[node], [offset]", 1519 __proto__: null, 1520 }, 1521 1522 SourceBuffer: { 1523 appendBuffer: "data", 1524 remove: "start, end", 1525 __proto__: null, 1526 }, 1527 1528 SourceBufferList: { 1529 item: "index", 1530 __proto__: null, 1531 }, 1532 1533 SpeechSynthesis: { 1534 speak: "utterance", 1535 __proto__: null, 1536 }, 1537 1538 SpeechSynthesisUtterance: { 1539 /* EventTarget */ 398 1540 __proto__: null, 399 1541 }, … … 403 1545 key: "index", 404 1546 removeItem: "key", 405 __proto__: null, 406 }, 407 408 Location: { 409 assign: "url", 410 reload: "[force=false]", 411 replace: "url", 412 __proto__: null, 413 }, 414 415 History: { 416 go: "distance", 417 pushState: "data, title, url", 418 replaceState: "data, title, url", 1547 setItem: "key, data", 1548 __proto__: null, 1549 }, 1550 1551 StorageErrorCallback: { 1552 handleEvent: "error", 1553 __proto__: null, 1554 }, 1555 1556 StorageEvent: { 1557 initStorageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [keyArg], [oldValueArg], [newValueArg], [urlArg], [storageAreaArg]", 1558 __proto__: null, 1559 }, 1560 1561 StorageInfo: { 1562 queryUsageAndQuota: "storageType, [usageCallback], [errorCallback]", 1563 requestQuota: "storageType, newQuotaInBytes, [quotaCallback], [errorCallback]", 1564 __proto__: null, 1565 }, 1566 1567 StorageQuota: { 1568 queryUsageAndQuota: "usageCallback, [errorCallback]", 1569 requestQuota: "newQuotaInBytes, [quotaCallback], [errorCallback]", 1570 __proto__: null, 1571 }, 1572 1573 StorageQuotaCallback: { 1574 handleEvent: "grantedQuotaInBytes", 1575 __proto__: null, 1576 }, 1577 1578 StorageUsageCallback: { 1579 handleEvent: "currentUsageInBytes, currentQuotaInBytes", 1580 __proto__: null, 1581 }, 1582 1583 StringCallback: { 1584 handleEvent: "data", 1585 __proto__: null, 1586 }, 1587 1588 StyleMedia: { 1589 matchMedium: "[mediaquery]", 1590 __proto__: null, 1591 }, 1592 1593 StyleSheetList: { 1594 item: "[index]", 1595 __proto__: null, 1596 }, 1597 1598 Text: { 1599 replaceWholeText: "[content]", 1600 splitText: "offset", 1601 __proto__: null, 1602 }, 1603 1604 TextEvent: { 1605 initTextEvent: "[typeArg], [canBubbleArg], [cancelableArg], [viewArg], [dataArg]", 1606 __proto__: null, 1607 }, 1608 1609 TextTrack: { 1610 addCue: "cue", 1611 addRegion: "region", 1612 removeCue: "cue", 1613 removeRegion: "region", 1614 __proto__: null, 1615 }, 1616 1617 TextTrackCue: { 1618 /* EventTarget */ 1619 __proto__: null, 1620 }, 1621 1622 TextTrackCueList: { 1623 getCueById: "id", 1624 item: "index", 1625 __proto__: null, 1626 }, 1627 1628 TextTrackList: { 1629 getTrackById: "id", 1630 item: "index", 1631 __proto__: null, 1632 }, 1633 1634 TimeRanges: { 1635 end: "index", 1636 start: "index", 1637 __proto__: null, 1638 }, 1639 1640 TouchEvent: { 1641 initTouchEvent: "[touches], [targetTouches], [changedTouches], [type], [view], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey]", 1642 __proto__: null, 1643 }, 1644 1645 TouchList: { 1646 item: "index", 1647 __proto__: null, 1648 }, 1649 1650 UIEvent: { 1651 initUIEvent: "[type], [canBubble], [cancelable], [view], [detail]", 1652 __proto__: null, 1653 }, 1654 1655 UserMessageHandler: { 1656 postMessage: "message", 1657 __proto__: null, 1658 }, 1659 1660 VTTRegionList: { 1661 getRegionById: "id", 1662 item: "index", 1663 __proto__: null, 1664 }, 1665 1666 VideoTrackList: { 1667 getTrackById: "id", 1668 item: "index", 1669 __proto__: null, 1670 }, 1671 1672 WebGL2RenderingContext: { 1673 beginQuery: "target, query", 1674 beginTransformFeedback: "primitiveMode", 1675 bindBufferBase: "target, index, buffer", 1676 bindBufferRange: "target, index, buffer, offset, size", 1677 bindSampler: "unit, sampler", 1678 bindTransformFeedback: "target, id", 1679 bindVertexArray: "vertexArray", 1680 blitFramebuffer: "srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter", 1681 clearBufferfi: "buffer, drawbuffer, depth, stencil", 1682 clearBufferfv: "buffer, drawbuffer, value", 1683 clearBufferiv: "buffer, drawbuffer, value", 1684 clearBufferuiv: "buffer, drawbuffer, value", 1685 clientWaitSync: "sync, flags, timeout", 1686 compressedTexImage3D: "target, level, internalformat, width, height, depth, border, imageSize, data", 1687 compressedTexSubImage3D: "target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data", 1688 copyBufferSubData: "readTarget, writeTarget, readOffset, writeOffset, size", 1689 copyTexSubImage3D: "target, level, xoffset, yoffset, zoffset, x, y, width, height", 1690 deleteQuery: "query", 1691 deleteSampler: "sampler", 1692 deleteSync: "sync", 1693 deleteTransformFeedback: "id", 1694 deleteVertexArray: "vertexArray", 1695 drawArraysInstanced: "mode, first, count, instanceCount", 1696 drawBuffers: "buffers", 1697 drawElementsInstanced: "mode, count, type, offset, instanceCount", 1698 drawRangeElements: "mode, start, end, count, type, offset", 1699 endQuery: "target", 1700 fenceSync: "condition, flags", 1701 framebufferTextureLayer: "target, attachment, texture, level, layer", 1702 getActiveUniformBlockName: "program, uniformBlockIndex", 1703 getActiveUniformBlockParameter: "program, uniformBlockIndex, pname", 1704 getActiveUniforms: "program, uniformIndices, pname", 1705 getBufferSubData: "target, offset, returnedData", 1706 getFragDataLocation: "program, name", 1707 getIndexedParameter: "target, index", 1708 getInternalformatParameter: "target, internalformat, pname", 1709 getQuery: "target, pname", 1710 getQueryParameter: "query, pname", 1711 getSamplerParameter: "sampler, pname", 1712 getSyncParameter: "sync, pname", 1713 getTransformFeedbackVarying: "program, index", 1714 getUniformBlockIndex: "program, uniformBlockName", 1715 getUniformIndices: "program, uniformNames", 1716 invalidateFramebuffer: "target, attachments", 1717 invalidateSubFramebuffer: "target, attachments, x, y, width, height", 1718 isQuery: "query", 1719 isSampler: "sampler", 1720 isSync: "sync", 1721 isTransformFeedback: "id", 1722 isVertexArray: "vertexArray", 1723 readBuffer: "src", 1724 renderbufferStorageMultisample: "target, samples, internalformat, width, height", 1725 samplerParameterf: "sampler, pname, param", 1726 samplerParameteri: "sampler, pname, param", 1727 texImage3D: "target, level, internalformat, width, height, depth, border, format, type, pixels", 1728 texStorage2D: "target, levels, internalformat, width, height", 1729 texStorage3D: "target, levels, internalformat, width, height, depth", 1730 texSubImage3D: "target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels", 1731 transformFeedbackVaryings: "program, varyings, bufferMode", 1732 uniform1ui: "location, v0", 1733 uniform1uiv: "location, value", 1734 uniform2ui: "location, v0, v1", 1735 uniform2uiv: "location, value", 1736 uniform3ui: "location, v0, v1, v2", 1737 uniform3uiv: "location, value", 1738 uniform4ui: "location, v0, v1, v2, v3", 1739 uniform4uiv: "location, value", 1740 uniformBlockBinding: "program, uniformBlockIndex, uniformBlockBinding", 1741 uniformMatrix2x3fv: "location, transpose, value", 1742 uniformMatrix2x4fv: "location, transpose, value", 1743 uniformMatrix3x2fv: "location, transpose, value", 1744 uniformMatrix3x4fv: "location, transpose, value", 1745 uniformMatrix4x2fv: "location, transpose, value", 1746 uniformMatrix4x3fv: "location, transpose, value", 1747 vertexAttribDivisor: "index, divisor", 1748 vertexAttribI4i: "index, x, y, z, w", 1749 vertexAttribI4iv: "index, v", 1750 vertexAttribI4ui: "index, x, y, z, w", 1751 vertexAttribI4uiv: "index, v", 1752 vertexAttribIPointer: "index, size, type, stride, offset", 1753 waitSync: "sync, flags, timeout", 1754 __proto__: null, 1755 }, 1756 1757 WebGLDebugShaders: { 1758 getTranslatedShaderSource: "shader", 1759 __proto__: null, 1760 }, 1761 1762 WebGLDrawBuffers: { 1763 drawBuffersWEBGL: "buffers", 1764 __proto__: null, 1765 }, 1766 1767 WebGLRenderingContextBase: { 1768 activeTexture: "texture", 1769 attachShader: "program, shader", 1770 bindAttribLocation: "program, index, name", 1771 bindBuffer: "target, buffer", 1772 bindFramebuffer: "target, framebuffer", 1773 bindRenderbuffer: "target, renderbuffer", 1774 bindTexture: "target, texture", 1775 blendColor: "red, green, blue, alpha", 1776 blendEquation: "mode", 1777 blendEquationSeparate: "modeRGB, modeAlpha", 1778 blendFunc: "sfactor, dfactor", 1779 blendFuncSeparate: "srcRGB, dstRGB, srcAlpha, dstAlpha", 1780 bufferData: "target, data, usage", 1781 bufferSubData: "target, offset, data", 1782 checkFramebufferStatus: "target", 1783 clear: "mask", 1784 clearColor: "red, green, blue, alpha", 1785 clearDepth: "depth", 1786 clearStencil: "s", 1787 colorMask: "red, green, blue, alpha", 1788 compileShader: "shader", 1789 compressedTexImage2D: "target, level, internalformat, width, height, border, data", 1790 compressedTexSubImage2D: "target, level, xoffset, yoffset, width, height, format, data", 1791 copyTexImage2D: "target, level, internalformat, x, y, width, height, border", 1792 copyTexSubImage2D: "target, level, xoffset, yoffset, x, y, width, height", 1793 createShader: "type", 1794 cullFace: "mode", 1795 deleteBuffer: "buffer", 1796 deleteFramebuffer: "framebuffer", 1797 deleteProgram: "program", 1798 deleteRenderbuffer: "renderbuffer", 1799 deleteShader: "shader", 1800 deleteTexture: "texture", 1801 depthFunc: "func", 1802 depthMask: "flag", 1803 depthRange: "zNear, zFar", 1804 detachShader: "program, shader", 1805 disable: "cap", 1806 disableVertexAttribArray: "index", 1807 drawArrays: "mode, first, count", 1808 drawElements: "mode, count, type, offset", 1809 enable: "cap", 1810 enableVertexAttribArray: "index", 1811 framebufferRenderbuffer: "target, attachment, renderbuffertarget, renderbuffer", 1812 framebufferTexture2D: "target, attachment, textarget, texture, level", 1813 frontFace: "mode", 1814 generateMipmap: "target", 1815 getActiveAttrib: "program, index", 1816 getActiveUniform: "program, index", 1817 getAttachedShaders: "program", 1818 getAttribLocation: "program, name", 1819 getBufferParameter: "target, pname", 1820 getExtension: "name", 1821 getFramebufferAttachmentParameter: "target, attachment, pname", 1822 getParameter: "pname", 1823 getProgramInfoLog: "program", 1824 getProgramParameter: "program, pname", 1825 getRenderbufferParameter: "target, pname", 1826 getShaderInfoLog: "shader", 1827 getShaderParameter: "shader, pname", 1828 getShaderPrecisionFormat: "shadertype, precisiontype", 1829 getShaderSource: "shader", 1830 getTexParameter: "target, pname", 1831 getUniform: "program, location", 1832 getUniformLocation: "program, name", 1833 getVertexAttrib: "index, pname", 1834 getVertexAttribOffset: "index, pname", 1835 hint: "target, mode", 1836 isBuffer: "buffer", 1837 isEnabled: "cap", 1838 isFramebuffer: "framebuffer", 1839 isProgram: "program", 1840 isRenderbuffer: "renderbuffer", 1841 isShader: "shader", 1842 isTexture: "texture", 1843 lineWidth: "width", 1844 linkProgram: "program", 1845 pixelStorei: "pname, param", 1846 polygonOffset: "factor, units", 1847 readPixels: "x, y, width, height, format, type, pixels", 1848 renderbufferStorage: "target, internalformat, width, height", 1849 sampleCoverage: "value, invert", 1850 scissor: "x, y, width, height", 1851 shaderSource: "shader, string", 1852 stencilFunc: "func, ref, mask", 1853 stencilFuncSeparate: "face, func, ref, mask", 1854 stencilMask: "mask", 1855 stencilMaskSeparate: "face, mask", 1856 stencilOp: "fail, zfail, zpass", 1857 stencilOpSeparate: "face, fail, zfail, zpass", 1858 texImage2D: "target, level, internalformat, width, height, border, format, type, pixels", 1859 texParameterf: "target, pname, param", 1860 texParameteri: "target, pname, param", 1861 texSubImage2D: "target, level, xoffset, yoffset, width, height, format, type, pixels", 1862 uniform1f: "location, x", 1863 uniform1fv: "location, v", 1864 uniform1i: "location, x", 1865 uniform1iv: "location, v", 1866 uniform2f: "location, x, y", 1867 uniform2fv: "location, v", 1868 uniform2i: "location, x, y", 1869 uniform2iv: "location, v", 1870 uniform3f: "location, x, y, z", 1871 uniform3fv: "location, v", 1872 uniform3i: "location, x, y, z", 1873 uniform3iv: "location, v", 1874 uniform4f: "location, x, y, z, w", 1875 uniform4fv: "location, v", 1876 uniform4i: "location, x, y, z, w", 1877 uniform4iv: "location, v", 1878 uniformMatrix2fv: "location, transpose, array", 1879 uniformMatrix3fv: "location, transpose, array", 1880 uniformMatrix4fv: "location, transpose, array", 1881 useProgram: "program", 1882 validateProgram: "program", 1883 vertexAttrib1f: "indx, x", 1884 vertexAttrib1fv: "indx, values", 1885 vertexAttrib2f: "indx, x, y", 1886 vertexAttrib2fv: "indx, values", 1887 vertexAttrib3f: "indx, x, y, z", 1888 vertexAttrib3fv: "indx, values", 1889 vertexAttrib4f: "indx, x, y, z, w", 1890 vertexAttrib4fv: "indx, values", 1891 vertexAttribPointer: "indx, size, type, normalized, stride, offset", 1892 viewport: "x, y, width, height", 1893 __proto__: null, 1894 }, 1895 1896 WebKitCSSMatrix: { 1897 multiply: "[secondMatrix]", 1898 rotate: "[rotX], [rotY], [rotZ]", 1899 rotateAxisAngle: "[x], [y], [z], [angle]", 1900 scale: "[scaleX], [scaleY], [scaleZ]", 1901 setMatrixValue: "[string]", 1902 skewX: "[angle]", 1903 skewY: "[angle]", 1904 translate: "[x], [y], [z]", 1905 __proto__: null, 1906 }, 1907 1908 WebKitMediaKeySession: { 1909 update: "key", 1910 __proto__: null, 1911 }, 1912 1913 WebKitMediaKeys: { 1914 createSession: "[type], [initData]", 1915 __proto__: null, 1916 }, 1917 1918 WebKitNamedFlow: { 1919 getRegionsByContent: "contentNode", 1920 __proto__: null, 1921 }, 1922 1923 WebKitNamedFlowCollection: { 1924 item: "index", 1925 namedItem: "name", 1926 __proto__: null, 1927 }, 1928 1929 WebKitSubtleCrypto: { 1930 decrypt: "algorithm, key, data", 1931 digest: "algorithm, data", 1932 encrypt: "algorithm, key, data", 1933 exportKey: "format, key", 1934 generateKey: "algorithm, [extractable], [keyUsages]", 1935 importKey: "format, keyData, algorithm, [extractable], [keyUsages]", 1936 sign: "algorithm, key, data", 1937 unwrapKey: "format, wrappedKey, unwrappingKey, unwrapAlgorithm, unwrappedKeyAlgorithm, [extractable], [keyUsages]", 1938 verify: "algorithm, key, signature, data", 1939 wrapKey: "format, key, wrappingKey, wrapAlgorithm", 1940 __proto__: null, 1941 }, 1942 1943 WebSocket: { 1944 close: "[code], [reason]", 1945 send: "data", 1946 __proto__: null, 1947 }, 1948 1949 WheelEvent: { 1950 initWebKitWheelEvent: "[wheelDeltaX], [wheelDeltaY], [view], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey]", 1951 __proto__: null, 1952 }, 1953 1954 Worker: { 1955 postMessage: "message, [messagePorts]", 1956 __proto__: null, 1957 }, 1958 1959 WorkerGlobalScope: { 1960 clearInterval: "[handle]", 1961 clearTimeout: "[handle]", 1962 setInterval: "handler, [timeout]", 1963 setTimeout: "handler, [timeout]", 1964 __proto__: null, 1965 }, 1966 1967 XMLHttpRequest: { 1968 getResponseHeader: "header", 1969 open: "method, url, [async], [user], [password]", 1970 overrideMimeType: "override", 1971 setRequestHeader: "header, value", 1972 __proto__: null, 1973 }, 1974 1975 XMLHttpRequestUpload: { 1976 /* EventTarget */ 1977 __proto__: null, 1978 }, 1979 1980 XMLSerializer: { 1981 serializeToString: "[node]", 1982 __proto__: null, 1983 }, 1984 1985 XPathEvaluator: { 1986 createExpression: "[expression], [resolver]", 1987 createNSResolver: "[nodeResolver]", 1988 evaluate: "[expression], [contextNode], [resolver], [type], [inResult]", 1989 __proto__: null, 1990 }, 1991 1992 XPathExpression: { 1993 evaluate: "[contextNode], [type], [inResult]", 1994 __proto__: null, 1995 }, 1996 1997 XPathNSResolver: { 1998 lookupNamespaceURI: "[prefix]", 1999 __proto__: null, 2000 }, 2001 2002 XPathResult: { 2003 snapshotItem: "[index]", 2004 __proto__: null, 2005 }, 2006 2007 XSLTProcessor: { 2008 getParameter: "namespaceURI, localName", 2009 importStylesheet: "[stylesheet]", 2010 removeParameter: "namespaceURI, localName", 2011 setParameter: "namespaceURI, localName, value", 2012 transformToDocument: "[source]", 2013 transformToFragment: "[source], [docVal]", 2014 __proto__: null, 2015 }, 2016 2017 webkitAudioContext: { 2018 createBuffer: "numberOfChannels, numberOfFrames, sampleRate", 2019 createChannelMerger: "[numberOfInputs]", 2020 createChannelSplitter: "[numberOfOutputs]", 2021 createDelay: "[maxDelayTime]", 2022 createDelayNode: "[maxDelayTime]", 2023 createJavaScriptNode: "bufferSize, [numberOfInputChannels], [numberOfOutputChannels]", 2024 createMediaElementSource: "mediaElement", 2025 createPeriodicWave: "real, imag", 2026 createScriptProcessor: "bufferSize, [numberOfInputChannels], [numberOfOutputChannels]", 2027 decodeAudioData: "audioData, successCallback, [errorCallback]", 2028 __proto__: null, 2029 }, 2030 2031 webkitAudioPannerNode: { 2032 setOrientation: "x, y, z", 2033 setPosition: "x, y, z", 2034 setVelocity: "x, y, z", 2035 __proto__: null, 2036 }, 2037 2038 webkitMediaStream: { 2039 addTrack: "track", 2040 getTrackById: "trackId", 2041 removeTrack: "track", 2042 __proto__: null, 2043 }, 2044 2045 webkitRTCPeerConnection: { 2046 addIceCandidate: "candidate, successCallback, failureCallback", 2047 addStream: "stream", 2048 createAnswer: "successCallback, failureCallback, [answerOptions]", 2049 createDTMFSender: "track", 2050 createDataChannel: "label, [options]", 2051 createOffer: "successCallback, failureCallback, [offerOptions]", 2052 getStats: "successCallback, failureCallback, [selector]", 2053 getStreamById: "streamId", 2054 removeStream: "stream", 2055 setLocalDescription: "description, successCallback, failureCallback", 2056 setRemoteDescription: "description, successCallback, failureCallback", 2057 updateIce: "configuration", 419 2058 __proto__: null, 420 2059 }, … … 435 2074 }; 436 2075 437 mixin(WebInspector.NativePrototypeFunctionParameters.Node, EventTarget); 438 mixin(WebInspector.NativePrototypeFunctionParameters.Window, EventTarget); 2076 var eventTargetTypes = [ 2077 "Node", "Window", 2078 "AudioNode", "AudioTrackList", "DOMApplicationCache", "FileReader", "FontLoader", 2079 "MediaController", "MediaStreamTrack", "MessagePort", "Notification", "RTCDTMFSender", 2080 "SpeechSynthesisUtterance", "TextTrack", "TextTrackCue", "TextTrackList", 2081 "VideoTrackList", "WebKitMediaKeySession", "WebKitNamedFlow", "WebSocket", 2082 "WorkerGlobalScope", "XMLHttpRequest", "webkitMediaStream", "webkitRTCPeerConnection" 2083 ]; 2084 2085 for (var type of eventTargetTypes) 2086 mixin(WebInspector.NativePrototypeFunctionParameters[type], EventTarget); 439 2087 440 2088 var ElementQueries = { 441 getElementsByClassName: " names",2089 getElementsByClassName: "classNames", 442 2090 getElementsByTagName: "tagName", 443 2091 getElementsByTagNameNS: "namespace, localName", -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js
r181186 r181614 271 271 } 272 272 } 273 } 273 274 // Native DOM constructor. 275 if (this._propertyPath.object.description.endsWith("Constructor")) { 276 var name = this._propertyPath.object.description; 277 if (WebInspector.NativeConstructorFunctionParameters[name]) { 278 var params = WebInspector.NativeConstructorFunctionParameters[name][this._property.name]; 279 return params ? "(" + params + ")" : "()"; 280 } 281 } 282 } 274 283 275 284 var match = resolvedValue.description.match(/^function.*?(\([^)]+?\))/);
Note:
See TracChangeset
for help on using the changeset viewer.