| 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 // states | 49 // states |
| 50 const unsigned short EMPTY = 0; | 50 const unsigned short EMPTY = 0; |
| 51 const unsigned short LOADING = 1; | 51 const unsigned short LOADING = 1; |
| 52 const unsigned short DONE = 2; | 52 const unsigned short DONE = 2; |
| 53 | 53 |
| 54 [ImplementedAs=getReadyState] readonly attribute unsigned short readyState; | 54 [ImplementedAs=getReadyState] readonly attribute unsigned short readyState; |
| 55 | 55 |
| 56 // File or Blob data | 56 // File or Blob data |
| 57 readonly attribute (DOMString or ArrayBuffer)? result; | 57 readonly attribute (DOMString or ArrayBuffer)? result; |
| 58 | 58 |
| 59 // TODO(jsbell): Spec has DOMError, which is being deprecated. | |
| 60 readonly attribute DOMException? error; | 59 readonly attribute DOMException? error; |
| 61 | 60 |
| 62 // event handler attributes | 61 // event handler attributes |
| 63 attribute EventHandler onloadstart; | 62 attribute EventHandler onloadstart; |
| 64 attribute EventHandler onprogress; | 63 attribute EventHandler onprogress; |
| 65 attribute EventHandler onload; | 64 attribute EventHandler onload; |
| 66 attribute EventHandler onabort; | 65 attribute EventHandler onabort; |
| 67 attribute EventHandler onerror; | 66 attribute EventHandler onerror; |
| 68 attribute EventHandler onloadend; | 67 attribute EventHandler onloadend; |
| 69 }; | 68 }; |
| OLD | NEW |