Confirmed users
398
edits
m (→Proposer) |
m (→Proposed API) |
||
| 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 | ||