Bug 68557

Summary: java chat doesn't display
Product: [Applications] konqueror Reporter: fleona
Component: kjavaAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: finex
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description fleona 2003-11-19 05:10:02 UTC
Version:           4.0 (using KDE 3.1.4)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.4.22fjl

Go to latinchat.com

Choose any country on the right (paises y ciudades)

Then choose any nick in "escribe tu nickname" and choose any country, and hit "entrar"

Make sure you aren't blocking popups.

The page will load telling "por favor espere" (please wait) and it should load a new window with the chat in (an orange window)

That window will look plain white in the middle, where the chat should appear. Works with mozilla (althought i can't send messages, the enter key does not work)

I am guessing bad web page code but the chat should at least load like mozilla does.
Comment 1 Koos Vriezen 2003-11-28 22:29:44 UTC
Ok, kjas didn't handle unicode right and newlines in javascript weren't escaped, fixed.
Still, doesn't work which seems like an ecma bug, eg
function scrollwin()
{
  if (document.tabsForm.scrollval.value == "1")
    parent.messages_frame.scroll(0, 2000000000);
}
which is called from java, fails because parent.messages_frame return undefined but the frame is there in the parent document...
Comment 2 fleona 2003-11-29 01:06:01 UTC
There is probably a bug in sun's java linux version, so the goal of this bug is to make that page work as mozilla does, i.e the chat loada fine but can't type text in the maun channel (enter does nothing)

I reported the bug (review id: 227664) to sun but you guys may have better luck reaching them
Comment 3 Koos Vriezen 2003-11-29 16:15:11 UTC
Hmm, I also see a lot of
khtml (jscript): WARNING: JavaScript: access denied for current frame
'disp11.latinchat.com' to frame 'login.latinchat.com'
warnings on this page.

> There is probably a bug in sun's java linux version
That doesn't mean it won't work with KJAS. Mozilla makes use of the javaplugin, konqueror has its own implementation.
Comment 4 fleona 2003-11-29 16:24:41 UTC
I get this errors on mozilla's javascript console:

Error: s is not defined
Source File: http://login.latinchat.com/chatclient
Line: 18

Error: document.all has no properties
Source File: http://disp05.latinchat.com/img/funcions.js
Line: 411

Which says: 	if(document.all['UserPrefs'].name) ...

When the chat opens and i press enter to send text, i get:

Error: parent.tabs_frame.tabs_applet has no properties
Source File: http://disp05.latinchat.com/MGIFRAME?TEMPLATE=2&DispatcherIP=disp05.latinchat.com&DispatcherPort=1998&RoomName=Venezuela&UserName=probando123&SessionID=C222c57382&RoomID=R33_9-5&UNIQUE=1070119261&ValidSession=
Line: 17

Comment 5 FiNeX 2010-09-19 20:44:37 UTC
The website doesn't exist anymore. Unfortunatly this bug is no more valid.