TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Firefox 6 - WebSockets are back

147 点作者 thefox将近 14 年前

9 条评论

riobard将近 14 年前
Firefox 4 ditched WebSockets for security reasons. Does anybody know the justification to add it back now? More specifically, do they fix the security issue of WebSocket, or do they just give up to the popular demand?
评论 #2600239 未加载
评论 #2600436 未加载
nkassis将近 14 年前
That's good news, WebSockets is probably the second coolest thing to come out of the HTML5 movement, right after WebGL I think. Everything else is cool and all but those two are major changes.
评论 #2600246 未加载
评论 #2600728 未加载
mbrubeck将近 14 年前
In case you're wondering what <i>"this API will be temporarily namespaced"</i> means, see <a href="http://bugzil.la/659324" rel="nofollow">http://bugzil.la/659324</a>. Before Firefox 6 is pushed to the release channel, the constructor will will be changed to "new MozWebSocket()". Once the JavaScript API is stabilized, it will be changed back to "new WebSocket()".
boazsender将近 14 年前
Rwaldron has some good coverage of this over at <a href="http://weblog.bocoup.com/javascript-firefox-aurora-6-and-eventsource-api" rel="nofollow">http://weblog.bocoup.com/javascript-firefox-aurora-6-and-eve...</a><p>Funny, I just posted this link to Rwaldron's coverage right before you posted to the link he is responding to.
trizk将近 14 年前
IE does not inherently support WebSockets, so apps with worker threads will block. You can support WebSockets in IE clients using this hack:<p><a href="http://bit.ly/irM6XV" rel="nofollow">http://bit.ly/irM6XV</a>
huetsch将近 14 年前
What are some potentially practical uses of WebSockets?
评论 #2600234 未加载
评论 #2600257 未加载
jrockway将近 14 年前
I still don't understand "web" sockets. I mean, to get a web page, I already have a TCP connection. TCP connections are bidirectional. All we need is for the browser to write stuff to the socket and read stuff from it.<p>Yes, I understand that proxies may assume HTTP is request/response... but that's fine. My app breaks when you use that proxy. I can live with that.<p>The future-proof fix is to add some Cache-control header that says, "hey, this response is infinitely long! don't cache!".
code_duck将近 14 年前
Also, the 'Web Console' developer tools are interesting. Somewhat rough at the moment, but it has some useful features.
评论 #2600527 未加载
kunjaan将近 14 年前
Do you guys know of good tutorials on WebSockets?