Changes between Version 5 and Version 6 of MinimalFileStorage


Ignore:
Timestamp:
Sep 22, 2012 5:52:01 PM (10 years ago)
Author:
mjs@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MinimalFileStorage

    v5 v6  
    5454    attribute long long offset;
    5555
    56     FileRequest readAsArrayBuffer(long size);
    57     FileRequest readAsText(long size, optional DOMString encoding);
    58     FileRequest write(DOMString or ArrayBuffer or ArrayBufferView or Blob value);
    59     FileRequest append(DOMString or ArrayBuffer or ArrayBufferView or Blob value);
    60     FileRequest truncate(optional long long size);
     56    // Result for all of these is the FileHandle
     57    DOMRequest readAsArrayBuffer(long size);
     58    DOMRequest readAsText(long size, optional DOMString encoding);
     59    DOMRequest write(DOMString or ArrayBuffer or ArrayBufferView or Blob value);
     60    DOMRequest append(DOMString or ArrayBuffer or ArrayBufferView or Blob value);
     61    DOMRequest truncate(optional long long size);
    6162}
    6263}}}
     
    7677};
    7778
    78 interface FileRequest : DOMRequest {
    79     readonly attribute FileHandle fileHandle;
    80 
    81     attribute EventHandler onprogress;
    82 };
    83 
    8479interface DOMMultiRequest : DOMRequest {
    8580    void stop();