<?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>38722</bug_id>
          
          <creation_ts>2010-05-06 22:12:29 -0700</creation_ts>
          <short_desc>[Qt] qwebframe auto test doesn&apos;t compile</short_desc>
          <delta_ts>2011-04-19 05:15:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>420+</version>
          <rep_platform>S60 Emulator</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>38721</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Samuel Nevala">samuel.nevala</reporter>
          <assigned_to name="QtWebKit Unassigned">webkit-qt-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
    
    <cc>jesus</cc>
    
    <cc>kenneth</cc>
    
    <cc>laszlo.gombos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>222165</commentid>
    <comment_count>0</comment_count>
    <who name="Samuel Nevala">samuel.nevala</who>
    <bug_when>2010-05-06 22:12:29 -0700</bug_when>
    <thetext>Qt: http://qt.gitorious.org/+qt-s60-developers/qt/qt-s60
branch: 4.7
sha: b1225b83282bdeaf7c3847a8f2b3d05e004ce198

Used qt contains webkit from:
webkit: git://gitorious.org/qtwebkit/qtwebkit.git
sha:3f0f51f4c87e65bfe04165c6af4c00934b0ca1e2

Reproduce:
1. Fix Bug 38721 (or comment out CustomType)
2. cd qt\src\3rdparty\webkit\WebKit\qt\tests or qt\test\auto\qwebframe
3. qmake
4. make

Expected: auto tests compile

Result:
 FAILED win32simplelink for winscw_udeb.mwccinc: epoc32\release\winscw\udeb\tst_qwebframe.exe
  mmp: qwebframe\qwebframe_0xE1cb089e.mmp
   mwldsym2.exe: warning: Multiply defined symbol: ___get_MSL_init_count in
   mwldsym2.exe: warning: files uc_cwhelp.obj (eexe.lib), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),
   mwldsym2.exe: warning: keeping definition in startup.win32.c.obj
   mwldsym2.exe: warning: Multiply defined symbol: __CleanUpMSL in
   mwldsym2.exe: warning: files uc_cwhelp.obj (eexe.lib), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),
   mwldsym2.exe: warning: keeping definition in startup.win32.c.obj
   mwldsym2.exe: Undefined symbol: &apos;bool QTest::qCompare&lt;class QObject *, class MyQObject *&gt;(class QObject * const const &amp;, class MyQObject * const const &amp;, char const *, char const *, char const *, int) (?qCom
pare@?$@PAVQObject@@PAVMyQObject@@@QTest@@YA_NABQAV1@ABQAV2@PBD22H@Z)&apos;
   mwldsym2.exe: referenced from &apos;void tst_QWebFrame::getSetStaticProperty(void) (?getSetStaticProperty@tst_QWebFrame@@AAEXXZ)&apos; in tst_qwebframe.cpp:783

   Errors caused tool to abort.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222250</commentid>
    <comment_count>1</comment_count>
    <who name="Samuel Nevala">samuel.nevala</who>
    <bug_when>2010-05-07 02:40:02 -0700</bug_when>
    <thetext>Fix:
------- src/3rdparty/webkit/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp -------
index e3de123..d04a652 100644
@@ -780,7 +780,7 @@ void tst_QWebFrame::getSetStaticProperty()
         QCOMPARE(vm.size(), 3);
         QCOMPARE(vm.value(&quot;a&quot;).toInt(), 123);
         QCOMPARE(vm.value(&quot;b&quot;).toString(), QLatin1String(&quot;foo&quot;));
-        QCOMPARE(vm.value(&quot;c&quot;).value&lt;QObject*&gt;(), m_myObject);
+        QCOMPARE(vm.value(&quot;c&quot;).value&lt;QObject*&gt;(), static_cast&lt;QObject*&gt;(m_myObject));
     }
     QCOMPARE(evalJS(&quot;myObject.variantMapProperty.a === 123&quot;), sTrue);
     QCOMPARE(evalJS(&quot;myObject.variantMapProperty.b === &apos;foo&apos;&quot;), sTrue);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>227739</commentid>
    <comment_count>2</comment_count>
      <attachid>56475</attachid>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-05-19 01:27:02 -0700</bug_when>
    <thetext>Created attachment 56475
proper patch

This is known WINSCW issue that shows up a lot when doing calls where templated arguments
have same base class and parameters are passed with derived class types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228385</commentid>
    <comment_count>3</comment_count>
      <attachid>56475</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-20 08:22:52 -0700</bug_when>
    <thetext>Comment on attachment 56475
proper patch

Clearing flags on attachment: 56475

Committed r59838: &lt;http://trac.webkit.org/changeset/59838&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228386</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-20 08:22:57 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>230597</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-25 23:42:46 -0700</bug_when>
    <thetext>Revision r59838 cherry-picked into qtwebkit-2.0 with commit 3342fab646f1e3054cb7a5dea9826c2b92905e8e</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>56475</attachid>
            <date>2010-05-19 01:27:02 -0700</date>
            <delta_ts>2010-05-20 08:22:51 -0700</delta_ts>
            <desc>proper patch</desc>
            <filename>qwebframe.diff</filename>
            <type>text/plain</type>
            <size>1338</size>
            <attacher name="Janne Koskinen">koshuin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdC9xdC9DaGFuZ2VMb2cgYi9XZWJLaXQvcXQvQ2hhbmdlTG9nCmlu
ZGV4IGNlZWMyZDUuLmUwNzA5M2UgMTAwNjQ0Ci0tLSBhL1dlYktpdC9xdC9DaGFuZ2VMb2cKKysr
IGIvV2ViS2l0L3F0L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEwLTA1LTE5ICBKYW5u
ZSBLb3NraW5lbiAgPGphbm5lLnAua29za2luZW5AZGlnaWEuY29tPgorCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtRdF0gV0lOU0NXIGNvbXBpbGUgZml4
IGZvciBxd2ViZnJhbWUgdGVzdAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9Mzg3MjIKKworICAgICAgICBXSU5TQ1cgY2Fubm90IGRldGVybWluZSB0ZW1w
bGF0ZSB0eXBlIHVwIHRoZSBoaWVyYXJjaHkKKyAgICAgICAgdG8gY29tbW9uIGJhc2UgY2xhc3Mu
CisKKyAgICAgICAgKiB0ZXN0cy9xd2ViZnJhbWUvdHN0X3F3ZWJmcmFtZS5jcHA6CisKIDIwMTAt
MDUtMTggIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9raWEuY29tPgogCiAgICAg
ICAgIFN5bWJpYW4gYnVpbGQgZml4LgpkaWZmIC0tZ2l0IGEvV2ViS2l0L3F0L3Rlc3RzL3F3ZWJm
cmFtZS90c3RfcXdlYmZyYW1lLmNwcCBiL1dlYktpdC9xdC90ZXN0cy9xd2ViZnJhbWUvdHN0X3F3
ZWJmcmFtZS5jcHAKaW5kZXggYmVhN2E2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