| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 setter raises(DOMException); | 63 setter raises(DOMException); |
| 64 | 64 |
| 65 [Custom] void open(in DOMString method, in DOMString url, in [Optional] bool
ean async, in [Optional] DOMString user, in [Optional] DOMString password) | 65 [Custom] void open(in DOMString method, in DOMString url, in [Optional] bool
ean async, in [Optional] DOMString user, in [Optional] DOMString password) |
| 66 raises(DOMException); | 66 raises(DOMException); |
| 67 | 67 |
| 68 void setRequestHeader(in DOMString header, in DOMString value) | 68 void setRequestHeader(in DOMString header, in DOMString value) |
| 69 raises(DOMException); | 69 raises(DOMException); |
| 70 | 70 |
| 71 [Custom] void send() | 71 [Custom] void send() |
| 72 raises(DOMException); | 72 raises(DOMException); |
| 73 [Custom] void send(in ArrayBuffer data) // FIXME: this should be eventually
deprecated. | |
| 74 raises(DOMException); | |
| 75 [Custom] void send(in ArrayBufferView data) | |
| 76 raises(DOMException); | |
| 77 [Conditional=BLOB, Custom] void send(in Blob data) | |
| 78 raises(DOMException); | |
| 79 [Custom] void send(in Document data) | |
| 80 raises(DOMException); | |
| 81 [Custom] void send(in [StrictTypeChecking] DOMString data) | |
| 82 raises(DOMException); | |
| 83 [Custom] void send(in DOMFormData data) | |
| 84 raises(DOMException); | |
| 85 | 73 |
| 86 void abort(); | 74 void abort(); |
| 87 | 75 |
| 88 readonly attribute XMLHttpRequestUpload upload; | 76 readonly attribute XMLHttpRequestUpload upload; |
| 89 | 77 |
| 90 // response | 78 // response |
| 91 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders() | 79 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders() |
| 92 raises(DOMException); | 80 raises(DOMException); |
| 93 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMString he
ader) | 81 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMString he
ader) |
| 94 raises(DOMException); | 82 raises(DOMException); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 113 // EventTarget interface | 101 // EventTarget interface |
| 114 void addEventListener(in DOMString type, | 102 void addEventListener(in DOMString type, |
| 115 in EventListener listener, | 103 in EventListener listener, |
| 116 in [Optional] boolean useCapture); | 104 in [Optional] boolean useCapture); |
| 117 void removeEventListener(in DOMString type, | 105 void removeEventListener(in DOMString type, |
| 118 in EventListener listener, | 106 in EventListener listener, |
| 119 in [Optional] boolean useCapture); | 107 in [Optional] boolean useCapture); |
| 120 boolean dispatchEvent(in Event evt) | 108 boolean dispatchEvent(in Event evt) |
| 121 raises(EventException); | 109 raises(EventException); |
| 122 }; | 110 }; |
| OLD | NEW |