WebAPI/XHRBatch: Difference between revisions

Jump to navigation Jump to search
m
Line 6: Line 6:


== Proposed API ==
== Proposed API ==
  interface nsIDOMNavigatorXHRBatch {
  interface nsIDOMNavigatorXHRBatch : EventTarget {
   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