<?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>85629</bug_id>
          
          <creation_ts>2012-05-04 08:40:16 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION: 7 tests started to fail with newer Qt5</short_desc>
          <delta_ts>2014-02-01 19:00:14 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>79666</blocked>
    
    <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>menard</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>616259</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-04 08:40:16 -0700</bug_when>
    <thetext>After this update 10 tests started to fail with Qt5-WK2:
https://lists.webkit.org/pipermail/webkit-qt/2012-May/002715.html

fast/encoding/char-decoding.html
fast/encoding/percent-escaping.html
fast/loader/data-url-encoding-html.html
fast/loader/data-url-encoding-svg.html
http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html
http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html
http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding.html


--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/char-decoding-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/char-decoding-actual.txt 
@@ -3,7 +3,7 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS decode(&apos;UTF-8&apos;, &apos;%E2%88%9A&apos;) is &apos;U+221A&apos;
+FAIL decode(&apos;UTF-8&apos;, &apos;%E2%88%9A&apos;) should be U+221A. Was U+003F.
 PASS decode(&apos;gb2312&apos;, &apos;%A3%A0&apos;) is &apos;U+3000&apos;
 PASS decode(&apos;gb_2312-80&apos;, &apos;%A3%A0&apos;) is &apos;U+3000&apos;
 PASS decode(&apos;chinese&apos;, &apos;%A3%A0&apos;) is &apos;U+3000&apos;



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/percent-escaping-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/percent-escaping-actual.txt 
@@ -1,3 +1,2 @@
-Test for bug 6452 - KURL::appendEscapingBadChars() should never escape percent characters.
+FAIL: Timed out waiting for notifyDone to be called
 
-SUCCESS



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/loader/data-url-encoding-html-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/loader/data-url-encoding-html-actual.txt 
@@ -1,6 +1,6 @@
 Test that non-ASCII data: URLs are handled correctly.
 
-1. SUCCESS.
-2. SUCCESS.
-3. SUCCESS.
+1. FAILURE.
+2. FAILURE.
+3. FAILURE.
   



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/loader/data-url-encoding-svg-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/loader/data-url-encoding-svg-actual.txt 
@@ -1,6 +1,6 @@
 Test that non-ASCII data: URLs are handled correctly.
 
-1. SUCCESS.
-2. SUCCESS.
-3. SUCCESS.
+1. FAILURE: ????????.
+2. FAILURE: ????????.
+3. FAILURE: ????????.
   



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-fancy-unicode-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-



--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-actual.txt 
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: Refused to execute a JavaScript script. Source code of script found within request.
 
-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>616260</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-04 08:43:22 -0700</bug_when>
    <thetext>I skipped them - http://trac.webkit.org/changeset/116106

Please unskip with the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>616278</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-04 09:11:45 -0700</bug_when>
    <thetext>It isn&apos;t Qt5-WK2 specific, but Qt5 specific. Skiplist will be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>616281</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-04 09:16:48 -0700</bug_when>
    <thetext>Skiplist fix landed in http://trac.webkit.org/changeset/116108</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>619586</commentid>
    <comment_count>4</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2012-05-09 09:44:22 -0700</bug_when>
    <thetext>Tracked in Qt by :

https://codereview.qt-project.org/#change,25778</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>619783</commentid>
    <comment_count>5</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2012-05-09 13:27:41 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Tracked in Qt by :
&gt; 
&gt; https://codereview.qt-project.org/#change,25778

Landed in Qt master. All these tests should be unskipped when we update to newer Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>626476</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-17 05:20:08 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Tracked in Qt by :
&gt; &gt; 
&gt; &gt; https://codereview.qt-project.org/#change,25778
&gt; 
&gt; Landed in Qt master. All these tests should be unskipped when we update to newer Qt.

It fixed only these tests:
fast/encoding/char-decoding.html
fast/loader/data-url-encoding-html.html
fast/loader/data-url-encoding-svg.html

But the following tests still fail:
fast/encoding/percent-escaping.html
http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html
http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html
http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html
http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>626527</commentid>
    <comment_count>7</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2012-05-17 06:47:27 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; (In reply to comment #4)
&gt; &gt; &gt; Tracked in Qt by :
&gt; &gt; &gt; 
&gt; &gt; &gt; https://codereview.qt-project.org/#change,25778
&gt; &gt; 
&gt; &gt; Landed in Qt master. All these tests should be unskipped when we update to newer Qt.
&gt; 
&gt; It fixed only these tests:
&gt; fast/encoding/char-decoding.html
&gt; fast/loader/data-url-encoding-html.html
&gt; fast/loader/data-url-encoding-svg.html
&gt; 
&gt; But the following tests still fail:
&gt; fast/encoding/percent-escaping.html
&gt; http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode.html
&gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html
&gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html
&gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html
&gt; http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html
&gt; http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding.html

darktears@DarthVader:~/dev/troll/webkit$ WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt -2 --release --iterations 100 LayoutTests/http/tests/security/xssAuditor
Running new-run-webkit-tests with one child process.
For more parallelism, run new-run-webkit-tests directly.
All 16200 tests ran as expected.                         

WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt  388.65s user 74.10s system 97% cpu 7:55.44 total
darktears@DarthVader:~/dev/troll/webkit$ WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt --release --iterations 100 LayoutTests/http/tests/security/xssAuditor
Running new-run-webkit-tests with one child process.
For more parallelism, run new-run-webkit-tests directly.
TAll 16200 tests ran as expected.                         

WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt  136.87s user 10.16s system 36% cpu 6:37.74 total</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>626533</commentid>
    <comment_count>8</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2012-05-17 06:52:25 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; (In reply to comment #5)
&gt; &gt; &gt; (In reply to comment #4)
&gt; &gt; &gt; &gt; Tracked in Qt by :
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; https://codereview.qt-project.org/#change,25778
&gt; &gt; &gt; 
&gt; &gt; &gt; Landed in Qt master. All these tests should be unskipped when we update to newer Qt.
&gt; &gt; 
&gt; &gt; It fixed only these tests:
&gt; &gt; fast/encoding/char-decoding.html
&gt; &gt; fast/loader/data-url-encoding-html.html
&gt; &gt; fast/loader/data-url-encoding-svg.html
&gt; &gt; 
&gt; &gt; But the following tests still fail:
&gt; &gt; fast/encoding/percent-escaping.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html
&gt; &gt; http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding.html
&gt; 
&gt; darktears@DarthVader:~/dev/troll/webkit$ WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt -2 --release --iterations 100 LayoutTests/http/tests/security/xssAuditor
&gt; Running new-run-webkit-tests with one child process.
&gt; For more parallelism, run new-run-webkit-tests directly.
&gt; All 16200 tests ran as expected.                         
&gt; 
&gt; WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt  388.65s user 74.10s system 97% cpu 7:55.44 total
&gt; darktears@DarthVader:~/dev/troll/webkit$ WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt --release --iterations 100 LayoutTests/http/tests/security/xssAuditor
&gt; Running new-run-webkit-tests with one child process.
&gt; For more parallelism, run new-run-webkit-tests directly.
&gt; TAll 16200 tests ran as expected.                         
&gt; 
&gt; WEBKITOUTPUTDIR=/home/darktears/dev/troll/webkit2-trunk run-webkit-tests --qt  136.87s user 10.16s system 36% cpu 6:37.74 total

fast/encoding/percent-escaping.html is also passing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>626548</commentid>
    <comment_count>9</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-17 07:22:37 -0700</bug_when>
    <thetext>I still get failing tests on Ubuntu 11.10 and on Debian Squeeze ...
( I bet you tried them on your Arch or on Mac. :) )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>737531</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-10-09 01:32:38 -0700</bug_when>
    <thetext>The bug is still valid now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772794</commentid>
    <comment_count>11</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 04:28:46 -0800</bug_when>
    <thetext>3 tests pass now:
- fast/encoding/char-decoding.html
- fast/loader/data-url-encoding-html.html
- fast/loader/data-url-encoding-svg.html

but the remaining 7 tests still fail with the same diff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772796</commentid>
    <comment_count>12</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 04:31:10 -0800</bug_when>
    <thetext>adding 79668, because one test fails with timeout, not a simple fail:

--- /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/percent-escaping-expected.txt 
+++ /ramdisk/qt-linux-32-release-webkit2/build/layout-test-results/fast/encoding/percent-escaping-actual.txt 
@@ -1,3 +1,2 @@
-Test for bug 6452 - KURL::appendEscapingBadChars() should never escape percent characters.
+FAIL: Timed out waiting for notifyDone to be called

-SUCCESS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772797</commentid>
    <comment_count>13</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 04:31:31 -0800</bug_when>
    <thetext>I unskipped the 3 passing test - r135385.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>