[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#34244: string search method returned undefined
From:       twaugh () redhat ! com
Date:       2001-10-29 15:16:05
[Download RAW message or body]

Package: kjs
Version: KDE 2.2.0 
Severity: normal
Installed from:    RedHat RPMs
Compiler:          GCC 2.96-RH
OS:                Linux
OS/Compiler notes: Not Specified

<html>
<head>
<script language="javascript">
function fn ()
{
  var s = '';
  alert (s.search('x'));
}
</script>
</head>
<body onload="javascript:fn()">
</body>
</html>

When viewed using Konqueror with javascript enabled this yields a message \
'undefined'.  With Mozilla, the expected message '-1' is seen.

(Real world example at www.house.co.uk)

(Submitted via bugs.kde.org)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic