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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const unsigned short EMPTY = 0; | 53 const unsigned short EMPTY = 0; |
54 const unsigned short LOADING = 1; | 54 const unsigned short LOADING = 1; |
55 const unsigned short DONE = 2; | 55 const unsigned short DONE = 2; |
56 | 56 |
57 readonly attribute unsigned short readyState; | 57 readonly attribute unsigned short readyState; |
58 | 58 |
59 // File or Blob data | 59 // File or Blob data |
60 readonly attribute (DOMString or ArrayBuffer)? result; | 60 readonly attribute (DOMString or ArrayBuffer)? result; |
61 | 61 |
62 // TODO(philipj): error should be DOMError. crbug.com/496901 | 62 // TODO(philipj): error should be DOMError. crbug.com/496901 |
63 readonly attribute FileError? error; | 63 [Measure] readonly attribute FileError? error; |
64 | 64 |
65 // event handler attributes | 65 // event handler attributes |
66 attribute EventHandler onloadstart; | 66 attribute EventHandler onloadstart; |
67 attribute EventHandler onprogress; | 67 attribute EventHandler onprogress; |
68 attribute EventHandler onload; | 68 attribute EventHandler onload; |
69 attribute EventHandler onabort; | 69 attribute EventHandler onabort; |
70 attribute EventHandler onerror; | 70 attribute EventHandler onerror; |
71 attribute EventHandler onloadend; | 71 attribute EventHandler onloadend; |
72 }; | 72 }; |
OLD | NEW |