WebAPI/LogAPI: Difference between revisions

Line 24: Line 24:
  };
  };


interface LogIterator {
interface DOMIterator {
   DOMRequest next(optional unsigned short n);
   DOMRequest next(optional unsigned short n);
   attribute boolean hasMore;
   attribute boolean hasMore;
   attribute unsigned long position;
   readonly attribute unsigned long count;
   readonly attribute LogEntry[] values;
   readonly attribute any[] values;
};
};


Line 39: Line 39:


dictionary IteratorOptions {
dictionary IteratorOptions {
   attribute unsigned long maxRecords;
   attribute unsigned long maxRecords; // Max number of records to be returned
   attribute unsigned long chunkSize:
   attribute unsigned long chunkSize:     // Chunk size for the iterator
};
};


172

edits