| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 void readAsBinaryString(in Blob blob) | 49 void readAsBinaryString(in Blob blob) |
| 50 raises(DOMException); | 50 raises(DOMException); |
| 51 void readAsText(in Blob blob, in [Optional] DOMString encoding) | 51 void readAsText(in Blob blob, in [Optional] DOMString encoding) |
| 52 raises(DOMException); | 52 raises(DOMException); |
| 53 void readAsDataURL(in Blob blob) | 53 void readAsDataURL(in Blob blob) |
| 54 raises(DOMException); | 54 raises(DOMException); |
| 55 | 55 |
| 56 void abort(); | 56 void abort(); |
| 57 | 57 |
| 58 // file data | 58 // file data |
| 59 [Custom] readonly attribute DOMObject result; | 59 [Custom] readonly attribute any result; |
| 60 | 60 |
| 61 readonly attribute FileError error; | 61 readonly attribute FileError error; |
| 62 | 62 |
| 63 // EventTarget interface | 63 // EventTarget interface |
| 64 void addEventListener(in DOMString type, | 64 void addEventListener(in DOMString type, |
| 65 in EventListener listener, | 65 in EventListener listener, |
| 66 in [Optional] boolean useCapture); | 66 in [Optional] boolean useCapture); |
| 67 void removeEventListener(in DOMString type, | 67 void removeEventListener(in DOMString type, |
| 68 in EventListener listener, | 68 in EventListener listener, |
| 69 in [Optional] boolean useCapture); | 69 in [Optional] boolean useCapture); |
| 70 boolean dispatchEvent(in Event evt) | 70 boolean dispatchEvent(in Event evt) |
| 71 raises(EventException); | 71 raises(EventException); |
| 72 | 72 |
| 73 attribute EventListener onloadstart; | 73 attribute EventListener onloadstart; |
| 74 attribute EventListener onprogress; | 74 attribute EventListener onprogress; |
| 75 attribute EventListener onload; | 75 attribute EventListener onload; |
| 76 attribute EventListener onabort; | 76 attribute EventListener onabort; |
| 77 attribute EventListener onerror; | 77 attribute EventListener onerror; |
| 78 attribute EventListener onloadend; | 78 attribute EventListener onloadend; |
| 79 }; | 79 }; |
| OLD | NEW |