<?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>31589</bug_id>
          
          <creation_ts>2009-11-17 08:19:11 -0800</creation_ts>
          <short_desc>[Qt] Add support for layout tests on Symbian</short_desc>
          <delta_ts>2010-02-22 10:46:09 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27065</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Hausmann">hausmann</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>koshuin</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>s.mathur</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>164237</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-17 08:19:11 -0800</bug_when>
    <thetext>In the long run it would be great to be able to run the layout tests on Symbian.

It may be difficult to run them on an actual device due to the memory requirements, but the simulator/emulator might be an option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164238</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-17 08:19:37 -0800</bug_when>
    <thetext>This bug is also tracked by the internal Qt bug QT-2515</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164240</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-17 08:21:13 -0800</bug_when>
    <thetext>One issue we&apos;d have with running the DRT on Symbian is the maintenance of the test results. Tor Arne is looking into the use of SVG fonts for all text rendering to produce platform independent metrics for test results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164344</commentid>
    <comment_count>3</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2009-11-17 14:02:08 -0800</bug_when>
    <thetext>Problem with the x86 emulator is that it has even less memory than the actual hardware due to how it is ran in single process and emulator addressing space is allocated as a single continous chunk from Windows heap.

Qemu port of Symbian might come to rescue but it is in too early phase to run GUI apps on it. Then there is the upcoming platsim that would be interesting to see, but AFAIK that won&apos;t be free. Beagleboard and Zoom II are also alternatives, but they would need toned down version of tests due to memory limitations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171141</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-12-12 16:27:55 -0800</bug_when>
    <thetext>Tracked in QtWebKit JIRA requirements at http://bugreports.qt.nokia.com/browse/QTWEBKIT-50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171537</commentid>
    <comment_count>5</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2009-12-14 13:19:09 -0800</bug_when>
    <thetext>Since Symbian does not have a perl interpreter, we could use a python version of the test driver instead. Chromium team is upstreaming their python script to webkit.org, see https://bugs.webkit.org/show_bug.cgi?id=31498 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192180</commentid>
    <comment_count>6</comment_count>
      <attachid>49127</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-02-20 09:30:26 -0800</bug_when>
    <thetext>Created attachment 49127
Compile DumpRenderTree for Symbian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192459</commentid>
    <comment_count>7</comment_count>
      <attachid>49127</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-22 07:12:40 -0800</bug_when>
    <thetext>Comment on attachment 49127
Compile DumpRenderTree for Symbian

Clearing flags on attachment: 49127

Committed r55082: &lt;http://trac.webkit.org/changeset/55082&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192460</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-22 07:12:45 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192502</commentid>
    <comment_count>9</comment_count>
      <attachid>49127</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-02-22 10:04:49 -0800</bug_when>
    <thetext>Comment on attachment 49127
Compile DumpRenderTree for Symbian


&gt; -#ifndef Q_OS_WIN
&gt; +#if HAVE(SIGNAL_H)
&gt;  static NO_RETURN void crashHandler(int sig)
&gt;  {
&gt;      fprintf(stderr, &quot;%s\n&quot;, strsignal(sig));
&gt; @@ -132,7 +132,7 @@ int main(int argc, char* argv[])
&gt;      QX11Info::setAppDpiX(0, 96);
&gt;  #endif
&gt;  
&gt; -#ifndef Q_OS_WIN
&gt; +#if HAVE(SIGNAL_H)
&gt;      signal(SIGILL, crashHandler);    /* 4:   illegal instruction (not reset when caught) */
&gt;      signal(SIGTRAP, crashHandler);   /* 5:   trace trap (not reset when caught) */
&gt;      signal(SIGFPE, crashHandler);    /* 8:   floating point exception */

I&apos;m unsure about these two hunks. HAVE(SIGNAL_H) comes from the WTF includes that we should not use outside of JavaScriptCore/WebCore. Are you sure that the above HAVE macros evaluate to true on Linux, even though main.cpp isn&apos;t directly including config.h? I&apos;m worried that they&apos;ll now always evaluate to false, which will make the code still compile and run, but we won&apos;t get crash detection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192519</commentid>
    <comment_count>10</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-02-22 10:46:09 -0800</bug_when>
    <thetext>&gt; I&apos;m unsure about these two hunks. HAVE(SIGNAL_H) comes from the WTF includes
&gt; that we should not use outside of JavaScriptCore/WebCore.

I agree; filed a bug https://bugs.webkit.org/show_bug.cgi?id=35248.

&gt; Are you sure that the
&gt; above HAVE macros evaluate to true on Linux, even though main.cpp isn&apos;t
&gt; directly including config.h? 

main.cpp includes wtf/AlwaysInline.h, which includes Platform.h.

&gt; I&apos;m worried that they&apos;ll now always evaluate to
&gt; false, which will make the code still compile and run, but we won&apos;t get crash
&gt; detection.

I double-checked and crash detection gets compiled on Linux.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>49127</attachid>
            <date>2010-02-20 09:30:26 -0800</date>
            <delta_ts>2010-02-22 10:04:49 -0800</delta_ts>
            <desc>Compile DumpRenderTree for Symbian</desc>
            <filename>patch-31589-1.patch</filename>
            <type>text/plain</type>
            <size>3359</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDU1MDUy
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTAtMDIt
MjAgIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21ib3NAbm9raWEuY29tPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtRdF0gQWRkIHN1cHBvcnQg
Zm9yIGxheW91dCB0ZXN0cyBvbiBTeW1iaWFuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD0zMTU4OQorCisgICAgICAgICogV2ViS2l0LnBybzoKKwogMjAx
MC0wMi0xOSAgTWFjaWVqIFN0YWNob3dpYWsgIDxtanNAYXBwbGUuY29tPgogCiAgICAgICAgIFJl
dmlld2VkIGJ5IERhdmlkIExldmluLgpJbmRleDogV2ViS2l0LnBybwo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBX
ZWJLaXQucHJvCShyZXZpc2lvbiA1NTA1MikKKysrIFdlYktpdC5wcm8JKHdvcmtpbmcgY29weSkK
QEAgLTEwLDkgKzEwLDggQEAgU1VCRElSUyArPSBcCiAKICFDT05GSUcoc3RhbmRhbG9uZV9wYWNr
YWdlKSB7CiAgICAgU1VCRElSUyArPSBKYXZhU2NyaXB0Q29yZS9qc2MucHJvIFwKLSAgICAgICAg
V2ViS2l0L3F0L3Rlc3RzCi0KLSAgICAhc3ltYmlhbjogU1VCRElSUyArPSBXZWJLaXRUb29scy9E
dW1wUmVuZGVyVHJlZS9xdC9EdW1wUmVuZGVyVHJlZS5wcm8KKyAgICAgICAgV2ViS2l0L3F0L3Rl
c3RzIFwKKyAgICAgICAgV2ViS2l0VG9vbHMvRHVtcFJlbmRlclRyZWUvcXQvRHVtcFJlbmRlclRy
ZWUucHJvCiAKICAgICAhd2luMzI6IXN5bWJpYW4gewogICAgICAgICBTVUJESVJTICs9IFdlYktp
dFRvb2xzL0R1bXBSZW5kZXJUcmVlL3F0L0ltYWdlRGlmZi5wcm8KSW5kZXg6IFdlYktpdFRvb2xz
L0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9DaGFuZ2VMb2cJKHJldmlzaW9u
IDU1MDUyKQorKysgV2ViS2l0VG9vbHMvQ2hh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SB7CiAgICAgcmV0dXJuIHM7CiB9CiAKLSNpZm5kZWYg
UV9PU19XSU4KKyNpZiBIQVZFKFNJR05BTF9IKQogc3RhdGljIE5PX1JFVFVSTiB2b2lkIGNyYXNo
SGFuZGxlcihpbnQgc2lnKQogewogICAgIGZwcmludGYoc3RkZXJyLCAiJXNcbiIsIHN0cnNpZ25h
bChzaWcpKTsKQEAgLTEzMiw3ICsxMzIsNyBAQCBpbnQgbWFpbihpbnQgYXJnYywgY2hhciogYXJn
dltdKQogICAgIFFYMTFJbmZvOjpzZXRBcHBEcGlYKDAsIDk2KTsKICNlbmRpZgogCi0jaWZuZGVm
IFFfT1NfV0lOCisjaWYgSEFWRShTSUdOQUxfSCkKICAgICBzaWduYWwoU0lHSUxMLCBjcmFzaEhh
bmRsZXIpOyAgICAvKiA0OiAgIGlsbGVnYWwgaW5zdHJ1Y3Rpb24gKG5vdCByZXNldCB3aGVuIGNh
dWdodCkgKi8KICAgICBzaWduYWwoU0lHVFJBUCwgY3Jhc2hIYW5kbGVyKTsgICAvKiA1OiAgIHRy
YWNlIHRyYXAgKG5vdCByZXNldCB3aGVuIGNhdWdodCkgKi8KICAgICBzaWduYWwoU0lHRlBFLCBj
cmFzaEhhbmRsZXIpOyAgICAvKiA4OiAgIGZsb2F0aW5nIHBvaW50IGV4Y2VwdGlvbiAqLwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>