<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[181614] trunk/Source/WebInspectorUI</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/181614">181614</a></dd>
<dt>Author</dt> <dd>joepeck@webkit.org</dd>
<dt>Date</dt> <dd>2015-03-16 21:41:36 -0700 (Mon, 16 Mar 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Web Inspector: Add more DOM Native Function parameter strings
https://bugs.webkit.org/show_bug.cgi?id=142760
Reviewed by Timothy Hatcher.
* UserInterface/Models/NativeFunctionParameters.js:
Add native parameter strings generated and hand modified
for DOM built-in classes.
* UserInterface/Views/ObjectTreePropertyTreeElement.js:
For native constructors "FooConstructor" the description is just
the name of the Constructor not the function string.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceModelsNativeFunctionParametersjs">trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsObjectTreePropertyTreeElementjs">trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (181613 => 181614)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2015-03-17 04:41:34 UTC (rev 181613)
+++ trunk/Source/WebInspectorUI/ChangeLog        2015-03-17 04:41:36 UTC (rev 181614)
</span><span class="lines">@@ -1,5 +1,20 @@
</span><span class="cx"> 2015-03-16 Joseph Pecoraro <pecoraro@apple.com>
</span><span class="cx">
</span><ins>+ Web Inspector: Add more DOM Native Function parameter strings
+ https://bugs.webkit.org/show_bug.cgi?id=142760
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Models/NativeFunctionParameters.js:
+ Add native parameter strings generated and hand modified
+ for DOM built-in classes.
+
+ * UserInterface/Views/ObjectTreePropertyTreeElement.js:
+ For native constructors "FooConstructor" the description is just
+ the name of the Constructor not the function string.
+
+2015-03-16 Joseph Pecoraro <pecoraro@apple.com>
+
</ins><span class="cx"> Web Inspector: Object Previews in Indexed DB tables
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=140813
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceModelsNativeFunctionParametersjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js (181613 => 181614)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js        2015-03-17 04:41:34 UTC (rev 181613)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js        2015-03-17 04:41:36 UTC (rev 181614)
</span><span class="lines">@@ -133,6 +133,42 @@
</span><span class="cx"> keyFor: "symbol",
</span><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><ins>+
+ // Autogenerated DOM Interface static methods.
+
+ IDBKeyRangeConstructor: {
+ bound: "lower, upper, [lowerOpen], [upperOpen]",
+ lowerBound: "lower, [open]",
+ only: "value",
+ upperBound: "upper, [open]",
+ __proto__: null,
+ },
+
+ MediaSourceConstructor: {
+ isTypeSupported: "type",
+ __proto__: null,
+ },
+
+ MediaStreamTrackConstructor: {
+ getSources: "callback",
+ __proto__: null,
+ },
+
+ NotificationConstructor: {
+ requestPermission: "[callback]",
+ __proto__: null,
+ },
+
+ URLConstructor: {
+ createObjectURL: "blob",
+ revokeObjectURL: "url",
+ __proto__: null,
+ },
+
+ WebKitMediaKeysConstructor: {
+ isTypeSupported: "keySystem, [type]",
+ __proto__: null,
+ },
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> WebInspector.NativePrototypeFunctionParameters = {
</span><span class="lines">@@ -281,35 +317,24 @@
</span><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><del>- // DOM objects.
- // FIXME: Many idls. Generate?
</del><ins>+ // Curated DOM Interfaces.
</ins><span class="cx">
</span><del>- HTMLElement: {
- insertAdjacentElement: "position, [element]",
- insertAdjacentHTML: "position, [html]",
- insertAdjacentText: "position, [text]",
- __proto__: null,
- },
-
</del><span class="cx"> Element: {
</span><span class="cx"> closest: "selectors",
</span><span class="cx"> getAttribute: "attributeName",
</span><span class="cx"> getAttributeNS: "namespace, attributeName",
</span><span class="cx"> getAttributeNode: "attributeName",
</span><span class="cx"> getAttributeNodeNS: "namespace, attributeName",
</span><del>- getElementsByClassName: "names",
- getElementsByTagName: "tagName",
- getElementsByTagNameNS: "namespace, localName",
</del><span class="cx"> hasAttribute: "attributeName",
</span><span class="cx"> hasAttributeNS: "namespace, attributeName",
</span><span class="cx"> matches: "selector",
</span><span class="cx"> removeAttribute: "attributeName",
</span><span class="cx"> removeAttributeNS: "namespace, attributeName",
</span><span class="cx"> removeAttributeNode: "attributeName",
</span><ins>+ scrollByLines: "[lines]",
+ scrollByPages: "[pages]",
</ins><span class="cx"> scrollIntoView: "[alignWithTop]",
</span><span class="cx"> scrollIntoViewIfNeeded: "[centerIfNeeded]",
</span><del>- scrollByLines: "[lines]",
- scrollByPages: "[pages]",
</del><span class="cx"> setAttribute: "name, value",
</span><span class="cx"> setAttributeNS: "namespace, name, value",
</span><span class="cx"> setAttributeNode: "attributeNode",
</span><span class="lines">@@ -320,12 +345,12 @@
</span><span class="cx">
</span><span class="cx"> Node: {
</span><span class="cx"> appendChild: "child",
</span><del>- cloneNode: "deep",
- compareDocumentPosition: "node",
- contains: "node",
</del><ins>+ cloneNode: "[deep]",
+ compareDocumentPosition: "[node]",
+ contains: "[node]",
</ins><span class="cx"> insertBefore: "insertElement, referenceElement",
</span><del>- isDefaultNamespace: "namespace",
- isEqualNode: "node",
</del><ins>+ isDefaultNamespace: "[namespace]",
+ isEqualNode: "[node]",
</ins><span class="cx"> lookupNamespaceURI: "prefix",
</span><span class="cx"> removeChild: "node",
</span><span class="cx"> replaceChild: "newChild, oldChild",
</span><span class="lines">@@ -333,50 +358,46 @@
</span><span class="cx"> },
</span><span class="cx">
</span><span class="cx"> Window: {
</span><del>- alert: "message",
</del><ins>+ alert: "[message]",
</ins><span class="cx"> atob: "encodedData",
</span><span class="cx"> btoa: "stringToEncode",
</span><ins>+ cancelAnimationFrame: "id",
+ clearInterval: "intervalId",
</ins><span class="cx"> clearTimeout: "timeoutId",
</span><del>- confirm: "message",
</del><ins>+ confirm: "[message]",
</ins><span class="cx"> find: "string, [caseSensitive], [backwards], [wrapAround]",
</span><del>- getComputedStyle: "element, [pseudoElement]",
</del><ins>+ getComputedStyle: "[element], [pseudoElement]",
+ getMatchedCSSRules: "[element], [pseudoElement]",
</ins><span class="cx"> matchMedia: "mediaQueryString",
</span><del>- moveBy: "deltaX, deltaY",
- moveTo: "screenX, screenY",
</del><ins>+ moveBy: "[deltaX], [deltaY]",
+ moveTo: "[screenX], [screenY]",
</ins><span class="cx"> open: "url, windowName, [featuresString]",
</span><ins>+ openDatabase: "name, version, displayName, estimatedSize, [creationCallback]",
</ins><span class="cx"> postMessage: "message, targetOrigin, [...transferables]",
</span><del>- prompt: "text, [value]",
- resizeBy: "deltaX, deltaY",
- resizeTo: "width, height",
- scrollBy: "deltaX, deltaY",
- scrollTo: "x, y",
</del><ins>+ prompt: "[message], [value]",
+ requestAnimationFrame: "callback",
+ resizeBy: "[deltaX], [deltaY]",
+ resizeTo: "[width], [height]",
+ scrollBy: "[deltaX], [deltaY]",
+ scrollTo: "[x], [y]",
</ins><span class="cx"> setInterval: "func, [delay], [...params]",
</span><span class="cx"> setTimeout: "func, [delay], [...params]",
</span><span class="cx"> showModalDialog: "url, [arguments], [options]",
</span><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><del>- Event: {
- initEvent: "type, bubbles, cancelable",
- __proto__: null,
- },
-
- HTMLDocument: {
- write: "html",
- writeln: "html",
- __proto__: null,
- },
-
</del><span class="cx"> Document: {
</span><del>- adoptNode: "node",
- caretPositionFromPoint: "x, y",
</del><ins>+ adoptNode: "[node]",
+ caretRangeFromPoint: "[x], [y]",
</ins><span class="cx"> createAttribute: "attributeName",
</span><ins>+ createAttributeNS: "namespace, qualifiedName",
</ins><span class="cx"> createCDATASection: "data",
</span><span class="cx"> createComment: "data",
</span><span class="cx"> createElement: "tagName",
</span><span class="cx"> createElementNS: "namespace, qualifiedName",
</span><ins>+ createEntityReference: "name",
</ins><span class="cx"> createEvent: "type",
</span><del>- createExpression: "xpath, namespaceURLMapper",
</del><ins>+ createExpression: "xpath, resolver",
</ins><span class="cx"> createNSResolver: "node",
</span><span class="cx"> createNodeIterator: "root, whatToShow, filter",
</span><span class="cx"> createProcessingInstruction: "target, data",
</span><span class="lines">@@ -385,39 +406,1657 @@
</span><span class="cx"> elementFromPoint: "x, y",
</span><span class="cx"> evaluate: "xpath, contextNode, namespaceResolver, resultType, result",
</span><span class="cx"> execCommand: "command, userInterface, value",
</span><ins>+ getCSSCanvasContext: "contextId, name, width, height",
</ins><span class="cx"> getElementById: "id",
</span><span class="cx"> getElementsByName: "name",
</span><ins>+ getOverrideStyle: "[element], [pseudoElement]",
</ins><span class="cx"> importNode: "node, deep",
</span><ins>+ queryCommandEnabled: "command",
+ queryCommandIndeterm: "command",
+ queryCommandState: "command",
+ queryCommandSupported: "command",
+ queryCommandValue: "command",
</ins><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><ins>+ // Autogenerated DOM Interfaces.
+
+ ANGLEInstancedArrays: {
+ drawArraysInstancedANGLE: "mode, first, count, primcount",
+ drawElementsInstancedANGLE: "mode, count, type, offset, primcount",
+ vertexAttribDivisorANGLE: "index, divisor",
+ __proto__: null,
+ },
+
+ AnalyserNode: {
+ getByteFrequencyData: "array",
+ getByteTimeDomainData: "array",
+ getFloatFrequencyData: "array",
+ __proto__: null,
+ },
+
+ AudioBuffer: {
+ getChannelData: "channelIndex",
+ __proto__: null,
+ },
+
+ AudioBufferCallback: {
+ handleEvent: "audioBuffer",
+ __proto__: null,
+ },
+
+ AudioBufferSourceNode: {
+ noteGrainOn: "when, grainOffset, grainDuration",
+ noteOff: "when",
+ noteOn: "when",
+ start: "[when], [grainOffset], [grainDuration]",
+ stop: "[when]",
+ __proto__: null,
+ },
+
+ AudioListener: {
+ setOrientation: "x, y, z, xUp, yUp, zUp",
+ setPosition: "x, y, z",
+ setVelocity: "x, y, z",
+ __proto__: null,
+ },
+
+ AudioNode: {
+ connect: "destination, [output], [input]",
+ disconnect: "[output]",
+ __proto__: null,
+ },
+
+ AudioParam: {
+ cancelScheduledValues: "startTime",
+ exponentialRampToValueAtTime: "value, time",
+ linearRampToValueAtTime: "value, time",
+ setTargetAtTime: "target, time, timeConstant",
+ setTargetValueAtTime: "targetValue, time, timeConstant",
+ setValueAtTime: "value, time",
+ setValueCurveAtTime: "values, time, duration",
+ __proto__: null,
+ },
+
+ AudioTrackList: {
+ getTrackById: "id",
+ item: "index",
+ __proto__: null,
+ },
+
+ BiquadFilterNode: {
+ getFrequencyResponse: "frequencyHz, magResponse, phaseResponse",
+ __proto__: null,
+ },
+
+ Blob: {
+ slice: "[start], [end], [contentType]",
+ __proto__: null,
+ },
+
+ CSS: {
+ supports: "property, value",
+ __proto__: null,
+ },
+
+ CSSKeyframesRule: {
+ appendRule: "[rule]",
+ deleteRule: "[key]",
+ findRule: "[key]",
+ insertRule: "[rule]",
+ __proto__: null,
+ },
+
+ CSSMediaRule: {
+ deleteRule: "[index]",
+ insertRule: "[rule], [index]",
+ __proto__: null,
+ },
+
+ CSSPrimitiveValue: {
+ getFloatValue: "[unitType]",
+ setFloatValue: "[unitType], [floatValue]",
+ setStringValue: "[stringType], [stringValue]",
+ __proto__: null,
+ },
+
+ CSSRuleList: {
+ item: "[index]",
+ __proto__: null,
+ },
+
+ CSSStyleDeclaration: {
+ getPropertyCSSValue: "[propertyName]",
+ getPropertyPriority: "[propertyName]",
+ getPropertyShorthand: "[propertyName]",
+ getPropertyValue: "[propertyName]",
+ isPropertyImplicit: "[propertyName]",
+ item: "[index]",
+ removeProperty: "[propertyName]",
+ setProperty: "[propertyName], [value], [priority]",
+ __proto__: null,
+ },
+
+ CSSStyleSheet: {
+ addRule: "[selector], [style], [index]",
+ deleteRule: "[index]",
+ insertRule: "[rule], [index]",
+ removeRule: "[index]",
+ __proto__: null,
+ },
+
+ CSSSupportsRule: {
+ deleteRule: "[index]",
+ insertRule: "[rule], [index]",
+ __proto__: null,
+ },
+
+ CSSValueList: {
+ item: "[index]",
+ __proto__: null,
+ },
+
+ CanvasGradient: {
+ addColorStop: "[offset], [color]",
+ __proto__: null,
+ },
+
+ CanvasRenderingContext2D: {
+ arc: "x, y, radius, startAngle, endAngle, [anticlockwise]",
+ arcTo: "x1, y1, x2, y2, radius",
+ bezierCurveTo: "cp1x, cp1y, cp2x, cp2y, x, y",
+ clearRect: "x, y, width, height",
+ clip: "path, [winding]",
+ createImageData: "imagedata",
+ createLinearGradient: "x0, y0, x1, y1",
+ createPattern: "canvas, repetitionType",
+ createRadialGradient: "x0, y0, r0, x1, y1, r1",
+ drawFocusIfNeeded: "element",
+ drawImage: "image, x, y",
+ drawImageFromRect: "image, [sx], [sy], [sw], [sh], [dx], [dy], [dw], [dh], [compositeOperation]",
+ ellipse: "x, y, radiusX, radiusY, rotation, startAngle, endAngle, [anticlockwise]",
+ fill: "path, [winding]",
+ fillRect: "x, y, width, height",
+ fillText: "text, x, y, [maxWidth]",
+ getImageData: "sx, sy, sw, sh",
+ isPointInPath: "path, x, y, [winding]",
+ isPointInStroke: "path, x, y",
+ lineTo: "x, y",
+ measureText: "text",
+ moveTo: "x, y",
+ putImageData: "imagedata, dx, dy",
+ quadraticCurveTo: "cpx, cpy, x, y",
+ rect: "x, y, width, height",
+ rotate: "angle",
+ scale: "sx, sy",
+ setAlpha: "[alpha]",
+ setCompositeOperation: "[compositeOperation]",
+ setFillColor: "color, [alpha]",
+ setLineCap: "[cap]",
+ setLineDash: "dash",
+ setLineJoin: "[join]",
+ setLineWidth: "[width]",
+ setMiterLimit: "[limit]",
+ setShadow: "width, height, blur, [color], [alpha]",
+ setStrokeColor: "color, [alpha]",
+ setTransform: "m11, m12, m21, m22, dx, dy",
+ stroke: "path",
+ strokeRect: "x, y, width, height",
+ strokeText: "text, x, y, [maxWidth]",
+ transform: "m11, m12, m21, m22, dx, dy",
+ translate: "tx, ty",
+ webkitGetImageDataHD: "sx, sy, sw, sh",
+ webkitPutImageDataHD: "imagedata, dx, dy",
+ __proto__: null,
+ },
+
+ CharacterData: {
+ appendData: "[data]",
+ deleteData: "[offset], [length]",
+ insertData: "[offset], [data]",
+ replaceData: "[offset], [length], [data]",
+ substringData: "[offset], [length]",
+ __proto__: null,
+ },
+
+ ClientRectList: {
+ item: "[index]",
+ __proto__: null,
+ },
+
+ CommandLineAPIHost: {
+ copyText: "text",
+ databaseId: "database",
+ getEventListeners: "node",
+ inspect: "objectId, hints",
+ storageId: "storage",
+ __proto__: null,
+ },
+
+ CompositionEvent: {
+ initCompositionEvent: "[typeArg], [canBubbleArg], [cancelableArg], [viewArg], [dataArg]",
+ __proto__: null,
+ },
+
+ Crypto: {
+ getRandomValues: "array",
+ __proto__: null,
+ },
+
+ CustomEvent: {
+ initCustomEvent: "[typeArg], [canBubbleArg], [cancelableArg], [detailArg]",
+ __proto__: null,
+ },
+
+ DOMApplicationCache: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ DOMImplementation: {
+ createCSSStyleSheet: "[title], [media]",
+ createDocument: "[namespaceURI], [qualifiedName], [doctype]",
+ createDocumentType: "[qualifiedName], [publicId], [systemId]",
+ createHTMLDocument: "[title]",
+ hasFeature: "[feature], [version]",
+ __proto__: null,
+ },
+
+ DOMParser: {
+ parseFromString: "[str], [contentType]",
+ __proto__: null,
+ },
+
+ DOMStringList: {
+ contains: "[string]",
+ item: "[index]",
+ __proto__: null,
+ },
+
+ DOMTokenList: {
+ add: "tokens...",
+ contains: "token",
+ item: "index",
+ remove: "tokens...",
+ toggle: "token, [force]",
+ __proto__: null,
+ },
+
+ DataTransfer: {
+ clearData: "[type]",
+ getData: "type",
+ setData: "type, data",
+ setDragImage: "image, x, y",
+ __proto__: null,
+ },
+
+ DataTransferItem: {
+ getAsString: "[callback]",
+ __proto__: null,
+ },
+
+ DataTransferItemList: {
+ add: "file",
+ item: "[index]",
+ __proto__: null,
+ },
+
+ Database: {
+ changeVersion: "oldVersion, newVersion, [callback], [errorCallback], [successCallback]",
+ readTransaction: "callback, [errorCallback], [successCallback]",
+ transaction: "callback, [errorCallback], [successCallback]",
+ __proto__: null,
+ },
+
+ DatabaseCallback: {
+ handleEvent: "database",
+ __proto__: null,
+ },
+
+ DedicatedWorkerGlobalScope: {
+ postMessage: "message, [messagePorts]",
+ __proto__: null,
+ },
+
+ DeviceMotionEvent: {
+ initDeviceMotionEvent: "[type], [bubbles], [cancelable], [acceleration], [accelerationIncludingGravity], [rotationRate], [interval]",
+ __proto__: null,
+ },
+
+ DeviceOrientationEvent: {
+ initDeviceOrientationEvent: "[type], [bubbles], [cancelable], [alpha], [beta], [gamma], [absolute]",
+ __proto__: null,
+ },
+
+ DocumentFragment: {
+ querySelector: "selectors",
+ querySelectorAll: "selectors",
+ __proto__: null,
+ },
+
+ Event: {
+ initEvent: "[type], [canBubble], [cancelable]",
+ __proto__: null,
+ },
+
+ FileList: {
+ item: "index",
+ __proto__: null,
+ },
+
+ FileReader: {
+ readAsArrayBuffer: "blob",
+ readAsBinaryString: "blob",
+ readAsDataURL: "blob",
+ readAsText: "blob, [encoding]",
+ __proto__: null,
+ },
+
+ FileReaderSync: {
+ readAsArrayBuffer: "blob",
+ readAsBinaryString: "blob",
+ readAsDataURL: "blob",
+ readAsText: "blob, [encoding]",
+ __proto__: null,
+ },
+
+ FontLoader: {
+ checkFont: "font, [text]",
+ loadFont: "params",
+ notifyWhenFontsReady: "callback",
+ __proto__: null,
+ },
+
+ FormData: {
+ append: "[name], [value], [filename]",
+ __proto__: null,
+ },
+
</ins><span class="cx"> Geolocation: {
</span><del>- clearWatch: "watchId",
- getCurrentPosition: "successHandler, [errorHandler], [options]",
- watchPosition: "successHandler, [errorHandler], [options]",
</del><ins>+ clearWatch: "watchID",
+ getCurrentPosition: "successCallback, [errorCallback], [options]",
+ watchPosition: "successCallback, [errorCallback], [options]",
</ins><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><ins>+ HTMLAllCollection: {
+ item: "[index]",
+ namedItem: "name",
+ tags: "name",
+ __proto__: null,
+ },
+
+ HTMLButtonElement: {
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLCanvasElement: {
+ getContext: "[contextId]",
+ probablySupportsContext: "[contextId]",
+ toDataURL: "[type]",
+ __proto__: null,
+ },
+
+ HTMLCollection: {
+ item: "[index]",
+ namedItem: "[name]",
+ __proto__: null,
+ },
+
+ HTMLDocument: {
+ write: "[html]",
+ writeln: "[html]",
+ __proto__: null,
+ },
+
+ HTMLElement: {
+ insertAdjacentElement: "[position], [element]",
+ insertAdjacentHTML: "[position], [html]",
+ insertAdjacentText: "[position], [text]",
+ __proto__: null,
+ },
+
+ HTMLFieldSetElement: {
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLFormControlsCollection: {
+ namedItem: "[name]",
+ __proto__: null,
+ },
+
+ HTMLInputElement: {
+ setCustomValidity: "error",
+ setRangeText: "replacement",
+ setSelectionRange: "[start], [end], [direction]",
+ stepDown: "[n]",
+ stepUp: "[n]",
+ __proto__: null,
+ },
+
+ HTMLKeygenElement: {
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLMediaElement: {
+ addTextTrack: "kind, [label], [language]",
+ canPlayType: "[type], [keySystem]",
+ fastSeek: "time",
+ webkitAddKey: "keySystem, key, [initData], [sessionId]",
+ webkitCancelKeyRequest: "keySystem, [sessionId]",
+ webkitGenerateKeyRequest: "keySystem, [initData]",
+ webkitSetMediaKeys: "mediaKeys",
+ __proto__: null,
+ },
+
+ HTMLObjectElement: {
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLOptionsCollection: {
+ add: "element, [before]",
+ namedItem: "[name]",
+ remove: "[index]",
+ __proto__: null,
+ },
+
+ HTMLOutputElement: {
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLSelectElement: {
+ add: "element, [before]",
+ item: "index",
+ namedItem: "[name]",
+ setCustomValidity: "error",
+ __proto__: null,
+ },
+
+ HTMLTableElement: {
+ deleteRow: "[index]",
+ insertRow: "[index]",
+ __proto__: null,
+ },
+
+ HTMLTableRowElement: {
+ deleteCell: "[index]",
+ insertCell: "[index]",
+ __proto__: null,
+ },
+
+ HTMLTableSectionElement: {
+ deleteRow: "[index]",
+ insertRow: "[index]",
+ __proto__: null,
+ },
+
+ HTMLTextAreaElement: {
+ setCustomValidity: "error",
+ setRangeText: "replacement",
+ setSelectionRange: "[start], [end], [direction]",
+ __proto__: null,
+ },
+
+ HTMLVideoElement: {
+ webkitSetPresentationMode: "mode",
+ webkitSupportsPresentationMode: "mode",
+ __proto__: null,
+ },
+
+ HashChangeEvent: {
+ initHashChangeEvent: "[type], [canBubble], [cancelable], [oldURL], [newURL]",
+ __proto__: null,
+ },
+
+ History: {
+ go: "[distance]",
+ pushState: "data, title, [url]",
+ replaceState: "data, title, [url]",
+ __proto__: null,
+ },
+
+ IDBCursor: {
+ advance: "count",
+ continue: "[key]",
+ update: "value",
+ __proto__: null,
+ },
+
+ IDBDatabase: {
+ createObjectStore: "name, [options]",
+ deleteObjectStore: "name",
+ transaction: "storeName, [mode]",
+ __proto__: null,
+ },
+
+ IDBFactory: {
+ cmp: "first, second",
+ deleteDatabase: "name",
+ open: "name, [version]",
+ __proto__: null,
+ },
+
+ IDBIndex: {
+ count: "[range]",
+ get: "key",
+ getKey: "key",
+ openCursor: "[range], [direction]",
+ openKeyCursor: "[range], [direction]",
+ __proto__: null,
+ },
+
+ IDBObjectStore: {
+ add: "value, [key]",
+ count: "[range]",
+ createIndex: "name, keyPath, [options]",
+ delete: "keyRange",
+ deleteIndex: "name",
+ get: "key",
+ index: "name",
+ openCursor: "[range], [direction]",
+ put: "value, [key]",
+ __proto__: null,
+ },
+
+ IDBTransaction: {
+ objectStore: "name",
+ __proto__: null,
+ },
+
+ KeyboardEvent: {
+ initKeyboardEvent: "[type], [canBubble], [cancelable], [view], [keyIdentifier], [location], [ctrlKey], [altKey], [shiftKey], [metaKey], [altGraphKey]",
+ __proto__: null,
+ },
+
+ Location: {
+ assign: "[url]",
+ reload: "[force=false]",
+ replace: "[url]",
+ __proto__: null,
+ },
+
+ MediaController: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ MediaControlsHost: {
+ displayNameForTrack: "track",
+ mediaUIImageData: "partID",
+ setSelectedTextTrack: "track",
+ sortedTrackListForMenu: "trackList",
+ __proto__: null,
+ },
+
+ MediaList: {
+ appendMedium: "[newMedium]",
+ deleteMedium: "[oldMedium]",
+ item: "[index]",
+ __proto__: null,
+ },
+
+ MediaQueryList: {
+ addListener: "[listener]",
+ removeListener: "[listener]",
+ __proto__: null,
+ },
+
+ MediaQueryListListener: {
+ queryChanged: "[list]",
+ __proto__: null,
+ },
+
+ MediaSource: {
+ addSourceBuffer: "type",
+ endOfStream: "[error]",
+ removeSourceBuffer: "buffer",
+ __proto__: null,
+ },
+
+ MediaStreamTrack: {
+ applyConstraints: "constraints",
+ __proto__: null,
+ },
+
+ MediaStreamTrackSourcesCallback: {
+ handleEvent: "sources",
+ __proto__: null,
+ },
+
+ MessageEvent: {
+ initMessageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [dataArg], [originArg], [lastEventIdArg], [sourceArg], [messagePorts]",
+ webkitInitMessageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [dataArg], [originArg], [lastEventIdArg], [sourceArg], [transferables]",
+ __proto__: null,
+ },
+
+ MessagePort: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ MimeTypeArray: {
+ item: "[index]",
+ namedItem: "[name]",
+ __proto__: null,
+ },
+
+ MouseEvent: {
+ initMouseEvent: "[type], [canBubble], [cancelable], [view], [detail], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey], [button], [relatedTarget]",
+ __proto__: null,
+ },
+
+ MutationEvent: {
+ initMutationEvent: "[type], [canBubble], [cancelable], [relatedNode], [prevValue], [newValue], [attrName], [attrChange]",
+ __proto__: null,
+ },
+
+ MutationObserver: {
+ observe: "target, options",
+ __proto__: null,
+ },
+
+ NamedNodeMap: {
+ getNamedItem: "[name]",
+ getNamedItemNS: "[namespaceURI], [localName]",
+ item: "[index]",
+ removeNamedItem: "[name]",
+ removeNamedItemNS: "[namespaceURI], [localName]",
+ setNamedItem: "[node]",
+ setNamedItemNS: "[node]",
+ __proto__: null,
+ },
+
+ Navigator: {
+ webkitGetUserMedia: "options, successCallback, [errorCallback]",
+ __proto__: null,
+ },
+
+ NavigatorUserMediaErrorCallback: {
+ handleEvent: "error",
+ __proto__: null,
+ },
+
+ NavigatorUserMediaSuccessCallback: {
+ handleEvent: "stream",
+ __proto__: null,
+ },
+
+ NodeFilter: {
+ acceptNode: "[n]",
+ __proto__: null,
+ },
+
+ NodeList: {
+ item: "index",
+ __proto__: null,
+ },
+
+ Notification: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ NotificationCenter: {
+ createNotification: "iconUrl, title, body",
+ requestPermission: "[callback]",
+ __proto__: null,
+ },
+
+ NotificationPermissionCallback: {
+ handleEvent: "permission",
+ __proto__: null,
+ },
+
+ OESVertexArrayObject: {
+ bindVertexArrayOES: "[arrayObject]",
+ deleteVertexArrayOES: "[arrayObject]",
+ isVertexArrayOES: "[arrayObject]",
+ __proto__: null,
+ },
+
+ OscillatorNode: {
+ noteOff: "when",
+ noteOn: "when",
+ setPeriodicWave: "wave",
+ start: "[when]",
+ stop: "[when]",
+ __proto__: null,
+ },
+
+ Path2D: {
+ addPath: "path, [transform]",
+ arc: "[x], [y], [radius], [startAngle], [endAngle], [anticlockwise]",
+ arcTo: "[x1], [y1], [x2], [y2], [radius]",
+ bezierCurveTo: "[cp1x], [cp1y], [cp2x], [cp2y], [x], [y]",
+ ellipse: "x, y, radiusX, radiusY, rotation, startAngle, endAngle, [anticlockwise]",
+ lineTo: "[x], [y]",
+ moveTo: "[x], [y]",
+ quadraticCurveTo: "[cpx], [cpy], [x], [y]",
+ rect: "[x], [y], [width], [height]",
+ __proto__: null,
+ },
+
+ Plugin: {
+ item: "[index]",
+ namedItem: "[name]",
+ __proto__: null,
+ },
+
+ PluginArray: {
+ item: "[index]",
+ namedItem: "[name]",
+ refresh: "[reload]",
+ __proto__: null,
+ },
+
+ PositionCallback: {
+ handleEvent: "position",
+ __proto__: null,
+ },
+
+ PositionErrorCallback: {
+ handleEvent: "error",
+ __proto__: null,
+ },
+
+ QuickTimePluginReplacement: {
+ postEvent: "eventName",
+ __proto__: null,
+ },
+
+ RTCDTMFSender: {
+ insertDTMF: "tones, [duration], [interToneGap]",
+ __proto__: null,
+ },
+
+ RTCDataChannel: {
+ send: "data",
+ __proto__: null,
+ },
+
+ RTCPeerConnectionErrorCallback: {
+ handleEvent: "error",
+ __proto__: null,
+ },
+
+ RTCSessionDescriptionCallback: {
+ handleEvent: "sdp",
+ __proto__: null,
+ },
+
+ RTCStatsCallback: {
+ handleEvent: "response",
+ __proto__: null,
+ },
+
+ RTCStatsReport: {
+ stat: "name",
+ __proto__: null,
+ },
+
+ RTCStatsResponse: {
+ namedItem: "[name]",
+ __proto__: null,
+ },
+
+ Range: {
+ collapse: "[toStart]",
+ compareBoundaryPoints: "[how], [sourceRange]",
+ compareNode: "[refNode]",
+ comparePoint: "[refNode], [offset]",
+ createContextualFragment: "[html]",
+ expand: "[unit]",
+ insertNode: "[newNode]",
+ intersectsNode: "[refNode]",
+ isPointInRange: "[refNode], [offset]",
+ selectNode: "[refNode]",
+ selectNodeContents: "[refNode]",
+ setEnd: "[refNode], [offset]",
+ setEndAfter: "[refNode]",
+ setEndBefore: "[refNode]",
+ setStart: "[refNode], [offset]",
+ setStartAfter: "[refNode]",
+ setStartBefore: "[refNode]",
+ surroundContents: "[newParent]",
+ __proto__: null,
+ },
+
+ ReadableStream: {
+ cancel: "reason",
+ pipeThrough: "dest, options",
+ pipeTo: "streams, options",
+ __proto__: null,
+ },
+
+ RequestAnimationFrameCallback: {
+ handleEvent: "highResTime",
+ __proto__: null,
+ },
+
+ SQLResultSetRowList: {
+ item: "index",
+ __proto__: null,
+ },
+
+ SQLStatementCallback: {
+ handleEvent: "transaction, resultSet",
+ __proto__: null,
+ },
+
+ SQLStatementErrorCallback: {
+ handleEvent: "transaction, error",
+ __proto__: null,
+ },
+
+ SQLTransaction: {
+ executeSql: "sqlStatement, arguments, [callback], [errorCallback]",
+ __proto__: null,
+ },
+
+ SQLTransactionCallback: {
+ handleEvent: "transaction",
+ __proto__: null,
+ },
+
+ SQLTransactionErrorCallback: {
+ handleEvent: "error",
+ __proto__: null,
+ },
+
+ SVGAngle: {
+ convertToSpecifiedUnits: "unitType",
+ newValueSpecifiedUnits: "unitType, valueInSpecifiedUnits",
+ __proto__: null,
+ },
+
+ SVGAnimationElement: {
+ beginElementAt: "[offset]",
+ endElementAt: "[offset]",
+ hasExtension: "[extension]",
+ __proto__: null,
+ },
+
+ SVGColor: {
+ setColor: "colorType, rgbColor, iccColor",
+ setRGBColor: "rgbColor",
+ setRGBColorICCColor: "rgbColor, iccColor",
+ __proto__: null,
+ },
+
+ SVGCursorElement: {
+ hasExtension: "[extension]",
+ __proto__: null,
+ },
+
+ SVGDocument: {
+ createEvent: "[eventType]",
+ __proto__: null,
+ },
+
+ SVGElement: {
+ getPresentationAttribute: "[name]",
+ __proto__: null,
+ },
+
+ SVGFEDropShadowElement: {
+ setStdDeviation: "[stdDeviationX], [stdDeviationY]",
+ __proto__: null,
+ },
+
+ SVGFEGaussianBlurElement: {
+ setStdDeviation: "[stdDeviationX], [stdDeviationY]",
+ __proto__: null,
+ },
+
+ SVGFEMorphologyElement: {
+ setRadius: "[radiusX], [radiusY]",
+ __proto__: null,
+ },
+
+ SVGFilterElement: {
+ setFilterRes: "[filterResX], [filterResY]",
+ __proto__: null,
+ },
+
+ SVGGraphicsElement: {
+ getTransformToElement: "[element]",
+ hasExtension: "[extension]",
+ __proto__: null,
+ },
+
+ SVGLength: {
+ convertToSpecifiedUnits: "unitType",
+ newValueSpecifiedUnits: "unitType, valueInSpecifiedUnits",
+ __proto__: null,
+ },
+
+ SVGLengthList: {
+ appendItem: "item",
+ getItem: "index",
+ initialize: "item",
+ insertItemBefore: "item, index",
+ removeItem: "index",
+ replaceItem: "item, index",
+ __proto__: null,
+ },
+
+ SVGMarkerElement: {
+ setOrientToAngle: "[angle]",
+ __proto__: null,
+ },
+
+ SVGMaskElement: {
+ hasExtension: "[extension]",
+ __proto__: null,
+ },
+
+ SVGMatrix: {
+ multiply: "secondMatrix",
+ rotate: "angle",
+ rotateFromVector: "x, y",
+ scale: "scaleFactor",
+ scaleNonUniform: "scaleFactorX, scaleFactorY",
+ skewX: "angle",
+ skewY: "angle",
+ translate: "x, y",
+ __proto__: null,
+ },
+
+ SVGNumberList: {
+ appendItem: "item",
+ getItem: "index",
+ initialize: "item",
+ insertItemBefore: "item, index",
+ removeItem: "index",
+ replaceItem: "item, index",
+ __proto__: null,
+ },
+
+ SVGPaint: {
+ setPaint: "paintType, uri, rgbColor, iccColor",
+ setUri: "uri",
+ __proto__: null,
+ },
+
+ SVGPathElement: {
+ createSVGPathSegArcAbs: "[x], [y], [r1], [r2], [angle], [largeArcFlag], [sweepFlag]",
+ createSVGPathSegArcRel: "[x], [y], [r1], [r2], [angle], [largeArcFlag], [sweepFlag]",
+ createSVGPathSegCurvetoCubicAbs: "[x], [y], [x1], [y1], [x2], [y2]",
+ createSVGPathSegCurvetoCubicRel: "[x], [y], [x1], [y1], [x2], [y2]",
+ createSVGPathSegCurvetoCubicSmoothAbs: "[x], [y], [x2], [y2]",
+ createSVGPathSegCurvetoCubicSmoothRel: "[x], [y], [x2], [y2]",
+ createSVGPathSegCurvetoQuadraticAbs: "[x], [y], [x1], [y1]",
+ createSVGPathSegCurvetoQuadraticRel: "[x], [y], [x1], [y1]",
+ createSVGPathSegCurvetoQuadraticSmoothAbs: "[x], [y]",
+ createSVGPathSegCurvetoQuadraticSmoothRel: "[x], [y]",
+ createSVGPathSegLinetoAbs: "[x], [y]",
+ createSVGPathSegLinetoHorizontalAbs: "[x]",
+ createSVGPathSegLinetoHorizontalRel: "[x]",
+ createSVGPathSegLinetoRel: "[x], [y]",
+ createSVGPathSegLinetoVerticalAbs: "[y]",
+ createSVGPathSegLinetoVerticalRel: "[y]",
+ createSVGPathSegMovetoAbs: "[x], [y]",
+ createSVGPathSegMovetoRel: "[x], [y]",
+ getPathSegAtLength: "[distance]",
+ getPointAtLength: "[distance]",
+ __proto__: null,
+ },
+
+ SVGPathSegList: {
+ appendItem: "newItem",
+ getItem: "index",
+ initialize: "newItem",
+ insertItemBefore: "newItem, index",
+ removeItem: "index",
+ replaceItem: "newItem, index",
+ __proto__: null,
+ },
+
+ SVGPatternElement: {
+ hasExtension: "[extension]",
+ __proto__: null,
+ },
+
+ SVGPoint: {
+ matrixTransform: "matrix",
+ __proto__: null,
+ },
+
+ SVGPointList: {
+ appendItem: "item",
+ getItem: "index",
+ initialize: "item",
+ insertItemBefore: "item, index",
+ removeItem: "index",
+ replaceItem: "item, index",
+ __proto__: null,
+ },
+
+ SVGSVGElement: {
+ checkEnclosure: "[element], [rect]",
+ checkIntersection: "[element], [rect]",
+ createSVGTransformFromMatrix: "[matrix]",
+ getElementById: "[elementId]",
+ getEnclosureList: "[rect], [referenceElement]",
+ getIntersectionList: "[rect], [referenceElement]",
+ setCurrentTime: "[seconds]",
+ suspendRedraw: "[maxWaitMilliseconds]",
+ unsuspendRedraw: "[suspendHandleId]",
+ __proto__: null,
+ },
+
+ SVGStringList: {
+ appendItem: "item",
+ getItem: "index",
+ initialize: "item",
+ insertItemBefore: "item, index",
+ removeItem: "index",
+ replaceItem: "item, index",
+ __proto__: null,
+ },
+
+ SVGTextContentElement: {
+ getCharNumAtPosition: "[point]",
+ getEndPositionOfChar: "[offset]",
+ getExtentOfChar: "[offset]",
+ getRotationOfChar: "[offset]",
+ getStartPositionOfChar: "[offset]",
+ getSubStringLength: "[offset], [length]",
+ selectSubString: "[offset], [length]",
+ __proto__: null,
+ },
+
+ SVGTransform: {
+ setMatrix: "matrix",
+ setRotate: "angle, cx, cy",
+ setScale: "sx, sy",
+ setSkewX: "angle",
+ setSkewY: "angle",
+ setTranslate: "tx, ty",
+ __proto__: null,
+ },
+
+ SVGTransformList: {
+ appendItem: "item",
+ createSVGTransformFromMatrix: "matrix",
+ getItem: "index",
+ initialize: "item",
+ insertItemBefore: "item, index",
+ removeItem: "index",
+ replaceItem: "item, index",
+ __proto__: null,
+ },
+
+ SecurityPolicy: {
+ allowsConnectionTo: "url",
+ allowsFontFrom: "url",
+ allowsFormAction: "url",
+ allowsFrameFrom: "url",
+ allowsImageFrom: "url",
+ allowsMediaFrom: "url",
+ allowsObjectFrom: "url",
+ allowsPluginType: "type",
+ allowsScriptFrom: "url",
+ allowsStyleFrom: "url",
+ __proto__: null,
+ },
+
+ Selection: {
+ addRange: "[range]",
+ collapse: "[node], [index]",
+ containsNode: "[node], [allowPartial]",
+ extend: "[node], [offset]",
+ getRangeAt: "[index]",
+ modify: "[alter], [direction], [granularity]",
+ selectAllChildren: "[node]",
+ setBaseAndExtent: "[baseNode], [baseOffset], [extentNode], [extentOffset]",
+ setPosition: "[node], [offset]",
+ __proto__: null,
+ },
+
+ SourceBuffer: {
+ appendBuffer: "data",
+ remove: "start, end",
+ __proto__: null,
+ },
+
+ SourceBufferList: {
+ item: "index",
+ __proto__: null,
+ },
+
+ SpeechSynthesis: {
+ speak: "utterance",
+ __proto__: null,
+ },
+
+ SpeechSynthesisUtterance: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
</ins><span class="cx"> Storage: {
</span><span class="cx"> getItem: "key",
</span><span class="cx"> key: "index",
</span><span class="cx"> removeItem: "key",
</span><ins>+ setItem: "key, data",
</ins><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><del>- Location: {
- assign: "url",
- reload: "[force=false]",
- replace: "url",
</del><ins>+ StorageErrorCallback: {
+ handleEvent: "error",
</ins><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><span class="cx">
</span><del>- History: {
- go: "distance",
- pushState: "data, title, url",
- replaceState: "data, title, url",
</del><ins>+ StorageEvent: {
+ initStorageEvent: "[typeArg], [canBubbleArg], [cancelableArg], [keyArg], [oldValueArg], [newValueArg], [urlArg], [storageAreaArg]",
</ins><span class="cx"> __proto__: null,
</span><span class="cx"> },
</span><ins>+
+ StorageInfo: {
+ queryUsageAndQuota: "storageType, [usageCallback], [errorCallback]",
+ requestQuota: "storageType, newQuotaInBytes, [quotaCallback], [errorCallback]",
+ __proto__: null,
+ },
+
+ StorageQuota: {
+ queryUsageAndQuota: "usageCallback, [errorCallback]",
+ requestQuota: "newQuotaInBytes, [quotaCallback], [errorCallback]",
+ __proto__: null,
+ },
+
+ StorageQuotaCallback: {
+ handleEvent: "grantedQuotaInBytes",
+ __proto__: null,
+ },
+
+ StorageUsageCallback: {
+ handleEvent: "currentUsageInBytes, currentQuotaInBytes",
+ __proto__: null,
+ },
+
+ StringCallback: {
+ handleEvent: "data",
+ __proto__: null,
+ },
+
+ StyleMedia: {
+ matchMedium: "[mediaquery]",
+ __proto__: null,
+ },
+
+ StyleSheetList: {
+ item: "[index]",
+ __proto__: null,
+ },
+
+ Text: {
+ replaceWholeText: "[content]",
+ splitText: "offset",
+ __proto__: null,
+ },
+
+ TextEvent: {
+ initTextEvent: "[typeArg], [canBubbleArg], [cancelableArg], [viewArg], [dataArg]",
+ __proto__: null,
+ },
+
+ TextTrack: {
+ addCue: "cue",
+ addRegion: "region",
+ removeCue: "cue",
+ removeRegion: "region",
+ __proto__: null,
+ },
+
+ TextTrackCue: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ TextTrackCueList: {
+ getCueById: "id",
+ item: "index",
+ __proto__: null,
+ },
+
+ TextTrackList: {
+ getTrackById: "id",
+ item: "index",
+ __proto__: null,
+ },
+
+ TimeRanges: {
+ end: "index",
+ start: "index",
+ __proto__: null,
+ },
+
+ TouchEvent: {
+ initTouchEvent: "[touches], [targetTouches], [changedTouches], [type], [view], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey]",
+ __proto__: null,
+ },
+
+ TouchList: {
+ item: "index",
+ __proto__: null,
+ },
+
+ UIEvent: {
+ initUIEvent: "[type], [canBubble], [cancelable], [view], [detail]",
+ __proto__: null,
+ },
+
+ UserMessageHandler: {
+ postMessage: "message",
+ __proto__: null,
+ },
+
+ VTTRegionList: {
+ getRegionById: "id",
+ item: "index",
+ __proto__: null,
+ },
+
+ VideoTrackList: {
+ getTrackById: "id",
+ item: "index",
+ __proto__: null,
+ },
+
+ WebGL2RenderingContext: {
+ beginQuery: "target, query",
+ beginTransformFeedback: "primitiveMode",
+ bindBufferBase: "target, index, buffer",
+ bindBufferRange: "target, index, buffer, offset, size",
+ bindSampler: "unit, sampler",
+ bindTransformFeedback: "target, id",
+ bindVertexArray: "vertexArray",
+ blitFramebuffer: "srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter",
+ clearBufferfi: "buffer, drawbuffer, depth, stencil",
+ clearBufferfv: "buffer, drawbuffer, value",
+ clearBufferiv: "buffer, drawbuffer, value",
+ clearBufferuiv: "buffer, drawbuffer, value",
+ clientWaitSync: "sync, flags, timeout",
+ compressedTexImage3D: "target, level, internalformat, width, height, depth, border, imageSize, data",
+ compressedTexSubImage3D: "target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data",
+ copyBufferSubData: "readTarget, writeTarget, readOffset, writeOffset, size",
+ copyTexSubImage3D: "target, level, xoffset, yoffset, zoffset, x, y, width, height",
+ deleteQuery: "query",
+ deleteSampler: "sampler",
+ deleteSync: "sync",
+ deleteTransformFeedback: "id",
+ deleteVertexArray: "vertexArray",
+ drawArraysInstanced: "mode, first, count, instanceCount",
+ drawBuffers: "buffers",
+ drawElementsInstanced: "mode, count, type, offset, instanceCount",
+ drawRangeElements: "mode, start, end, count, type, offset",
+ endQuery: "target",
+ fenceSync: "condition, flags",
+ framebufferTextureLayer: "target, attachment, texture, level, layer",
+ getActiveUniformBlockName: "program, uniformBlockIndex",
+ getActiveUniformBlockParameter: "program, uniformBlockIndex, pname",
+ getActiveUniforms: "program, uniformIndices, pname",
+ getBufferSubData: "target, offset, returnedData",
+ getFragDataLocation: "program, name",
+ getIndexedParameter: "target, index",
+ getInternalformatParameter: "target, internalformat, pname",
+ getQuery: "target, pname",
+ getQueryParameter: "query, pname",
+ getSamplerParameter: "sampler, pname",
+ getSyncParameter: "sync, pname",
+ getTransformFeedbackVarying: "program, index",
+ getUniformBlockIndex: "program, uniformBlockName",
+ getUniformIndices: "program, uniformNames",
+ invalidateFramebuffer: "target, attachments",
+ invalidateSubFramebuffer: "target, attachments, x, y, width, height",
+ isQuery: "query",
+ isSampler: "sampler",
+ isSync: "sync",
+ isTransformFeedback: "id",
+ isVertexArray: "vertexArray",
+ readBuffer: "src",
+ renderbufferStorageMultisample: "target, samples, internalformat, width, height",
+ samplerParameterf: "sampler, pname, param",
+ samplerParameteri: "sampler, pname, param",
+ texImage3D: "target, level, internalformat, width, height, depth, border, format, type, pixels",
+ texStorage2D: "target, levels, internalformat, width, height",
+ texStorage3D: "target, levels, internalformat, width, height, depth",
+ texSubImage3D: "target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels",
+ transformFeedbackVaryings: "program, varyings, bufferMode",
+ uniform1ui: "location, v0",
+ uniform1uiv: "location, value",
+ uniform2ui: "location, v0, v1",
+ uniform2uiv: "location, value",
+ uniform3ui: "location, v0, v1, v2",
+ uniform3uiv: "location, value",
+ uniform4ui: "location, v0, v1, v2, v3",
+ uniform4uiv: "location, value",
+ uniformBlockBinding: "program, uniformBlockIndex, uniformBlockBinding",
+ uniformMatrix2x3fv: "location, transpose, value",
+ uniformMatrix2x4fv: "location, transpose, value",
+ uniformMatrix3x2fv: "location, transpose, value",
+ uniformMatrix3x4fv: "location, transpose, value",
+ uniformMatrix4x2fv: "location, transpose, value",
+ uniformMatrix4x3fv: "location, transpose, value",
+ vertexAttribDivisor: "index, divisor",
+ vertexAttribI4i: "index, x, y, z, w",
+ vertexAttribI4iv: "index, v",
+ vertexAttribI4ui: "index, x, y, z, w",
+ vertexAttribI4uiv: "index, v",
+ vertexAttribIPointer: "index, size, type, stride, offset",
+ waitSync: "sync, flags, timeout",
+ __proto__: null,
+ },
+
+ WebGLDebugShaders: {
+ getTranslatedShaderSource: "shader",
+ __proto__: null,
+ },
+
+ WebGLDrawBuffers: {
+ drawBuffersWEBGL: "buffers",
+ __proto__: null,
+ },
+
+ WebGLRenderingContextBase: {
+ activeTexture: "texture",
+ attachShader: "program, shader",
+ bindAttribLocation: "program, index, name",
+ bindBuffer: "target, buffer",
+ bindFramebuffer: "target, framebuffer",
+ bindRenderbuffer: "target, renderbuffer",
+ bindTexture: "target, texture",
+ blendColor: "red, green, blue, alpha",
+ blendEquation: "mode",
+ blendEquationSeparate: "modeRGB, modeAlpha",
+ blendFunc: "sfactor, dfactor",
+ blendFuncSeparate: "srcRGB, dstRGB, srcAlpha, dstAlpha",
+ bufferData: "target, data, usage",
+ bufferSubData: "target, offset, data",
+ checkFramebufferStatus: "target",
+ clear: "mask",
+ clearColor: "red, green, blue, alpha",
+ clearDepth: "depth",
+ clearStencil: "s",
+ colorMask: "red, green, blue, alpha",
+ compileShader: "shader",
+ compressedTexImage2D: "target, level, internalformat, width, height, border, data",
+ compressedTexSubImage2D: "target, level, xoffset, yoffset, width, height, format, data",
+ copyTexImage2D: "target, level, internalformat, x, y, width, height, border",
+ copyTexSubImage2D: "target, level, xoffset, yoffset, x, y, width, height",
+ createShader: "type",
+ cullFace: "mode",
+ deleteBuffer: "buffer",
+ deleteFramebuffer: "framebuffer",
+ deleteProgram: "program",
+ deleteRenderbuffer: "renderbuffer",
+ deleteShader: "shader",
+ deleteTexture: "texture",
+ depthFunc: "func",
+ depthMask: "flag",
+ depthRange: "zNear, zFar",
+ detachShader: "program, shader",
+ disable: "cap",
+ disableVertexAttribArray: "index",
+ drawArrays: "mode, first, count",
+ drawElements: "mode, count, type, offset",
+ enable: "cap",
+ enableVertexAttribArray: "index",
+ framebufferRenderbuffer: "target, attachment, renderbuffertarget, renderbuffer",
+ framebufferTexture2D: "target, attachment, textarget, texture, level",
+ frontFace: "mode",
+ generateMipmap: "target",
+ getActiveAttrib: "program, index",
+ getActiveUniform: "program, index",
+ getAttachedShaders: "program",
+ getAttribLocation: "program, name",
+ getBufferParameter: "target, pname",
+ getExtension: "name",
+ getFramebufferAttachmentParameter: "target, attachment, pname",
+ getParameter: "pname",
+ getProgramInfoLog: "program",
+ getProgramParameter: "program, pname",
+ getRenderbufferParameter: "target, pname",
+ getShaderInfoLog: "shader",
+ getShaderParameter: "shader, pname",
+ getShaderPrecisionFormat: "shadertype, precisiontype",
+ getShaderSource: "shader",
+ getTexParameter: "target, pname",
+ getUniform: "program, location",
+ getUniformLocation: "program, name",
+ getVertexAttrib: "index, pname",
+ getVertexAttribOffset: "index, pname",
+ hint: "target, mode",
+ isBuffer: "buffer",
+ isEnabled: "cap",
+ isFramebuffer: "framebuffer",
+ isProgram: "program",
+ isRenderbuffer: "renderbuffer",
+ isShader: "shader",
+ isTexture: "texture",
+ lineWidth: "width",
+ linkProgram: "program",
+ pixelStorei: "pname, param",
+ polygonOffset: "factor, units",
+ readPixels: "x, y, width, height, format, type, pixels",
+ renderbufferStorage: "target, internalformat, width, height",
+ sampleCoverage: "value, invert",
+ scissor: "x, y, width, height",
+ shaderSource: "shader, string",
+ stencilFunc: "func, ref, mask",
+ stencilFuncSeparate: "face, func, ref, mask",
+ stencilMask: "mask",
+ stencilMaskSeparate: "face, mask",
+ stencilOp: "fail, zfail, zpass",
+ stencilOpSeparate: "face, fail, zfail, zpass",
+ texImage2D: "target, level, internalformat, width, height, border, format, type, pixels",
+ texParameterf: "target, pname, param",
+ texParameteri: "target, pname, param",
+ texSubImage2D: "target, level, xoffset, yoffset, width, height, format, type, pixels",
+ uniform1f: "location, x",
+ uniform1fv: "location, v",
+ uniform1i: "location, x",
+ uniform1iv: "location, v",
+ uniform2f: "location, x, y",
+ uniform2fv: "location, v",
+ uniform2i: "location, x, y",
+ uniform2iv: "location, v",
+ uniform3f: "location, x, y, z",
+ uniform3fv: "location, v",
+ uniform3i: "location, x, y, z",
+ uniform3iv: "location, v",
+ uniform4f: "location, x, y, z, w",
+ uniform4fv: "location, v",
+ uniform4i: "location, x, y, z, w",
+ uniform4iv: "location, v",
+ uniformMatrix2fv: "location, transpose, array",
+ uniformMatrix3fv: "location, transpose, array",
+ uniformMatrix4fv: "location, transpose, array",
+ useProgram: "program",
+ validateProgram: "program",
+ vertexAttrib1f: "indx, x",
+ vertexAttrib1fv: "indx, values",
+ vertexAttrib2f: "indx, x, y",
+ vertexAttrib2fv: "indx, values",
+ vertexAttrib3f: "indx, x, y, z",
+ vertexAttrib3fv: "indx, values",
+ vertexAttrib4f: "indx, x, y, z, w",
+ vertexAttrib4fv: "indx, values",
+ vertexAttribPointer: "indx, size, type, normalized, stride, offset",
+ viewport: "x, y, width, height",
+ __proto__: null,
+ },
+
+ WebKitCSSMatrix: {
+ multiply: "[secondMatrix]",
+ rotate: "[rotX], [rotY], [rotZ]",
+ rotateAxisAngle: "[x], [y], [z], [angle]",
+ scale: "[scaleX], [scaleY], [scaleZ]",
+ setMatrixValue: "[string]",
+ skewX: "[angle]",
+ skewY: "[angle]",
+ translate: "[x], [y], [z]",
+ __proto__: null,
+ },
+
+ WebKitMediaKeySession: {
+ update: "key",
+ __proto__: null,
+ },
+
+ WebKitMediaKeys: {
+ createSession: "[type], [initData]",
+ __proto__: null,
+ },
+
+ WebKitNamedFlow: {
+ getRegionsByContent: "contentNode",
+ __proto__: null,
+ },
+
+ WebKitNamedFlowCollection: {
+ item: "index",
+ namedItem: "name",
+ __proto__: null,
+ },
+
+ WebKitSubtleCrypto: {
+ decrypt: "algorithm, key, data",
+ digest: "algorithm, data",
+ encrypt: "algorithm, key, data",
+ exportKey: "format, key",
+ generateKey: "algorithm, [extractable], [keyUsages]",
+ importKey: "format, keyData, algorithm, [extractable], [keyUsages]",
+ sign: "algorithm, key, data",
+ unwrapKey: "format, wrappedKey, unwrappingKey, unwrapAlgorithm, unwrappedKeyAlgorithm, [extractable], [keyUsages]",
+ verify: "algorithm, key, signature, data",
+ wrapKey: "format, key, wrappingKey, wrapAlgorithm",
+ __proto__: null,
+ },
+
+ WebSocket: {
+ close: "[code], [reason]",
+ send: "data",
+ __proto__: null,
+ },
+
+ WheelEvent: {
+ initWebKitWheelEvent: "[wheelDeltaX], [wheelDeltaY], [view], [screenX], [screenY], [clientX], [clientY], [ctrlKey], [altKey], [shiftKey], [metaKey]",
+ __proto__: null,
+ },
+
+ Worker: {
+ postMessage: "message, [messagePorts]",
+ __proto__: null,
+ },
+
+ WorkerGlobalScope: {
+ clearInterval: "[handle]",
+ clearTimeout: "[handle]",
+ setInterval: "handler, [timeout]",
+ setTimeout: "handler, [timeout]",
+ __proto__: null,
+ },
+
+ XMLHttpRequest: {
+ getResponseHeader: "header",
+ open: "method, url, [async], [user], [password]",
+ overrideMimeType: "override",
+ setRequestHeader: "header, value",
+ __proto__: null,
+ },
+
+ XMLHttpRequestUpload: {
+ /* EventTarget */
+ __proto__: null,
+ },
+
+ XMLSerializer: {
+ serializeToString: "[node]",
+ __proto__: null,
+ },
+
+ XPathEvaluator: {
+ createExpression: "[expression], [resolver]",
+ createNSResolver: "[nodeResolver]",
+ evaluate: "[expression], [contextNode], [resolver], [type], [inResult]",
+ __proto__: null,
+ },
+
+ XPathExpression: {
+ evaluate: "[contextNode], [type], [inResult]",
+ __proto__: null,
+ },
+
+ XPathNSResolver: {
+ lookupNamespaceURI: "[prefix]",
+ __proto__: null,
+ },
+
+ XPathResult: {
+ snapshotItem: "[index]",
+ __proto__: null,
+ },
+
+ XSLTProcessor: {
+ getParameter: "namespaceURI, localName",
+ importStylesheet: "[stylesheet]",
+ removeParameter: "namespaceURI, localName",
+ setParameter: "namespaceURI, localName, value",
+ transformToDocument: "[source]",
+ transformToFragment: "[source], [docVal]",
+ __proto__: null,
+ },
+
+ webkitAudioContext: {
+ createBuffer: "numberOfChannels, numberOfFrames, sampleRate",
+ createChannelMerger: "[numberOfInputs]",
+ createChannelSplitter: "[numberOfOutputs]",
+ createDelay: "[maxDelayTime]",
+ createDelayNode: "[maxDelayTime]",
+ createJavaScriptNode: "bufferSize, [numberOfInputChannels], [numberOfOutputChannels]",
+ createMediaElementSource: "mediaElement",
+ createPeriodicWave: "real, imag",
+ createScriptProcessor: "bufferSize, [numberOfInputChannels], [numberOfOutputChannels]",
+ decodeAudioData: "audioData, successCallback, [errorCallback]",
+ __proto__: null,
+ },
+
+ webkitAudioPannerNode: {
+ setOrientation: "x, y, z",
+ setPosition: "x, y, z",
+ setVelocity: "x, y, z",
+ __proto__: null,
+ },
+
+ webkitMediaStream: {
+ addTrack: "track",
+ getTrackById: "trackId",
+ removeTrack: "track",
+ __proto__: null,
+ },
+
+ webkitRTCPeerConnection: {
+ addIceCandidate: "candidate, successCallback, failureCallback",
+ addStream: "stream",
+ createAnswer: "successCallback, failureCallback, [answerOptions]",
+ createDTMFSender: "track",
+ createDataChannel: "label, [options]",
+ createOffer: "successCallback, failureCallback, [offerOptions]",
+ getStats: "successCallback, failureCallback, [selector]",
+ getStreamById: "streamId",
+ removeStream: "stream",
+ setLocalDescription: "description, successCallback, failureCallback",
+ setRemoteDescription: "description, successCallback, failureCallback",
+ updateIce: "configuration",
+ __proto__: null,
+ },
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> WebInspector.NativePrototypeFunctionParameters.WeakMap = WebInspector.NativePrototypeFunctionParameters.Map;
</span><span class="lines">@@ -434,11 +2073,20 @@
</span><span class="cx"> dispatchEvent: "event",
</span><span class="cx"> };
</span><span class="cx">
</span><del>- mixin(WebInspector.NativePrototypeFunctionParameters.Node, EventTarget);
- mixin(WebInspector.NativePrototypeFunctionParameters.Window, EventTarget);
</del><ins>+ var eventTargetTypes = [
+ "Node", "Window",
+ "AudioNode", "AudioTrackList", "DOMApplicationCache", "FileReader", "FontLoader",
+ "MediaController", "MediaStreamTrack", "MessagePort", "Notification", "RTCDTMFSender",
+ "SpeechSynthesisUtterance", "TextTrack", "TextTrackCue", "TextTrackList",
+ "VideoTrackList", "WebKitMediaKeySession", "WebKitNamedFlow", "WebSocket",
+ "WorkerGlobalScope", "XMLHttpRequest", "webkitMediaStream", "webkitRTCPeerConnection"
+ ];
</ins><span class="cx">
</span><ins>+ for (var type of eventTargetTypes)
+ mixin(WebInspector.NativePrototypeFunctionParameters[type], EventTarget);
+
</ins><span class="cx"> var ElementQueries = {
</span><del>- getElementsByClassName: "names",
</del><ins>+ getElementsByClassName: "classNames",
</ins><span class="cx"> getElementsByTagName: "tagName",
</span><span class="cx"> getElementsByTagNameNS: "namespace, localName",
</span><span class="cx"> querySelector: "selectors",
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsObjectTreePropertyTreeElementjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js (181613 => 181614)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js        2015-03-17 04:41:34 UTC (rev 181613)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js        2015-03-17 04:41:36 UTC (rev 181614)
</span><span class="lines">@@ -270,8 +270,17 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> }
</span><del>- }
</del><span class="cx">
</span><ins>+ // Native DOM constructor.
+ if (this._propertyPath.object.description.endsWith("Constructor")) {
+ var name = this._propertyPath.object.description;
+ if (WebInspector.NativeConstructorFunctionParameters[name]) {
+ var params = WebInspector.NativeConstructorFunctionParameters[name][this._property.name];
+ return params ? "(" + params + ")" : "()";
+ }
+ }
+ }
+
</ins><span class="cx"> var match = resolvedValue.description.match(/^function.*?(\([^)]+?\))/);
</span><span class="cx"> return match ? match[1] : "()";
</span><span class="cx"> },
</span></span></pre>
</div>
</div>
</body>
</html>