WebAPI/XHRBatch: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
== Proposed API ==
== Proposed API ==
  interface nsIDOMNavigatorXHRBatch : EventTarget {
  interface nsIDOMNavigatorXHRBatch : EventTarget {
  readonly attribute long maxBatches;
  readonly attribute long numBatches;
  readonly attribute long numAllBatches;
   Promise<IXHRBatch[]> getBatches();    // return submitted batches of the same origin.
   Promise<IXHRBatch[]> getBatches();    // return submitted batches of the same origin.
   Promise<IXHRBatch[]> getAllBatches();  // return all submitted batches, not strict by the same origin if with the permission
   Promise<IXHRBatch[]> getAllBatches();  // return all submitted batches, not strict by the same origin if with the permission
Confirmed users
398

edits

Navigation menu