<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31773</bug_id>
          
          <creation_ts>2009-11-21 14:34:37 -0800</creation_ts>
          <short_desc>[Symbian] Fix lastIndexOf() for Symbian</short_desc>
          <delta_ts>2009-11-24 00:34:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>koshuin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>165653</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-11-21 14:34:37 -0800</bug_when>
    <thetext>Symbian soft floating point library has problems with operators comparing NAN to numbers. Without a workaround lastIndexOf() function does not work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165654</commentid>
    <comment_count>1</comment_count>
      <attachid>43657</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-11-21 14:40:16 -0800</bug_when>
    <thetext>Created attachment 43657
Add an extra test to check for NAN.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165655</commentid>
    <comment_count>2</comment_count>
      <attachid>43658</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-11-21 14:56:19 -0800</bug_when>
    <thetext>Created attachment 43658
Give credits to David Leong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165714</commentid>
    <comment_count>3</comment_count>
      <attachid>43658</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-11-22 07:07:56 -0800</bug_when>
    <thetext>Comment on attachment 43658
Give credits to David Leong.

Rejecting patch 43658 from commit-queue.

Failed to run &quot;[&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--quiet&apos;, &apos;--exit-after-n-failures=1&apos;]&quot; exit_code: 1
Running build-dumprendertree
Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests
Testing 11652 test cases.
inspector/console-format.html -&gt; crashed

Exiting early after 1 failures. 9346 tests run.
465.10s total testing time

9345 test cases (99%) succeeded
1 test case (&lt;1%) crashed
5 test cases (&lt;1%) had stderr output</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165725</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-22 09:14:12 -0800</bug_when>
    <thetext>Does this happens with the x86 toolchain as well as rvct? Does it only apply to builds that use software emulation for floating point operations or also for vfp builds? 

What about other places in the source code where we do similar things? What are the chances of getting this fixed upstream?

(I&apos;m okay with the workaround, I&apos;m just curious about the background :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165822</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-23 05:02:41 -0800</bug_when>
    <thetext>Committed r51307: &lt;http://trac.webkit.org/changeset/51307&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165823</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-23 05:06:56 -0800</bug_when>
    <thetext>Cherry-picked into qtwebkit-4.6 as commit efa69b6181ce5c045097351cdcf6c158da3f4888</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165977</commentid>
    <comment_count>7</comment_count>
      <attachid>43658</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-11-23 19:55:38 -0800</bug_when>
    <thetext>Comment on attachment 43658
Give credits to David Leong.

Sorry, this was a false rejection due to bug 31817.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166015</commentid>
    <comment_count>8</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2009-11-24 00:24:46 -0800</bug_when>
    <thetext>Meh...
http://bugreports.qt.nokia.com/browse/QTBUG-4621

This is Open C bug where NaN is a Number (check the pure Open C test case) and must be fixed there instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166016</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-24 00:34:25 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; Meh...
&gt; http://bugreports.qt.nokia.com/browse/QTBUG-4621
&gt; 
&gt; This is Open C bug where NaN is a Number (check the pure Open C test case) and
&gt; must be fixed there instead.

Ironically the workaround for this bug is to call isnan() ;-)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43657</attachid>
            <date>2009-11-21 14:40:16 -0800</date>
            <delta_ts>2009-11-21 14:56:19 -0800</delta_ts>
            <desc>Add an extra test to check for NAN.</desc>
            <filename>31773.patch</filename>
            <type>text/plain</type>
            <size>1447</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2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09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KLS0tIEphdmFTY3JpcHRDb3JlL3J1bnRpbWUvU3RyaW5nUHJvdG90eXBlLmNwcAkocmV2aXNp
b24gNTEyODcpCisrKyBKYXZhU2NyaXB0Q29yZS9ydW50aW1lL1N0cmluZ1Byb3RvdHlwZS5jcHAJ
KHdvcmtpbmcgY29weSkKQEAgLTQ2OSw2ICs0NjksMTEgQEAgSlNWYWx1ZSBKU0NfSE9TVF9DQUxM
IHN0cmluZ1Byb3RvRnVuY0xhcwogICAgICAgICBkcG9zID0gMDsKICAgICBlbHNlIGlmICghKGRw
b3MgPD0gbGVuKSkgLy8gdHJ1ZSBmb3IgTmFOCiAgICAgICAgIGRwb3MgPSBsZW47CisjaWYgUExB
VEZPUk0oU1lNQklBTikKKyAgICAvLyBXb3JrIGFyb3VuZCBmb3IgYnJva2VuIE5hTiBjb21wYXJl
IG9wZXJhdG9yCisgICAgZWxzZSBpZiAoaXNuYW4oZHBvcykpCisgICAgICAgIGRwb3MgPSBsZW47
CisjZW5kaWYKICAgICByZXR1cm4ganNOdW1iZXIoZXhlYywgcy5yZmluZCh1Miwgc3RhdGljX2Nh
c3Q8aW50PihkcG9zKSkpOwogfQogCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43658</attachid>
            <date>2009-11-21 14:56:19 -0800</date>
            <delta_ts>2009-11-23 19:55:38 -0800</delta_ts>
            <desc>Give credits to David Leong.</desc>
            <filename>31773.patch</filename>
            <type>text/plain</type>
            <size>1490</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlza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NwcAo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2Ny
aXB0Q29yZS9ydW50aW1lL1N0cmluZ1Byb3RvdHlwZS5jcHAJKHJldmlzaW9uIDUxMjg3KQorKysg
SmF2YVNjcmlwdENvcmUvcnVudGltZS9TdHJpbmdQcm90b3R5cGUuY3BwCSh3b3JraW5nIGNvcHkp
CkBAIC00NjksNiArNDY5LDExIEBAIEpTVmFsdWUgSlNDX0hPU1RfQ0FMTCBzdHJpbmdQcm90b0Z1
bmNMYXMKICAgICAgICAgZHBvcyA9IDA7CiAgICAgZWxzZSBpZiAoIShkcG9zIDw9IGxlbikpIC8v
IHRydWUgZm9yIE5hTgogICAgICAgICBkcG9zID0gbGVuOworI2lmIFBMQVRGT1JNKFNZTUJJQU4p
CisgICAgLy8gV29yayBhcm91bmQgZm9yIGJyb2tlbiBOYU4gY29tcGFyZSBvcGVyYXRvcgorICAg
IGVsc2UgaWYgKGlzbmFuKGRwb3MpKQorICAgICAgICBkcG9zID0gbGVuOworI2VuZGlmCiAgICAg
cmV0dXJuIGpzTnVtYmVyKGV4ZWMsIHMucmZpbmQodTIsIHN0YXRpY19jYXN0PGludD4oZHBvcykp
KTsKIH0KIAo=
</data>
<flag name="review"
          id="25401"
          type_id="1"
          status="+"
          setter="kenneth"
    />
    <flag name="commit-queue"
          id="25417"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
      

    </bug>

</bugzilla>