WebAPI/ArchiveAPI: Difference between revisions

no edit summary
m (→‎See Also: Copy pasta error. This should say Archive API, since it is the Archive API page.)
No edit summary
Line 32: Line 32:
     // In case of a getFilenames() request, the result is an array of DOMString
     // In case of a getFilenames() request, the result is an array of DOMString
     // If this is a getFile() request, the result is a DOM File
     // If this is a getFile() request, the result is a DOM File
    // If this is a getFiles() request, the result is an array of DOM File
   }
   }
    
    
   [Constructor(Blob blob)]
   [Constructor(Blob blob, optional ArchiveReaderOptions options)]
   interface ArchiveReader
   interface ArchiveReader
   {
   {
     ArchiveRequest getFilenames();
     ArchiveRequest getFilenames();
     ArchiveRequest getFile(DOMString filename);
     ArchiveRequest getFile(DOMString filename);
    ArchiveRequest getFiles();
  };
 
  dictionary ArchiveReaderOptions
  {
    DOMString encoding = "windows-1252"; // Default fallback encoding
   };
   };


Confirmed users
53

edits