From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/xmlhttprequest/mozbackgroundrequest/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 files/zh-cn/web/api/xmlhttprequest/mozbackgroundrequest/index.html (limited to 'files/zh-cn/web/api/xmlhttprequest/mozbackgroundrequest') diff --git a/files/zh-cn/web/api/xmlhttprequest/mozbackgroundrequest/index.html b/files/zh-cn/web/api/xmlhttprequest/mozbackgroundrequest/index.html new file mode 100644 index 0000000000..f50d7fa2f3 --- /dev/null +++ b/files/zh-cn/web/api/xmlhttprequest/mozbackgroundrequest/index.html @@ -0,0 +1,18 @@ +--- +title: XMLHttpRequest.mozBackgroundRequest +slug: Web/API/XMLHttpRequest/mozBackgroundRequest +translation_of: Web/API/XMLHttpRequest/mozBackgroundRequest +--- +

{{draft}}{{APIRef('XMLHttpRequest')}}

+ +
+

Note: Web内容无法使用此方法。 它需要提升权限才能访问。

+
+ +

XMLHttpRequest.mozBackgroundRequest是一个布尔对象,表示object是否为后台的服务请求。 如果为true,则不会将任何加载组与请求关联,并且不会向用户显示安全对话框。

+ +

请求失败时通常会显示安全对话框(例如身份验证或错误证书通知)。

+ +
+

Note: 该属性必须在调用open()之前设置。

+
-- cgit v1.2.3-54-g00ecf