Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Websocket Behavior

  • 4 відповіді
  • 1 має цю проблему
  • 6 переглядів
  • Остання відповідь від rogerfgay

more options

Websocket behavior.

Beta 7: Browser throws error instead of processing message returned from close request.

Beta 7.01 and 8: Browser causes null pointer error on server (malformed message) when dealing with characters outside the UTF8 character set. Also, Beta 7 problem above not yet fixed.

Websocket behavior. Beta 7: Browser throws error instead of processing message returned from close request. Beta 7.01 and 8: Browser causes null pointer error on server (malformed message) when dealing with characters outside the UTF8 character set. Also, Beta 7 problem above not yet fixed.

Усі відповіді (4)

more options

Змінено John99

more options

I posted more information in the steps taken section of the original post, which I'm surprised was not published. I'm running this test page: http://isr.nu/ws/WebSocketTest.htm

Note the difference if you run it in Firefox (beta 7 or above) verses Chromium (Chrome dev-channel v14 or above).

Using Chrome, you'll see that the message from the server ("bye") is displayed when you close the connection. In Firefox, you get an ERROR instead.

Since posting here, I found my way to Bugzilla and reported this.

Змінено rogerfgay

more options

Apparently as Bug 691038

What are you trying to say that the page is faulty ?

If I follow your link then take the close connection option from the button on the Left Hand Side of the page, then the right hand side displays NOT CONNECTED in red, which may be the expected behavior.

I am currently using Windows XP SP3 and Firefox 9.0a2

Змінено John99

more options

This is the same comment made on Bug 691038 yesterday, which I already answered. You need to connect before you disconnect (close).