XMLHttpRequest.mozBackgroundRequest

Draft
This page is not complete.

Note: This method is not available from Web content. It requires elevated privileges to access.

XMLHttpRequest.mozBackgroundRequest is a boolean. Indicates whether or not the object represents a background service request. If true, no load group is associated with the request, and security dialogs are prevented from being shown to the user.

In cases in which a security dialog (such as authentication or a bad certificate notification) would normally be shown, the request simply fails instead.

Note: This property must be set before calling open().

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/xmlhttprequest/mozbackgroundrequest

API Reference XMLHttpRequest