| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 [RaisesException] void write(Blob data); | 43 [RaisesException] void write(Blob data); |
| 44 [RaisesException] void seek(long long position); | 44 [RaisesException] void seek(long long position); |
| 45 [RaisesException] void truncate(long long size); | 45 [RaisesException] void truncate(long long size); |
| 46 | 46 |
| 47 [RaisesException] void abort(); | 47 [RaisesException] void abort(); |
| 48 | 48 |
| 49 readonly attribute FileError error; | 49 readonly attribute FileError error; |
| 50 readonly attribute long long position; | 50 readonly attribute long long position; |
| 51 readonly attribute long long length; | 51 readonly attribute long long length; |
| 52 | 52 |
| 53 attribute EventListener onwritestart; | 53 attribute EventHandler onwritestart; |
| 54 attribute EventListener onprogress; | 54 attribute EventHandler onprogress; |
| 55 attribute EventListener onwrite; | 55 attribute EventHandler onwrite; |
| 56 attribute EventListener onabort; | 56 attribute EventHandler onabort; |
| 57 attribute EventListener onerror; | 57 attribute EventHandler onerror; |
| 58 attribute EventListener onwriteend; | 58 attribute EventHandler onwriteend; |
| 59 }; | 59 }; |
| OLD | NEW |