[webkit-qt] Javascript string lastIndexOf method not working

Dwayne sherrard at cableone.net
Thu Apr 21 19:05:49 PDT 2011


It works on RHEL5.5.

I was unable to get back to this until today.  I was able to give this a try
on a Linux RHEL5.5 machine today, where  my test case IS working as it
should.  I have been building on a "lowest common denominator" type of
machine that looks like it is getting a bit too old.  I will give this a try
on one of our RHEL4 machines tomorrow to see how that goes.  We still have
quite a lot of our production machines currently running RHEL4 -- scheduled
to be updated to RHEL5.5 in the upcoming months.   Our OS upgrade schedule
lags the way it does because we are an IC design house and a lot of our big
vendor supplied CAD tools have relatively slow OS qualification roadmaps.

Thanks,
Dwayne.


-----Original Message-----
From: webkit-qt-bounces at lists.webkit.org
[mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of Dwayne
Sent: Monday, April 18, 2011 6:45 PM
To: laszlo.1.gombos at nokia.com; webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Javascript string lastIndexOf method not working

I am on Suse Linux 10.1 using KDE3.5 -- quite an old environment.  I will
give it a try tomorrow on a more current platform.  It sounds like this is
working okay for others.  I will post my results tomorrow.

Thanks to everyone who has responded.
Dwayne.

~~~~~

-----Original Message-----
From: laszlo.1.gombos at nokia.com [mailto:laszlo.1.gombos at nokia.com] 
Sent: Monday, April 18, 2011 8:00 AM
To: sherrard at cableone.net; webkit-qt at lists.webkit.org
Subject: RE: [webkit-qt] Javascript string lastIndexOf method not working

Can you share the platform/environment with us ? Is this perhaps on Symbian
and perhaps related to the following commit -
http://trac.webkit.org/changeset/51307 ? 

Thanks,
  Laszlo


From: webkit-qt-bounces at lists.webkit.org
[mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext Dwayne
Sent: Sunday, April 17, 2011 8:11 AM
To: webkit-qt at lists.webkit.org
Subject: [webkit-qt] Javascript string lastIndexOf method not working

I am having trouble with the lastIndexOf string method not working in
javascript.  The method always fails (-1 as returned index). 
For example:

                var mystring = new String('{string}');
                mystring.length                                => 8
       mystring.indexOf('{')                     => 0
       mystring.lastIndexOf('}')              => -1      ?!?!?!
       
This seems like very basic behavior to be failing at this point.  Anyone
else seeing this?  I am using Qt 4.7.2.  I didn't see a bug filed
On this on the trac page, so I'll open a ticket if I'm not doing something
stupid.
Thanks!

_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt



More information about the webkit-qt mailing list