| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 // response | 87 // response |
| 88 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders() | 88 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders() |
| 89 raises(DOMException); | 89 raises(DOMException); |
| 90 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMStrin
g header) | 90 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMStrin
g header) |
| 91 raises(DOMException); | 91 raises(DOMException); |
| 92 readonly attribute [CustomGetter] DOMString responseText // The custom g
etter implements TreatReturnedNullStringAs=Null | 92 readonly attribute [CustomGetter] DOMString responseText // The custom g
etter implements TreatReturnedNullStringAs=Null |
| 93 getter raises(DOMException); | 93 getter raises(DOMException); |
| 94 readonly attribute Document responseXML | 94 readonly attribute Document responseXML |
| 95 getter raises(DOMException); | 95 getter raises(DOMException); |
| 96 readonly attribute Blob responseBlob | |
| 97 getter raises(DOMException); | |
| 98 | 96 |
| 99 attribute DOMString responseType | 97 attribute DOMString responseType |
| 100 setter raises(DOMException); | 98 setter raises(DOMException); |
| 101 readonly attribute [CustomGetter] Object response | 99 readonly attribute [CustomGetter] Object response |
| 102 getter raises(DOMException); | 100 getter raises(DOMException); |
| 103 | 101 |
| 104 readonly attribute unsigned short status | 102 readonly attribute unsigned short status |
| 105 getter raises(DOMException); | 103 getter raises(DOMException); |
| 106 readonly attribute DOMString statusText | 104 readonly attribute DOMString statusText |
| 107 getter raises(DOMException); | 105 getter raises(DOMException); |
| 108 | 106 |
| 109 // Extension | 107 // Extension |
| 110 void overrideMimeType(in DOMString override); | 108 void overrideMimeType(in DOMString override); |
| 111 | 109 |
| 112 // EventTarget interface | 110 // EventTarget interface |
| 113 void addEventListener(in DOMString type, | 111 void addEventListener(in DOMString type, |
| 114 in EventListener listener, | 112 in EventListener listener, |
| 115 in [Optional] boolean useCapture); | 113 in [Optional] boolean useCapture); |
| 116 void removeEventListener(in DOMString type, | 114 void removeEventListener(in DOMString type, |
| 117 in EventListener listener, | 115 in EventListener listener, |
| 118 in [Optional] boolean useCapture); | 116 in [Optional] boolean useCapture); |
| 119 boolean dispatchEvent(in Event evt) | 117 boolean dispatchEvent(in Event evt) |
| 120 raises(EventException); | 118 raises(EventException); |
| 121 }; | 119 }; |
| 122 | 120 |
| 123 } | 121 } |
| OLD | NEW |