aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/websockets_api
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/websockets_api')
-rw-r--r--files/zh-cn/web/api/websockets_api/index.html151
1 files changed, 1 insertions, 150 deletions
diff --git a/files/zh-cn/web/api/websockets_api/index.html b/files/zh-cn/web/api/websockets_api/index.html
index ecc7894c38..21760845c3 100644
--- a/files/zh-cn/web/api/websockets_api/index.html
+++ b/files/zh-cn/web/api/websockets_api/index.html
@@ -56,153 +56,4 @@ translation_of: Web/API/WebSockets_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Version -76 support {{obsolete_inline}}</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>11.00 (disabled)</td>
- <td>5.0.1</td>
- </tr>
- <tr>
- <td>Protocol version 7 support {{obsolete_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}<br>
- {{property_prefix("Moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Protocol version 10 support {{obsolete_inline}}</td>
- <td>14</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("7.0")}}<br>
- {{property_prefix("Moz")}}</td>
- <td>HTML5 Labs</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Standard - RFC 6455 Support</td>
- <td>16</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>10</td>
- <td>12.10</td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Usable in Workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Version -76 support {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Protocol version 7 support {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Protocol version 8 support (IETF draft 10) {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("7.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Standard - RFC 6455 Support</td>
- <td>4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12.10</td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Usable in Workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko_notes">Gecko notes</h3>
-
-<p>Firefox中的WebSocket支持正在继续跟踪WebSocket规范的发展。Firefox 6实现了底层协议的version 7,而Firefox 7实现了version 8(如IETF draft 10所指定的)。Firefox移动版在Firefox7.0支持WebSocket。</p>
-
-<h4 id="Gecko_6.0">Gecko 6.0</h4>
-
-<p>在Gecko 6.0 {{geckoRelease("6.0")}}之前,一些网站认为<code>WebSocket</code>对象是错误的,意味着<code>WebSocket</code>服务没有前缀,此对象已重命名为<code>MozWebSocket</code>。</p>
-
-<h4 id="Gecko_7.0">Gecko 7.0</h4>
-
-<p>从Gecko 7.0 {{geckoRelease("7.0")}}中开始,<code>network.websocket.max-connections是</code>用于确定每次可以打开的WebSocket连接的最大数量的最大连接首选项。默认值是200。</p>
-
-<h4 id="Gecko_8.0">Gecko 8.0</h4>
-
-<p>从Gecko 8.0 {{geckoRelease("8.0")}}中开始,<code>WebSocket</code>协议的deflate-stream扩展已经被禁用,因为它已经在规范草案中废弃了。这解决了某些站点的不兼容性问题。</p>
-
-<h4 id="Gecko_11.0">Gecko 11.0</h4>
-
-<p>在Gecko 11.0之前,传入和传出消息的大小都限制在16MB。它们现在的大小可能高达 2 GB 。然而,请注意,内存限制(尤其是在移动设备上)使其成为理论上的最大限制,而不是实际的最大限制。实际上,在没有足够内存的设备上,这种大小的传输将会失败。</p>
-
-<p>此外,ArrayBuffer对二进制数据的收发支持已经实现。</p>
-
-<p><br>
- 从Gecko 11.0开始,WebSocket API不需要前缀。</p>
+{{Compat("api.WebSocket")}}