| Index: tools/dom/docs/docs.json
|
| diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json
|
| index 3df77626679299f14193adcb341d515433fab586..a8c16aa29366a7fc115e2c05033feeb9f069f5b1 100644
|
| --- a/tools/dom/docs/docs.json
|
| +++ b/tools/dom/docs/docs.json
|
| @@ -211,8 +211,144 @@
|
| ]
|
| }
|
| },
|
| + "HTMLDivElement": {
|
| + "comment": [
|
| + "/**",
|
| + " * Represents an HTML <div> element.",
|
| + " *",
|
| + " * The [DivElement] is a generic container for content and does not have any",
|
| + " * special significance. It is functionally similar to [SpanElement].",
|
| + " *",
|
| + " * The [DivElement] is a block-level element, as opposed to [SpanElement],",
|
| + " * which is an inline-level element.",
|
| + " *",
|
| + " * Example usage:",
|
| + " *",
|
| + " * DivElement div = new DivElement();",
|
| + " * div.text = 'Here's my new DivElem",
|
| + " * document.body.elements.add(elem);",
|
| + " *",
|
| + " * See also:",
|
| + " *",
|
| + " * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.",
|
| + " * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C.",
|
| + " * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.",
|
| + " */"
|
| + ]
|
| + },
|
| "XMLHttpRequest": {
|
| "members": {
|
| + "abort": [
|
| + "/**",
|
| + " * Stop the current request.",
|
| + " *",
|
| + " * The request can only be stopped if readyState is `HEADERS_RECIEVED` or",
|
| + " * `LOADING`. If this method is not in the process of being sent, the method",
|
| + " * has no effect.",
|
| + " */"
|
| + ],
|
| + "getAllResponseHeaders": [
|
| + "/**",
|
| + " * Retrieve all the response headers from a request.",
|
| + " *",
|
| + " * `null` if no headers have been received. For multipart requests,",
|
| + " * `getAllResponseHeaders` will return the response headers for the current",
|
| + " * part of the request.",
|
| + " *",
|
| + " * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses)",
|
| + " * for a list of common response headers.",
|
| + " */"
|
| + ],
|
| + "getResponseHeader": [
|
| + "/**",
|
| + " * Return the response header named `header`, or `null` if not found.",
|
| + " *",
|
| + " * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses)",
|
| + " * for a list of common response headers.",
|
| + " */"
|
| + ],
|
| + "open": [
|
| + "/**",
|
| + " * Specify the desired `url`, and `method` to use in making the request.",
|
| + " *",
|
| + " * By default the request is done asyncronously, with no user or password",
|
| + " * authentication information. If `async` is false, the request will be send",
|
| + " * synchronously.",
|
| + " *",
|
| + " * Calling `open` again on a currently active request is equivalent to",
|
| + " * calling `abort`.",
|
| + " */"
|
| + ],
|
| + "overrideMimeType": [
|
| + "/**",
|
| + " * Specify a particular MIME type (such as `text/xml`) desired for the",
|
| + " * response.",
|
| + " *",
|
| + " * This value must be set before the request has been sent. See also the list",
|
| + " * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types)",
|
| + " */"
|
| + ],
|
| + "response": [
|
| + "/**",
|
| + " * The data received as a reponse from the request.",
|
| + " *",
|
| + " * The data could be in the",
|
| + " * form of a [String], [ArrayBuffer], [Document], [Blob], or json (also a",
|
| + " * [String]). `null` indicates request failure.",
|
| + " */"
|
| + ],
|
| + "responseText": [
|
| + "/**",
|
| + " * The response in string form or `null on failure.",
|
| + " */"
|
| + ],
|
| + "responseType": [
|
| + "/**",
|
| + " * [String] telling the server the desired response format.",
|
| + " *",
|
| + " * Default is `String`.",
|
| + " * Other options are one of 'arraybuffer', 'blob', 'document', 'json',",
|
| + " * 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCESS_ERR if",
|
| + " * `responseType` is set while performing a synchronous request.",
|
| + " *",
|
| + " * See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType)",
|
| + " */"
|
| + ],
|
| + "send": [
|
| + "/**",
|
| + " * Send the request with any given `data`.",
|
| + " *",
|
| + " * See also:",
|
| + " * [send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#send())",
|
| + " * from MDN.",
|
| + " */"
|
| + ],
|
| + "status": [
|
| + "/**",
|
| + " * The http result code from the request (200, 404, etc).",
|
| + " * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)",
|
| + " */"
|
| + ],
|
| + "statusText": [
|
| + "/**",
|
| + " * The request response string (such as \\\"200 OK\\\").",
|
| + " * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)",
|
| + " */"
|
| + ],
|
| + "upload": [
|
| + "/**",
|
| + " * [EventTarget] that can hold listeners to track the progress of the request.",
|
| + " * The events fired will be members of [HttpRequestUploadEvents].",
|
| + " */"
|
| + ],
|
| + "withCredentials": [
|
| + "/**",
|
| + " * True if cross-site requests should use credentials such as cookies",
|
| + " * or authorization headers; false otherwise.",
|
| + " *",
|
| + " * This value is ignored for same-site requests.",
|
| + " */"
|
| + ],
|
| "XMLHttpRequest": [
|
| "/**",
|
| " * General constructor for any type of request (GET, POST, etc).",
|
|
|